Commit | Line | Data |
---|---|---|
3d7ca223 BW |
1 | * Changes in MH-E 7.2 |
2 | ||
3 | This release includes the new features of filing hints, hierarchical | |
4 | file name completion, indexed search and pick integration, unification | |
5 | between `mh-visit-folder' and the speedbar, a displayed message | |
6 | indicator, buffer name organization, support for mairix indexed | |
7 | search, and last but not least, the MH-E logo has been added to the | |
8 | mode line. Code that handles sequences and message regions runs | |
9 | faster. Bugs have been fixed. | |
10 | ||
11 | ** New Features in MH-E 7.2 | |
12 | ||
13 | *** Filing Hints | |
14 | ||
15 | When you file a message, MH-E now looks for an alias corresponding to | |
16 | the address of the sender and offers that as a default folder (closes | |
17 | SF #657096). The new variable `mh-default-folder-prefix' can be used | |
18 | to put these folders in a sub-folder. The new variable | |
19 | `mh-default-folder-must-exist-flag' means to suppress the suggested | |
20 | folder (thereby providing the previous folder used) if the folder | |
21 | doesn't already exist. The new variable `mh-default-folder-list' can | |
22 | be used to map additional addresses and folders. | |
23 | ||
24 | *** Hierarchical File Name Completion | |
25 | ||
26 | When you completed filenames in the past, you were presented with a | |
27 | list of all your folders at all depths in the tree. Now you are | |
28 | presented with only one level at a time (closes SF #664821). | |
29 | As a result, the variables `mh-auto-folder-collect-flag' and | |
30 | `mh-folder-list-change-hook' are obsolete. | |
31 | ||
32 | *** Indexed Search and Pick Integration | |
33 | ||
34 | The indexed and pick searches have been integrated (closes SF | |
35 | #664816). Both "F s (mh-search-folder)" and "F i (mh-index-search)" | |
36 | use the pick template for forming queries. To submit the query, use | |
37 | "C-c C-c (mh-do-search)" which will use the query method you selected. | |
38 | If you change your mind while forming the query, you can use "C-c C-i | |
39 | (mh-index-do-search)" or "C-c C-p (mh-pick-do-search)" to submit the | |
40 | query using the respective method. | |
41 | ||
42 | Second, the results from a pick search are now saved in a sub-folder | |
43 | of +mhe-index like an indexed search. | |
44 | ||
45 | Third, `pick' is now a valid choice for `mh-index-program'. | |
46 | ||
47 | *** mh-visit-folder Metamorphosis Continues | |
48 | ||
49 | When visiting a folder from the speedbar, only the unseen messages are | |
50 | shown if there are unseen messages. If there aren't any unseen | |
51 | messages, all of the messages are shown if there are fewer than | |
52 | `mh-large-folder' messages; otherwise, the user is prompted for the | |
53 | range of messages to display. The "F v (mh-visit-folder)" command has | |
54 | been modified to mimic this behavior. Use a prefix arg to force the | |
55 | message range prompt. | |
56 | ||
57 | *** Displayed Message Indicator | |
58 | ||
59 | In graphical Emacs, the message that is shown is marked by a triangle | |
60 | in the fringe. In textual Emacs, there is a ">" in the first column | |
61 | (closes SF #664824). | |
62 | ||
63 | *** Buffer Name Organization | |
64 | ||
65 | All ephemeral buffer names start with " *mh" while all interesting | |
66 | buffers start with "*MH-E ". The "*Folders*", "*Sequences*", and | |
67 | "*Recipients*" buffers were therefore renamed to "*MH-E Folders*", | |
68 | "*MH-E Sequences*" and "*MH-E Recipients*" respectively (programmers | |
69 | should see mh-utils.el for the names of the new constants). Also, the | |
70 | output of MH commands is saved in the "*MH-E Log*" buffer. | |
71 | ||
72 | *** mh-index-program | |
73 | ||
74 | Add choices for `mairix' and `pick'. | |
75 | ||
76 | *** Logo Displayed on Mode Line | |
77 | ||
78 | ** New Variables in MH-E 7.2 | |
79 | ||
80 | The new variables have been discussed elsewhere. | |
81 | ||
82 | ** Bug Fixes in MH-E 7.2 | |
83 | ||
84 | *** mh-decode-content-transfer-encoded-message | |
85 | ||
86 | Messages that had been encoded with base64 were not decoded. This has | |
87 | been fixed with this new function (closes SF #674190). As a result, | |
88 | the variable `mh-decode-quoted-printable-flag' has been renamed to | |
89 | `mh-decode-content-transfer-encoded-message-flag'. | |
90 | ||
91 | *** mh-kill-folder | |
92 | ||
93 | Now restores previous window configuration (closes SF #664828). | |
94 | ||
95 | *** mh-mime-display | |
96 | ||
97 | MH-E was not using the charset defined in the content-type | |
98 | header. This meant that mail in a different charset would not | |
99 | be properly displayed. This has been fixed (closes SF #655123). | |
100 | ||
101 | *** mh-read-address | |
102 | ||
103 | In XEmacs and Emacs20, this function would always prompt using "To: " | |
104 | instead of using the command argument. This has been fixed (closes SF | |
105 | #670913). | |
106 | ||
107 | *** mh-rmail | |
108 | ||
109 | Unseen messages are now shown in addition to new ones (closes SF | |
110 | #667542). | |
111 | ||
112 | *** mh-scan-msg-overflow-regexp | |
113 | ||
114 | Change the variable so that a space is always maintained in the | |
115 | beginning of the scan line. | |
116 | ||
117 | *** mh-swish-execute-search | |
118 | ||
119 | The example configuration file in the docstring didn't show the | |
120 | backslash in the FileRules filename. If the example had been used | |
121 | literally by the user, no files would be indexed! This has been fixed | |
122 | (closes SF #665888). | |
123 | ||
124 | *** mh-thread-refile | |
125 | ||
126 | The "T o (mh-thread-refile)" command did not provide refiling hints | |
127 | like `mh-refile-msg'. This has been fixed (closes SF #664829). | |
128 | ||
129 | *** mh-toggle-threads | |
130 | ||
131 | If the threaded view was modified and then toggled, the standard view | |
132 | may not have been accurate (as it contained a potentially old first | |
133 | message to last message range). This has been fixed (closes SF | |
134 | #626117). | |
135 | ||
136 | *** mh-tool-bar-show-set, mh-tool-bar-letter-set, mh-tool-bar-folder-set | |
137 | ||
138 | Clicking the customize and help buttons now deletes the other windows | |
139 | in the frame. | |
140 | ||
141 | *** mh-version | |
142 | ||
143 | The "M-x mh-version" command displayed "Aliasfile: aliases". This has | |
144 | been fixed (closes SF #664467). See Buffer Name Organization above. | |
145 | ||
146 | \f | |
147 | ||
148 | * Changes in MH-E 7.1 | |
c3d9274a BW |
149 | |
150 | This release includes the new features of multiple identities and | |
151 | alias completion. In addition, indexed searching has been revamped. | |
152 | Various other features have been added and a few bugs were fixed. | |
153 | ||
154 | ** New Features in MH-E 7.1 | |
155 | ||
156 | *** Multiple Identities | |
157 | ||
158 | MH-E now supports multiple identities (closes SF #628782). That means | |
159 | that you can have different From and Organization header fields (or | |
160 | any other header field of your choice) as well as different signatures | |
161 | depending on your context. Usually, the contexts are home and work. | |
162 | ||
163 | Add your identities to the variable `mh-identity-list' and set the | |
164 | default identity with the variable `mh-identity-default'. Your | |
165 | identity can be switched on the fly by using the Identity menu or by | |
166 | calling "M-x mh-insert-identity RET". | |
167 | ||
168 | This functionality can be customized within the mh-identity group. | |
169 | ||
170 | *** Alias Completion and Harvesting | |
171 | ||
172 | The contributed file mh-alias.el has been rewritten and incorporated | |
173 | into MH-E. | |
174 | ||
175 | By default, aliases are culled from the system files | |
176 | "/etc/nmh/MailAliases," "/usr/lib/mh/MailAliases," and "/etc/passwd" | |
177 | (see `mh-alias-system-aliases') and from your "AliasFile" MH profile | |
178 | component. These aliases are then used for completion in the | |
179 | minibuffer when entering addresses. Within the header of the message | |
180 | draft, "M-TAB (mh-letter-complete)" is used to do alias completion. | |
181 | ||
182 | The package also provides for alias creation based upon the From | |
183 | header field of the current message. Use the lasso button | |
184 | (mh-alias-grab-from-field). | |
185 | ||
186 | This functionality can be customized within the mh-alias group. | |
187 | ||
188 | *** Index Folder Updates | |
189 | ||
190 | The results of an index search "F i (mh-index-search)" are now stored | |
191 | in a bona fide folder so that you can refile messages and reply to | |
192 | messages directly from the result folder. This folder is a sub-folder | |
193 | of +mhe-index and the name is based upon the search string (closes SF | |
194 | #623321). | |
195 | ||
196 | If a prefix argument is given then the search in the current index | |
197 | buffer is redone. | |
198 | ||
199 | The index folder lists the names of the source folders as before. | |
200 | However, instead of using RET on the name of the folder to visit the | |
201 | folder, use "v (mh-show-index-visit-folder)" anywhere within the | |
202 | results to visit that folder narrowed to the results of the search. | |
203 | Additional functions have been added to navigate including "TAB | |
204 | (mh-index-next-folder)", and "SHIFT-TAB (mh-index-previous-folder)." | |
205 | ||
206 | *** mh-visit-folder Interface Updated | |
207 | ||
208 | A change was made to the prompting of the message range. In general, | |
209 | you can use the same format for messages and sequences as you can in | |
210 | MH with a single exception: a single number means to scan that many | |
211 | messages, rather than scan that message number. This turns out to be | |
212 | much more useful than visiting a single message and is consistent with | |
213 | Gnus and the MH-E speedbar (closes SF #655891). | |
214 | ||
215 | If mh-visit-folder is called non-interactively and RANGE is nil then | |
216 | all messages are displayed. This behavior is now documented and | |
217 | provides backwards compatibility. | |
218 | ||
219 | *** Threading Improvements | |
220 | ||
221 | After incorporating new mail into a threaded folder, unseen messages | |
222 | can be spread about. Two new functions have been added to make it | |
223 | easier to find them: these are "M-n (mh-next-unread-msg)" and "M-p | |
224 | (mh-previous-unread-msg)" (closes SF #630328) | |
225 | ||
226 | Two new functions were added to delete and refile threads. They are "T | |
227 | d (mh-thread-delete)" and "T o (mh-thread-refile)" respectively | |
228 | (closes SF #630493). | |
229 | ||
230 | In addition, the key "k" used to be bound to the function | |
231 | `mh-delete-subject': it is now bound to | |
232 | `mh-show-delete-subject-or-thread'. | |
233 | ||
234 | New functions to navigate threads include "T u (mh-thread-ancestor)", | |
235 | which can jump to the root message of the current thread given an | |
236 | optional argument, "T n (mh-thread-next-sibling)", and "T p | |
237 | (mh-thread-previous-sibling)" | |
238 | ||
239 | *** Refiling of Messages in Region | |
240 | ||
241 | If mark is active and `transient-mark-mode' is enabled then all the | |
242 | messages in the region are refiled. | |
243 | ||
244 | *** vCard Handling | |
245 | ||
246 | If a signature cannot be identified, but there is a vCard attachment, | |
247 | then that vCard will be presented as a signature (closes SF #649216). | |
248 | ||
249 | *** New Info Added to mh-version | |
250 | ||
251 | Information about Gnus versions available at both compile time and run | |
252 | time has been added. | |
253 | ||
254 | ** New Variables in MH-E 7.1 | |
255 | ||
256 | The defcustom groups were reorganized. Rather than iterate the | |
257 | specific changes here, you are invited to browse the groups with "M-x | |
258 | mh-customize RET". | |
259 | ||
260 | *** mh-alias-completion-ignore-case-flag | |
261 | ||
262 | Non-nil means don't consider case significant in MH alias completion. | |
263 | This is the default in plain MH, so it is the default here as well. It | |
264 | can be useful to set this to t if, for example, you use lowercase | |
265 | aliases for people and uppercase for mailing lists. | |
266 | ||
267 | *** mh-alias-expand-aliases-flag | |
268 | ||
269 | Non-nil means to expand aliases entered in the minibuffer. In other | |
270 | words, aliases entered in the minibuffer will be expanded to the full | |
271 | address in the message draft. By default, this expansion is not | |
272 | performed. | |
273 | ||
274 | *** mh-alias-flash-on-comma | |
275 | ||
276 | Specify whether to flash the translation of the alias or warn if there | |
277 | isn't a translation of the alias. | |
278 | ||
279 | *** mh-alias-insert-file | |
280 | ||
281 | Filename to use to store new MH-E aliases. This variable can also be a | |
282 | list of filenames, in which case MH-E will prompt for one of them. If | |
283 | nil, the default, then MH-E will use the first file found in the | |
284 | "AliasFile" component of the MH profile. | |
285 | ||
286 | *** mh-alias-insertion-location | |
287 | ||
288 | Specifies where new aliases are entered in alias files. Options are | |
289 | sorted alphabetically (the default), at the top of the file or at the | |
290 | bottom. | |
291 | ||
292 | *** mh-alias-local-users | |
293 | ||
294 | If t, local users are completed in MH-E To: and Cc: prompts. | |
295 | ||
296 | If you set this variable to a string, it will be executed to generate | |
297 | a password file. A value of "ypcat passwd" is helpful if NIS is in | |
298 | use. | |
299 | ||
300 | *** mh-alias-system-aliases | |
301 | ||
302 | A list of system files from which to cull aliases. If these files are | |
303 | modified, they are automatically reread. This list need include only | |
304 | system aliases and the passwd file, since personal alias files listed | |
305 | in your "AliasFile" MH profile component are automatically included. | |
306 | ||
307 | *** mh-identity-default | |
308 | ||
309 | Default identity to use when `mh-letter-mode' is called. | |
310 | ||
311 | *** mh-identity-list | |
312 | ||
313 | List holding MH-E identity. | |
314 | ||
315 | *** mh-invisible-header-fields | |
316 | ||
317 | Simple user interface to change `mh-invisible-headers'. | |
318 | ||
319 | *** mh-letter-complete-function | |
320 | ||
321 | Function to call when completing outside of fields specific to | |
322 | aliases. By default, it is bound to 'ispell-complete-word. | |
323 | ||
324 | *** mh-show-threads-flag | |
325 | ||
326 | Non-nil means new folders start in threaded mode. Threading large | |
327 | number of messages can be time consuming. So if the flag is non-nil | |
328 | then threading will be done only if the number of messages being | |
329 | threaded is less than `mh-large-folder' (closes SF #646794). | |
330 | ||
331 | *** mh-tool-bar-folder-buttons | |
332 | ||
333 | Buttons to include in MH-E folder/show toolbar. | |
334 | ||
335 | *** mh-tool-bar-letter-buttons | |
336 | ||
337 | Buttons to include in MH-E letter toolbar. | |
338 | ||
339 | ** Bug Fixes in MH-E 7.1 | |
340 | ||
341 | *** mh-get-new-mail | |
342 | ||
343 | Call new function `mh-add-cur-notation' to undo the work of | |
344 | `mh-remove-cur-notation' if there was no new mail (closes SF #647681). | |
345 | ||
346 | *** mh-set-cmd-note | |
347 | ||
348 | No longer updates the default `mh-cmd-note' value. This resulted in | |
349 | the misplacement of the current mark when the message number width | |
350 | changed (closes SF #643701). | |
351 | ||
352 | \f | |
353 | ||
3d7ca223 | 354 | * Changes in MH-E 7.0 |
bdcfe844 BW |
355 | |
356 | This is a major release which includes a lot of new features including | |
357 | improved MIME handling, speedbar folder browsing, and indexed | |
358 | searching. In this version, MH-E runs under XEmacs, passes checkdoc, | |
359 | and compiles clean under all supported platforms. | |
360 | ||
361 | The "passes checkdoc" feature above required changing the name of | |
362 | several user-visible variables. It is likely that this affects you. | |
363 | Please be sure to see the table at the end of these notes and rename | |
364 | your variables accordingly. | |
365 | ||
366 | MH-E has been written mh-e, Mh-e, MH-e and MH-E. We have decided that | |
367 | the proper term should be MH-E. Please try to use MH-E in your | |
368 | writing. | |
369 | ||
370 | ** New Features in MH-E 7.0 | |
371 | ||
372 | *** Speedbar | |
373 | ||
374 | There is now support for the speedbar. Try "M-x speedbar" (closes SF | |
177c0ea7 | 375 | #503727). |
bdcfe844 BW |
376 | |
377 | Press the middle mouse button on the `+' icons to open a folder, | |
378 | middle mouse button on a folder name to open the folder. Folders with | |
379 | unseen messages are shown in bold, so this is a handy way to browse | |
380 | new messages that you have filed with procmail or slocal. | |
381 | ||
382 | See the new customization variable `mh-large-folder,' which controls | |
383 | when the speedbar asks for how many messages to scan when opening a | |
384 | large folder and `mh-speed-run-flists-flag' whose default value of t | |
385 | means to use the flists command to populate the count of unseen and | |
386 | total messages in each folder. | |
387 | ||
388 | *** Indexed Search | |
389 | ||
390 | Interoperability with swish++, swish, glimpse, and namazu has been | |
391 | added to enable lightening-fast searches of your mail. If none of | |
392 | these are present, grep is used. Try "F i (mh-index-search)". | |
393 | ||
394 | For more information, read the documentation for the functions | |
395 | `mh-swish++-execute-search,' `mh-swish-execute-search,' | |
396 | `mh-namazu-execute-search,' or `mh-glimpse-execute-search' depending | |
397 | on your preferred indexing program to see what kind of setup is needed | |
398 | to generate the index. | |
399 | ||
400 | *** Threading | |
401 | ||
402 | Use "T t (mh-toggle-threads)" to view the threads in the folder. Use | |
403 | it again to return to a non-threaded view. | |
404 | ||
405 | *** Brief Help | |
406 | ||
407 | Use "? (mh-help)" and "X ? (mh-prefix-help)," where X is a prefix | |
408 | character, for a brief synopsis in the minibuffer of frequently used | |
409 | commands. In the MH-Letter or MH-Pick buffers, use "C-c ? (mh-help)" | |
410 | (closes SF #493740). | |
411 | ||
412 | *** Folder Keymap Shared by Show Buffer | |
413 | ||
414 | You can now use the MH-Folder mode commands from the MH-Show buffer. | |
415 | Because of this, the MH-Show buffer is now read-only (closes SF | |
416 | #493749 and SF #527946) and you now have to use "M (mh-modify)" to | |
417 | edit a message. | |
c3d9274a | 418 | |
bdcfe844 BW |
419 | *** Better Scanning |
420 | ||
421 | You no longer have to modify your scan format if your folders have | |
422 | more than 9999 messages in them. If you've only modified your scan | |
423 | format file to allow for the wider message numbers, consider using the | |
424 | default behavior of MH-E and simplify your MH-E configuration | |
425 | considerably (closes SF #635791). | |
426 | ||
427 | To do this, you may have to remove your modifications of | |
428 | `mh-scan.*-regexp' and `mh-cmd-note' and your customization of | |
429 | `mh-scan-format-file'. | |
430 | ||
431 | You may still want the updated format files for running MH commands | |
432 | outside of MH-E; the default of `mh-scan-format-file' will cause them | |
433 | to be ignored. | |
434 | ||
435 | If you prefer fixed-width message numbers, set the new customization | |
436 | variable to nil , set this variable to | |
437 | nil and call `mh-set-cmd-note' with the width specified by the scan format in | |
438 | `mh-scan-format-file'. For example, the default width is 4, so you would use | |
439 | "(mh-set-cmd-note 4)" if `mh-scan-format-file' were nil. | |
440 | ||
441 | *** X-Face | |
442 | ||
443 | MH-E now displays the content of the X-Face header field in the From | |
444 | field. When sending a message, an X-Face field is appended to the | |
445 | header if it doesn't already exist and "~/.face" is present. See the | |
446 | new customization variables `mh-show-use-xface-flag' and `mh-x-face-file' | |
447 | (closes SF #480770). | |
448 | ||
449 | MH-E depends on the external x-face package found in | |
450 | ftp://ftp.jpl.org/pub/elisp/ to do this. The `uncompface' binary is | |
451 | also required to be in the execute PATH. It can be obtained from: | |
452 | http://freshmeat.net/redir/compface/1439/url_tgz/compface-1.4.tar.gz. | |
453 | ||
454 | It has also been observed that if you don't see the faces, you might | |
455 | have to do this (for unknown reasons): | |
177c0ea7 | 456 | |
bdcfe844 BW |
457 | mv /usr/local/include/compface.h /usr/include/ |
458 | ||
459 | *** Graphical Smileys | |
460 | ||
461 | Smiley's are now converted to cute little images. See the new | |
462 | customization variable `mh-graphical-smileys-flag.' | |
463 | ||
464 | *** Text Emphasis | |
465 | ||
466 | ASCII formatting is now converted to the appropriate font. For | |
467 | example, _underline_ is underlined, *bold* appears in bold, /italic/ | |
468 | appears in italic, etc. See `gnus-emphasis-alist' for the whole list. | |
469 | See the new customization variables `mh-decode-mime' and | |
470 | `mh-graphical-emphasis-flag.' | |
471 | ||
472 | *** Attachment Handling | |
473 | ||
474 | Inline attachments are now displayed. Regular attachments appear as | |
475 | buttons in show buffer. Use "K TAB (mh-next-button)" or "K SHIFT-TAB | |
476 | (mh-prev-button)" to cycle through these buttons. Use "K v | |
477 | (mh-folder-toggle-mime-part)" to view, "K o | |
478 | (mh-folder-save-mime-part)" to save one part or "K-a | |
479 | (mh-save-mime-parts)" to save all parts, or "K i | |
480 | (mh-folder-inline-mime-part)" to view the attachment inline. | |
481 | ||
482 | See the new customization variable `mh-decode-mime' for additional | |
483 | information. Other customization variables that affect this new feature | |
484 | include `mh-store-mime-parts-default-directory' and | |
485 | `mh-display-buttons-for-inline-parts-flag'. | |
486 | ||
487 | HTML documents can be viewed inline if Gnus v5.10 and w3 or w3m lisp | |
488 | packages are present. Set the customization variable | |
489 | `mm-text-html-renderer' accordingly (closes SF #453352). | |
490 | ||
491 | *** Quoted-printable Handling | |
492 | ||
493 | Quoted-printable body parts are now decoded. | |
494 | ||
495 | *** More Choices for `mh-yank-from-start-of-msg' | |
496 | ||
497 | Historically, if this variable was t, the entire message, with full | |
498 | headers would be included and every line would begin with | |
499 | `mh-ins-buf-prefix.' This usage is deprecated in favor of the setting | |
500 | `supercite' below. The default has been changed to `attribution.' The | |
501 | following symbols are now understood: | |
502 | ||
503 | `body': yank the message minus the header. | |
504 | ||
505 | `supercite': include the entire message, with full headers. This also | |
506 | causes the invocation of `sc-cite-original' without the setting of | |
507 | `mail-citation-hook', now deprecated practice. | |
508 | ||
509 | `autosupercite': do as for `supercite' automatically when show buffer | |
510 | matches the message being replied-to. | |
511 | ||
512 | `attribution': yank the message minus the header and add a simple | |
513 | attribution line at the top. | |
514 | ||
515 | `autoattrib': do as for `attribution' automatically when show buffer | |
516 | matches the message being replied-to. | |
517 | ||
518 | There is a new customization variable called | |
519 | `mh-extract-from-attribution-verb' which is used for attribution which | |
520 | provides a method for setting a different language. | |
521 | ||
522 | *** Use Gnus mml Instead of mhn | |
523 | ||
524 | When inserting attachments into a message draft, Gnus mml directives | |
525 | are now used instead of mhn directives. One beneficial side-effect of | |
526 | this is that attachments can now appear inline as well as separate. | |
527 | ||
528 | The new customization variable `mh-compose-insertion' controls whether | |
529 | Gnus or mhn is used to insert MIME message directives in messages | |
530 | (default: 'gnus, if the mml library exists). | |
531 | ||
532 | *** Content-Type Now Obtained Automatically | |
533 | ||
534 | The value of the Content-Type no longer needs to be entered by the | |
535 | user. | |
536 | ||
537 | *** Attachments Automatically Included Upon Send | |
538 | ||
539 | You no longer have to run "C-c C-e (mh-edit-mhn)" before sending a | |
540 | message with attachments--this is done automatically when you send the | |
541 | message with "C-c C-c (mh-send-letter)". There is, however, a new key | |
542 | binding "C-c C-m m (mh-mml-to-mime)" which is analogous to "C-c C-e | |
543 | (mh-edit-mhn)". | |
544 | ||
545 | *** GPG Handling | |
546 | ||
547 | Messages that have been signed or encrypted with GPG are verified and | |
548 | decrypted automatically. To sign or encrypt a message, use "C-c RET | |
549 | C-s (mh-mml-secure-message-sign-pgpmime)" and "C-c C-m C-e | |
550 | (mh-mml-secure-message-encrypt-pgpmime)." You need Gnus version 5.10 | |
551 | for this feature. These functions are provided by the pgg.el package. | |
552 | ||
553 | Users report "flashing" with the pgg.el package and prefer the gpg.el | |
554 | package instead. To use gpg.el instead of the pgg.el package you need: | |
555 | ||
556 | (setq mml2015-use 'gpg) | |
557 | ||
558 | To mimic automatic encryption in gpg.el, use: | |
559 | ||
560 | (setq mm-verify-option 'always) | |
561 | (setq mm-decrypt-option 'always) | |
562 | ||
563 | The venerable mailcrypt package is also an option. However, now that | |
564 | show buffers are read-only, mailcrypt version 3.5.6 and older fail | |
565 | when they attempt to decrypt the contents. | |
566 | ||
567 | *** Mail-Followup-To Header Field | |
568 | ||
569 | Support for this controversial field has been added because nmh | |
570 | supports it (closes SF #627035). If you want to add it to outgoing | |
571 | mail for selected mailing lists, add those mailing lists to the new | |
572 | customization variable `mh-insert-mail-followup-to-list.' If you think | |
573 | this field is evil, set the new customization variable | |
574 | `mh-insert-mail-followup-to-flag' to nil. | |
575 | ||
576 | *** Gnus Issues | |
577 | ||
578 | If you update Gnus, you must recompile MH-E. Note that if you are | |
579 | running the stock version of MH-E that comes with Emacs or the MH-E | |
580 | package on a Debian GNU/Linux, this is done for you. | |
581 | ||
582 | ** New Variables in MH-E 7.0 | |
583 | ||
584 | New customization variables not mentioned earlier include: | |
585 | ||
586 | *** mh-letter-insert-signature-hook | |
587 | ||
588 | Invoked at the beginning of the "C-c C-s (mh-insert-signature)" | |
589 | command. Can be used to determine which signature file to use based on | |
590 | message content. On return, if `mh-signature-file-name' is non-nil | |
591 | that file will be inserted at the current point in the buffer. | |
592 | ||
593 | *** mh-show-maximum-size | |
594 | ||
595 | Maximum size of message (in bytes) to display automatically. Provides | |
596 | an opportunity to skip over large messages which may be slow to load. | |
597 | Use a value of 0 to display all messages automatically regardless of | |
598 | size (closes SF #488696). | |
599 | ||
600 | *** mh-tool-bar-reply-3-buttons-flag | |
601 | ||
602 | Non-nil means use three buttons for reply commands in tool-bar. If you | |
603 | have room on your tool-bar because you are using a large font, you may | |
604 | set this variable to expand the single reply button into three buttons | |
605 | that won't lead to minibuffer prompt about who to reply to. | |
606 | ||
607 | ** Bug Fixes in MH-E 7.0 | |
608 | ||
609 | *** mh-delete-msg, mh-refile-msg, mh-undo | |
610 | ||
611 | Mandrake Linux includes XEmacs initialization code that binds | |
612 | `transient-mark-mode' which causes problems in MH-E. These problems | |
613 | have been fixed (closes SF #541915). | |
614 | ||
615 | *** mh-edit-again | |
616 | ||
617 | This would sometimes yield a read-only buffer. This has been fixed | |
618 | (closes SF #624283 and SF #625538). | |
619 | ||
620 | *** mh-forward | |
621 | ||
622 | When using nmh, always specify -mime so as to preserve the original | |
623 | message(s). | |
624 | ||
625 | *** mh-inc-folder | |
626 | ||
627 | If you had narrowed to a sequence and then incorporated new mail, | |
628 | those new messages would not be present in your +inbox when you | |
629 | widened. This has been fixed (closes SF #489430, SF #489437, SF | |
630 | #629233). | |
631 | ||
632 | *** mh-insert-letter | |
633 | ||
634 | No longer uses mhl to include a message as this mangled the header and | |
635 | gave supercite fits (closes SF #629153). | |
636 | ||
637 | *** mh-letter-mode | |
638 | ||
639 | "M-q (fill-paragraph)" now fills quoted paragraphs (for example, | |
640 | starting with "> ") correctly (closes SF #489927). | |
641 | ||
177c0ea7 | 642 | *** mh-next-undeleted-msg, mh-previous-undeleted-msg |
bdcfe844 BW |
643 | |
644 | If there are no more undeleted messages the point remains at its | |
645 | original position and a message is produced (closes SF #494304). | |
646 | ||
647 | *** mh-pick-mode | |
648 | ||
649 | Now calls `mh-pick-mode-hook' as documented. | |
650 | ||
651 | *** mh-put-msg-in-seq | |
652 | ||
653 | Now puts all messages in region in sequence (closes SF #630324). | |
654 | ||
655 | *** mh-refile-msg, mh-write-msg-to-file | |
656 | ||
657 | These functions stomped on the variables that held the name of the | |
658 | last file and folder respectively for the other function. This has | |
659 | been fixed so that the last folder or file name is preserved (closes | |
660 | SF #580772). | |
661 | ||
662 | *** mh-region-to-sequence | |
663 | ||
664 | If the region in MH-Folder was set with "C-x h (mark-whole-buffer)", | |
665 | you couldn't perform operations on all of the messages as you would | |
666 | expect. This has been fixed (closes SF #621632). | |
667 | ||
668 | *** mh-reply | |
669 | ||
670 | Performing an undo the first thing after replying would blank out the | |
671 | entire draft. Now just the insertion of the yanked message is undone | |
672 | leaving the header and signature intact for additional editing (closes | |
673 | SF #623693). | |
674 | ||
675 | *** mh-show-mode | |
676 | ||
677 | Now calls `mh-show-mode-hook' as documented (closes SF #627222). | |
678 | ||
679 | *** mh-subject-thread-to-sequence | |
680 | ||
681 | Make 'subject sequence a real one, exported to MH. This means you can, | |
682 | for example, mh-forward it. But it also shows up with a mark in the | |
683 | scan output (closes SF #489445). | |
684 | ||
685 | *** Other Bug Fixes | |
686 | ||
687 | The following bugs have also been closed: | |
688 | ||
689 | SF #495450: Folder buffer read-only after inc | |
690 | SF #489706: mh-page-msg bombs out | |
691 | SF #580772: mh-last-destination is overloaded | |
692 | ||
693 | *** Variables renamed to conform with Emacs coding conventions | |
694 | ||
695 | The coding conventions require that boolean variables end in -flag. | |
696 | The following two tables show which variables were affected (closes SF | |
697 | #627015). | |
698 | ||
699 | Customization Variables (defcustom) | |
700 | ||
701 | Old Name New Name | |
702 | ||
703 | mh-auto-folder-collect mh-auto-folder-collect-flag | |
704 | mh-bury-show-buffer mh-bury-show-buffer-flag | |
705 | mh-clean-message-header mh-clean-message-header-flag | |
706 | mh-decode-quoted-printable mh-decode-quoted-printable-flag | |
707 | mh-delete-yanked-msg-window mh-delete-yanked-msg-window-flag | |
708 | mh-do-not-confirm mh-do-not-confirm-flag | |
709 | mh-highlight-citation-p mh-highlight-citation | |
710 | mh-insert-x-mailer-p mh-insert-x-mailer-flag | |
711 | mh-print-background mh-print-background-flag | |
712 | mh-recenter-summary-p mh-recenter-summary-flag | |
713 | mh-recursive-folders mh-recursive-folders-flag | |
714 | mh-reply-show-message-p mh-reply-show-message-flag | |
715 | mh-show-use-goto-addr mh-show-use-goto-addr-flag | |
716 | mh-update-sequences-after-mh-show mh-update-sequences-after-mh-show-flag | |
717 | ||
718 | Regular Variables (defvar) | |
719 | ||
720 | Old Name New Name | |
721 | ||
722 | mh-mhn-compose-insert-p mh-mhn-compose-insert-flag | |
723 | mh-nmh-p mh-nmh-flag | |
724 | mh-page-to-next-msg-p mh-page-to-next-msg-flag | |
725 | ||
726 | \f | |
727 | ||
a1b4049d | 728 | * Changes in mh-e 6.1 |
a933dad1 | 729 | |
a1b4049d BW |
730 | This is a minor release which includes a few bug fixes. The |
731 | distribution now includes the ChangeLog. | |
a933dad1 | 732 | |
a1b4049d | 733 | ** New Features in mh-e 6.1 |
a933dad1 | 734 | |
a1b4049d BW |
735 | *** Fontification |
736 | ||
737 | Unseen messages now displayed in bold. | |
738 | ||
739 | *** Viewing folders and sequences | |
740 | ||
741 | The folder and sequence listings that "F l (mh-list-folders)" and "S l | |
742 | (mh-list-sequences)" create are now displayed in view mode. | |
743 | ||
744 | ** Bug Fixes in mh-e 6.1 | |
745 | ||
746 | *** mh-folder-unseen-seq-name | |
747 | ||
748 | Byte compilation failed when initializing this variable when the | |
749 | user's MH environment was not set up. This has been fixed (closes | |
750 | Debian #140232 and Debian #140817). | |
751 | ||
752 | *** mh-forward | |
753 | ||
754 | When forwarding a sequence, the mode of the draft would not be set to | |
755 | MH-Letter correctly. This has been fixed (closes SF #489448). | |
756 | ||
757 | *** mh-insert-prefix-string | |
758 | ||
759 | Fixed to work under XEmacs. Thanks to Will Partain | |
760 | <partain at dcs.gla.ac.uk>. | |
761 | ||
762 | *** mh-quit | |
763 | ||
bdcfe844 | 764 | mh-quit now cleans up the buffers named `mh-temp-buffer,' |
a1b4049d BW |
765 | 'mh-temp-folders-buffer' and 'mh-temp-sequences-buffer.' |
766 | ||
767 | \f | |
768 | * Changes in mh-e 6.0 | |
769 | ||
770 | mh-e is now maintained at SourceForge (see | |
771 | http://mh-e.sourceforge.net/). This is where you need to go to obtain | |
772 | new versions of mh-e, report bugs and receive support. | |
773 | ||
774 | The maintainers have moved much of their personal configurations into | |
775 | the codebase, so you may find that you may be able to reduce your mh-e | |
776 | customizations as well. | |
777 | ||
778 | There are several incompatibilities in this version from older | |
779 | versions. Please read the following notes carefully for details. Pay | |
780 | particular attention to the key binding changes in the MH-Folder | |
781 | section. If you have customized your scan format, you will want to | |
782 | read about the new variable `mh-scan-format-file'. | |
783 | ||
784 | The manual could not be updated in time for this release. It will be | |
785 | updated in the near future. If the Preface in your manual indicates | |
786 | the older version (version 1.3, for mh-e version 5.0.2), please check | |
787 | the following page occasionally for an update: | |
788 | ||
789 | https://sourceforge.net/project/showfiles.php?group_id=13357 | |
790 | ||
791 | ||
792 | ** New Features in mh-e 6.0 | |
793 | ||
794 | *** Customization | |
795 | ||
796 | mh-e now uses the customize feature of Emacs. Use "M-x customize-group | |
797 | mh RET" to customize mh-e. | |
798 | ||
799 | *** Menus | |
800 | ||
801 | All mh-e modes now provide menus that contain most mh-e functions. | |
802 | ||
803 | *** Toolbars | |
804 | ||
805 | All mh-e modes now have toolbar buttons for oft-used functions (Emacs 21). | |
806 | ||
807 | *** Fontification | |
808 | ||
809 | All mh-e buffers now have font-lock keywords. To use, either call | |
810 | (turn-on-font-lock) from the appropriate hook, or set | |
811 | `global-font-lock-mode' to t. To customize, use "M-x | |
812 | customize-apropos-faces ^mh RET". | |
813 | ||
814 | If you have customized your scan lines, you will have to update your | |
815 | scan regexps. The existing regexps were changed to extract a match so | |
816 | you will have to add appropriate grouping constructs to take advantage | |
817 | of the fontification. Your old settings will continue to work, but the | |
818 | folder will not be fontified. For example: | |
819 | ||
820 | (setq mh-good-msg-regexp "^\\(.....\\)[^D^]") | |
821 | ||
822 | You will most likely have to update the new variable | |
823 | `mh-scan-subject-regexp' as well. There is another new variable | |
824 | `mh-scan-date-regexp' which you may also find useful. Run "M-x apropos | |
825 | mh.*regexp" for a complete list. | |
826 | ||
827 | *** mail-user-agent support | |
828 | ||
829 | You can now set `mail-user-agent' to `mh-e-user-agent' so that packages | |
830 | that need to send mail will use mh-e (closes SF #406883, SF #470024). | |
831 | ||
832 | *** replgroupcomps support | |
833 | ||
834 | If you reply to `cc' or `all' and you use nmh, the nmh repl option | |
835 | -group will be used. This means that the file `replgroupcomps' will be | |
836 | used. If you have customized `replcomps', you will definitely want to | |
837 | either copy `$NMH_LIB/replgroupcomps' to your mail directory and modify | |
838 | it the same way that you modified your `replcomps' file, or simply | |
839 | copy your `replcomps' file to `replgroupcomps'. | |
840 | ||
841 | *** MH-Folder mode | |
842 | ||
843 | The variable `mh-summary-height' used to have a default of 4. It now | |
844 | varies from 4 to 10 depending on the height of the frame. | |
845 | ||
846 | Clicking the mouse on a message shows that message. | |
847 | ||
848 | Delete, refile and undo now operate on a region (but only if | |
849 | `transient-mark-mode' is non-nil). | |
850 | ||
851 | SPC (mh-page-msg) now displays the message if it is not already | |
852 | visible. If the bottom of a message is showing, SPC (mh-page-msg) | |
853 | moves to the next message (respecting the direction you are moving | |
854 | through the folder). | |
855 | ||
177c0ea7 | 856 | The threading commands "T u (mh-next-unseen-subject-thread)", |
a1b4049d BW |
857 | "T t (mh-toggle-subject-thread)", "T s (mh-narrow-to-subject-thread)", |
858 | and "T k (mh-delete-subject-thread)" have been added. These functions | |
859 | do not offer threading in the true sense of the word, but do allow | |
860 | some manipulation by subject. | |
861 | ||
862 | Major, major keymap changes. This was done to free up movement | |
863 | commands in the buffer, and to provide for additional features, such | |
864 | as the threading commands. At the same time, better and more | |
865 | consistent mnemonics were realized that should make it easier to | |
866 | remember key bindings. | |
867 | ||
868 | Added new sub-keymaps for folder commands, sequence commands, | |
869 | extraction commands, and digest commands which begin with with F, S, | |
870 | X, and D, respectively. These sub-keymaps allowed some consistency | |
871 | (e.g., especially with l(ist) and k(ill)). | |
872 | ||
873 | Here are the actual changes and rationale: | |
874 | ||
875 | Old New Rationale | |
876 | ||
877 | e - Deleted. Already have x. Now used by mh-edit-again. | |
878 | j - Deleted. Already have g. | |
879 | ||
880 | M-a e Better mnemonic. Matches rmail. Frees movement command. | |
881 | M-e E Better mnemonic. Consistent with e. | |
882 | - S Why not? mh-sort-folder. | |
883 | ||
884 | M-f Fv Frees movement command | |
885 | M-f Ff Alias (keep?) | |
886 | M-f Fo Alias (keep?) | |
887 | M-k Fk No reason but to keep with folder commands | |
888 | M-l Fl No reason but to keep with folder commands | |
889 | M-p Fp No reason but to keep with folder commands | |
890 | M-r Fr Frees movement command | |
891 | M-s Fs No reason but to keep with folder commands | |
892 | M-u Fu No reason but to keep with folder commands | |
893 | ||
894 | M-% Sd Better mnemonic | |
895 | M-# Sk Better mnemonic | |
896 | M-q Sl Better mnemonic | |
897 | C-xn Sn Frees up standard key binding | |
898 | % Sp Better mnemonic for putting a message in a sequence | |
899 | ? Ss Shows sequences that message is in | |
900 | C-xw Sw Frees up standard key binding | |
901 | ||
902 | M-n Xs Better mnemonic (extract shar) | |
903 | M-n Xu Better mnemonic (extract uuencode) | |
904 | ||
905 | M-SPC D SPC Frees mark command | |
906 | M-\177 D \177 No reason but to keep with digest commands | |
907 | M-b Db Frees movement command | |
908 | ||
909 | As the number of variables increases, it is becoming important to | |
910 | organize the mh-e namespace. Several variables having to do with the | |
911 | format of scan lines were renamed, as follows: | |
912 | ||
913 | Old New | |
914 | ||
915 | mh-good-msg-regexp mh-scan-good-msg-regexp | |
916 | mh-deleted-msg-regexp mh-scan-deleted-msg-regexp | |
917 | mh-refiled-msg-regexp mh-scan-refiled-msg-regexp | |
918 | mh-valid-scan-line mh-scan-valid-regexp | |
919 | mh-cur-scan-msg-regexp mh-scan-cur-msg-number-regexp | |
920 | - mh-scan-cur-msg-regexp | |
921 | - mh-scan-rcpt-regexp | |
922 | - mh-scan-format-regexp | |
923 | mh-msg-number-regexp mh-scan-msg-number-regexp | |
924 | mh-msg-search-regexp mh-scan-msg-search-regexp | |
925 | ||
926 | *** MH-Show mode | |
927 | ||
928 | While the MIME support is not complete, quoted-printable body parts | |
929 | are now decoded. | |
930 | ||
931 | Some MTAs quote From at the beginning of the line with a ">". The ">" | |
932 | is now removed in the display, but not on disk. | |
933 | ||
934 | *** MH-Letter mode | |
935 | ||
936 | New function "C-c C-o (mh-split-line)" splits lines in a draft | |
937 | preserving the fill prefix and indentation. This is useful when | |
938 | responding to several sentences in a single paragraph separately. | |
939 | ||
940 | "M-q (fill-paragraph)" can now be used on the message that is being | |
941 | replied to. The fill prefix such as "> " is preserved. | |
942 | ||
943 | You no longer have to run "C-c C-e (mh-edit-mhn)" manually as this is | |
944 | now done automatically when the message is sent. | |
945 | ||
946 | The X-Mailer header field is now added to messages as they are sent. | |
947 | ||
948 | "C-c C-m C-i (mh-mhn-compose-insertion)" now makes a pretty good guess | |
949 | at the type of file using the `file' command and no longer asks the | |
950 | user for the media type. If the necessary version of `file' is not | |
951 | available, the user is asked for the media type as before; however, | |
952 | the list of media types is now taken from the system mailcap if | |
953 | available. Failing that, the built-in list of types has been | |
954 | supplemented so in most cases the type you need should be present | |
955 | (closes SF #406883, #441179). | |
956 | ||
957 | ** New Variables in mh-e 6.0 | |
958 | ||
959 | New variables not mentioned earlier include: | |
960 | ||
961 | *** mh-insert-x-mailer-p | |
962 | ||
963 | Default value of t means that an X-Mailer header field should be | |
964 | added. | |
965 | ||
966 | *** mh-reply-show-message-p | |
967 | ||
968 | The setting of this variable determines whether the MH show-buffer is | |
969 | displayed with the current message when using mh-reply without a prefix | |
970 | argument. Set it to nil if you already include the message | |
971 | automatically in your draft using "repl: -filter repl.filter" in | |
972 | "~/.mh_profile." | |
973 | ||
974 | *** mh-scan-format-file | |
975 | ||
976 | Specifies the format file to pass to the scan program. If t, the | |
977 | format string will be taken from the either `mh-scan-format-mh' or | |
978 | `mh-scan-format-nmh' depending on whether MH or nmh is in use. If nil, | |
979 | the default scan output will be used. | |
980 | ||
981 | If you customize the scan format, you may need to modify a few | |
982 | variables containing regexps that mh-e uses to identify specific | |
983 | portions of the output. Use `M-x apropos RET mh-scan.*regexp' to | |
984 | obtain a list of these variables. | |
985 | ||
986 | *** mh-scan-format-mh | |
987 | ||
988 | Scan format string for MH, provided to the scan program via the | |
989 | -format arg. This format is identical to the default except that | |
990 | additional hints for fontification have been added to the sixth | |
991 | column. | |
992 | ||
993 | *** mh-scan-format-nmh | |
994 | ||
995 | Scan format string for nmh, provided to the scan program via the | |
996 | -format arg. This format is identical to the default except that | |
997 | additional hints for fontification have been added to the sixth | |
998 | column. | |
999 | ||
1000 | *** mh-show-use-goto-addr | |
1001 | ||
1002 | Non-nil means URLs and e-mail addresses are highlighted using | |
1003 | goto-addr in MH-Show buffer. | |
1004 | ||
1005 | *** mh-letter-fill-column | |
1006 | ||
1007 | Fill column to use in `mh-letter-mode'. This is useful to make the | |
1008 | lines a bit shorter to allow for quoting in replies. | |
1009 | ||
1010 | *** mh-folder-updated-hook | |
1011 | ||
1012 | Invoked when the actions in a folder (such as moves and deletes) are | |
1013 | performed. Variables that are useful in this hook include | |
1014 | `mh-delete-list' and `mh-refile-list' which can be used to see which | |
1015 | changes are being made to current folder, `mh-current-folder'. | |
1016 | ||
1017 | *** mh-unseen-updated-hook | |
1018 | ||
1019 | Invoked after the unseen sequence has been updated. The variable | |
1020 | `mh-seen-list' can be used to obtain the list of messages which will | |
1021 | be removed from the unseen sequence | |
1022 | ||
1023 | ** Bug Fixes in mh-e 6.0 | |
1024 | ||
1025 | *** mh-edit-again and mh-extract-rejected-mail | |
1026 | ||
1027 | Now insert a header separator (--------) which packages such as | |
1028 | mailcrypt expect. | |
1029 | ||
1030 | *** mh-find-progs | |
1031 | ||
1032 | Now uses `mhparam' to set `mh-lib-progs' and `mh-lib'. Added more | |
1033 | directories to `mh-progs' so that mh-e can autoconfigure in more | |
1034 | environments. Chances are that you no longer have to set these | |
1035 | variables, and if you do, you will only have to set `mh-progs'. | |
1036 | Unless, of course, you are using an ancient version of MH that doesn't | |
1037 | have `mhparam'. | |
1038 | ||
1039 | *** mh-folder-mode-map | |
1040 | ||
1041 | The DEL/<delete>/<backspace> change in Emacs 21 broke | |
1042 | `mh-previous-page'. This has been fixed (closes SF #228907). | |
1043 | ||
1044 | *** mh-forward | |
1045 | ||
1046 | If you had "forw: -mime" to your .mh_profile, forwarding a message | |
1047 | resulted in: | |
1048 | ||
1049 | Search failed: "^------- Forwarded Message" | |
1050 | ||
1051 | In addition, the Subject field was not filled in. This has been fixed | |
1052 | (closes SF #223603). | |
1053 | ||
1054 | *** mh-kill-folder | |
1055 | ||
1056 | The user is now always prompted before this action; the variable | |
1057 | `mh-do-not-confirm' is no longer consulted here. Therefore users who | |
1058 | wanted to set `mh-do-not-confirm' but didn't because of the | |
1059 | `mh-kill-folder' dependency may now do so. | |
a933dad1 | 1060 | |
a1b4049d BW |
1061 | *** mh-make-folder-mode-line |
1062 | ||
1063 | Properly deals with folders that do not have any lines in them. Prints | |
1064 | "no msgs" instead of "0 msgs". Does not try to print a range when | |
1065 | there are no messages. | |
1066 | ||
1067 | *** mh-mhn-compose-insertion | |
1068 | ||
1069 | Now gets the MIME type automatically (assuming the local file command | |
1070 | supports the -i and -b options). If this use of the file command is | |
1071 | not supported, the list of MIME types has been expanded to use the | |
1072 | system's mailcap file. | |
1073 | ||
1074 | *** mh-nmh-p | |
1075 | ||
1076 | This variable (t when nmh is in use rather than MH) assumed that the | |
1077 | string "nmh" is in `mh-lib-progs' or `mh-lib'. This has been fixed | |
1078 | (closes SF #441776). | |
1079 | ||
1080 | *** mh-refile-msg | |
1081 | ||
1082 | No longer lets you specify an empty folder (closes SF #476824). | |
1083 | ||
1084 | *** mh-regenerate-headers | |
1085 | ||
1086 | Now suppresses "scan: bad message list" messages. | |
1087 | ||
1088 | *** mh-print-msg | |
1089 | ||
1090 | This function was looking for `mhl' in the wrong place on nmh on | |
1091 | Redhat LINUX 7.0. This has been fixed (closes SF #481128). | |
1092 | ||
1093 | *** mh-show | |
1094 | ||
1095 | Now updates `cur' sequence after a message is shown (closes SF #481772). | |
1096 | ||
1097 | *** mh-showing | |
1098 | ||
1099 | Renamed variable and function to `mh-showing-mode' to conform with | |
1100 | minor mode conventions. Added optional arg to function so it would | |
1101 | behave like a normal minor mode: no or nil arg toggles mode, 0 arg | |
1102 | turns off, non-nil turns on. This fixed the error that occurred when | |
1103 | `desktop-create-buffer' recreated mh-e buffers because it was calling | |
1104 | `mh-showing' with an arg. | |
1105 | ||
1106 | *** mh-version | |
1107 | ||
1108 | Fixed for nmh. Now displays mh-e version correctly. Cleaned up output | |
1109 | and display `mh-progs', etc. | |
1110 | ||
1111 | *** mh-widen | |
1112 | ||
1113 | Now attempts to stay on the same message number (closes SF #480922). | |
1114 | ||
1115 | No longer wipes out pending deletes and refiles without warning | |
1116 | (closes SF #481036). | |
1117 | ||
1118 | \f | |
1119 | * Changes in mh-e 5.0.2 | |
1120 | ||
1121 | This version contains additional minor changes to integrate it with | |
a933dad1 DL |
1122 | reporter.el (requires reporter.el version 3.1c or later) and Emacs |
1123 | 19.30. The mh-goto-msg function is much faster, which also speeds up | |
1124 | several other operations. | |
1125 | ||
a1b4049d BW |
1126 | \f |
1127 | * Changes in mh-e 5.0.1 | |
1128 | ||
1129 | This version contains minor changes from mh-e 5.0 to integrate it with | |
1130 | Emacs 19.29. | |
1131 | ||
1132 | \f | |
1133 | * User-visible changes to mh-e 5.0 | |
1134 | ||
1135 | Note: This being a major release, there are many internal changes. | |
1136 | This document lists only changes to the external interfaces of mh-e. | |
1137 | ||
1138 | When upgrading, you must either explicitly reload the new versions of | |
1139 | all mh-e files that are already loaded or restart your Emacs. | |
a933dad1 | 1140 | |
a933dad1 | 1141 | |
a1b4049d BW |
1142 | ** Major Changes and New Features in mh-e 5.0 |
1143 | ||
1144 | The emphasis for this release has been on consistency and | |
1145 | documentation. Many documentation strings were enhanced. Documentation | |
1146 | strings were changed to comments for internal functions and variables. | |
1147 | ||
1148 | *** There is now proper documentation in the form of a 75-page users | |
1149 | manual. The Texinfo source is mh-e.texi; the formatted Info document | |
a933dad1 DL |
1150 | is mh-e.info. |
1151 | ||
a1b4049d BW |
1152 | *** There is a new command `mh-update-sequences', which updates MH's |
1153 | idea of what messages are in the Unseen sequence and what is the | |
1154 | current folder and message. `mh-quit' calls it. While | |
1155 | `mh-execute-commands' has always done this updating as a side effect, | |
1156 | the new function is faster. | |
a933dad1 | 1157 | |
a1b4049d | 1158 | *** The MH profile entry "Inbox:" is supported. |
a933dad1 | 1159 | |
a1b4049d BW |
1160 | *** If the show-buffer is modified, the user is queried before mh-e |
1161 | reuses the buffer to show a different message. This buffer is also | |
a933dad1 DL |
1162 | auto-saved and backed up correctly. |
1163 | ||
a1b4049d BW |
1164 | *** `mh-store-buffer' is significantly more robust. It now handles |
1165 | messages created by a wide variety of packaging software. The status | |
1166 | message for `uudecode' includes the name of the file created. An error | |
a933dad1 DL |
1167 | is signaled if the subprocess exits with a non-zero status. |
1168 | ||
a1b4049d BW |
1169 | *** `mh-search-folder' behaves predictably, adding messages found to |
1170 | the `search' sequence. It correctly handles the case of no messages | |
1171 | found. | |
1172 | ||
1173 | *** `mh-burst-digest' (`M-b') now only rescans the part of the folder | |
1174 | affected by the burst. It is now much faster in a large folder. | |
a933dad1 | 1175 | |
a933dad1 | 1176 | |
a1b4049d | 1177 | ** New Hooks and Customization Variables in mh-e 5.0 |
a933dad1 | 1178 | |
a1b4049d BW |
1179 | *** `mh-default-folder-for-message-function': new name for the old |
1180 | `mh-msg-folder-hook', which wasn't a hook. The old name was confusing, | |
a933dad1 DL |
1181 | leading people to think they could use `add-hook' with it, when |
1182 | actually `setq' is the correct way. | |
1183 | ||
a1b4049d | 1184 | *** `mh-sortm-args': When this variable is used has changed. Now |
a933dad1 | 1185 | `mh-sortm-args' is passed if there IS a prefix argument to |
a1b4049d | 1186 | `mh-sort-folder'. The assumption is that for arguments you normally |
a933dad1 DL |
1187 | want, you would specify them in an MH profile entry. |
1188 | ||
a1b4049d | 1189 | *** `mh-mhn-args': new hook, a list of additional arguments to pass to |
a933dad1 DL |
1190 | the `mhn' program if `mh-edit-mhn' is given a prefix argument. |
1191 | ||
a1b4049d | 1192 | *** `mh-edit-mhn-hook': new hook called by `mh-edit-mhn', the function |
a933dad1 DL |
1193 | that formats MIME messages. |
1194 | ||
a1b4049d | 1195 | *** `mh-folder-list-change-hook': new hook, called whenever the cached |
a933dad1 DL |
1196 | list of folders, `mh-folder-list', is changed. |
1197 | ||
a1b4049d | 1198 | *** `mh-find-path-hook': new hook, called when entering mh-e. |
a933dad1 | 1199 | |
a1b4049d | 1200 | *** `mh-repl-formfile': new variable, used to change the format file |
a933dad1 DL |
1201 | used by `mh-reply' from the default of "replcomps". |
1202 | ||
a1b4049d | 1203 | *** New variables to customize the scan format and notating: |
a933dad1 DL |
1204 | `mh-note-deleted', `mh-note-refiled', `mh-note-seq', `mh-note-cur', |
1205 | `mh-note-copied', `mh-note-printed'. | |
1206 | ||
a933dad1 | 1207 | |
a1b4049d BW |
1208 | ** Key Binding Changes in mh-e 5.0 |
1209 | ||
1210 | *** `RET' runs `mh-show' for consistency with the Finder and Info. The | |
a933dad1 DL |
1211 | old binding `.' still works, but `RET' is now the standard binding. |
1212 | ||
a1b4049d BW |
1213 | *** `M-<' now runs `mh-first-msg' for consistency with `M->', which |
1214 | runs `mh-last-msg'. | |
a933dad1 | 1215 | |
a1b4049d | 1216 | *** `C-c C-f C-d' in MH-Letter mode moves to a Dcc: header field. |
a933dad1 | 1217 | |
a1b4049d | 1218 | *** `C-c C-f C-r' in MH-Letter mode moves to a From: header field. |
a933dad1 | 1219 | |
a1b4049d | 1220 | *** `g' is now the standard binding for `mh-goto-msg'. The old binding |
a933dad1 DL |
1221 | `j' still works. |
1222 | ||
a933dad1 | 1223 | |
a1b4049d BW |
1224 | ** Other Improvements and Changes to mh-e 5.0 |
1225 | ||
1226 | *** `mh-lpr-command-format' no longer passes the "-p" argument to | |
1227 | `lpr' by default. The mail header typically has the date anyway. | |
a933dad1 | 1228 | |
a1b4049d | 1229 | *** When prompting for a sequence name, if no sequences have been used |
a933dad1 DL |
1230 | yet, mh-e will offer the first sequence the current message is in. |
1231 | ||
a1b4049d | 1232 | *** The patterns of more mailers are recognized by |
a933dad1 DL |
1233 | `mh-extract-rejected-mail'. |
1234 | ||
a1b4049d | 1235 | *** `mh-insert-prefix-string' no longer wraps the call to the |
a933dad1 DL |
1236 | `mail-citation-hook' function in a `save-excursion' so the hook writer |
1237 | can choose whether to leave point at the beginning or the end of the | |
1238 | yanked text. | |
1239 | ||
a1b4049d BW |
1240 | *** `mh-write-msg-to-file': The prompt now refers to "message" or |
1241 | "message body" depending on which will be written. (This is controlled | |
1242 | by a prefix argument.) The file defaults to the last-used file instead | |
a933dad1 DL |
1243 | of supplying only the directory name. |
1244 | ||
a1b4049d BW |
1245 | *** mh-e uses message ranges when running MH commands. Thus "rmm 1 2 3 |
1246 | 4 6" is now "rmm 1-4 6". This change makes it less likely to overflow | |
a933dad1 DL |
1247 | system argument list limits, and it might be faster, too. |
1248 | ||
a933dad1 | 1249 | |
a1b4049d BW |
1250 | ** Bug Fixes to mh-e 5.0 |
1251 | ||
1252 | *** mh-e's idea of the unseen sequence now stays in sync with MH's | |
a933dad1 DL |
1253 | better. |
1254 | ||
a1b4049d BW |
1255 | *** Functions that are supposed to find fields in the message header |
1256 | no longer look in the message body. | |
a933dad1 | 1257 | |
a1b4049d BW |
1258 | *** mh-e would sometimes fail to remove the "%" from a scan line when |
1259 | the message was removed from a sequence if the message was also in the | |
a933dad1 DL |
1260 | Previous sequence. |
1261 | ||
a1b4049d | 1262 | *** The variable `mh-inc-prog' is now correctly used in all places. |
a933dad1 | 1263 | |
a1b4049d | 1264 | *** `mh-pipe-msg' runs the process in the correct directory. |
a933dad1 | 1265 | |
a1b4049d | 1266 | *** A partially scanned folder will no longer lose the "/select" |
a933dad1 DL |
1267 | annotation when you execute marked deletes and refiles with `x'. |
1268 | ||
a1b4049d BW |
1269 | \f |
1270 | * Changes to mh-e 4.0 | |
1271 | ||
1272 | This file is automatically generated from news-mh-e.txinfo. Do not edit. | |
1273 | ||
1274 | [MH-E-ONEWS has been incorporated here and removed. news-mh-e.txinfo | |
1275 | is no longer available.] | |
1276 | ||
1277 | Note: there are many internal changes to mh-e in this release. If you | |
1278 | have the previous version loaded into your Emacs, you will probably not | |
1279 | be able to load this version on top of it. | |
1280 | ||
1281 | ** New Features in mh-e 4.0 | |
1282 | ||
1283 | *** Background folder collection. The first time you are prompted for | |
1284 | a folder, you must wait while mh-e collects the names of all existing | |
1285 | folders. Now however, if you abort, collecting will continue in the | |
1286 | background, and you can do something else in Emacs until the | |
1287 | collection completes. Normally, mh-e will begin collecting folders | |
1288 | names in the background when you first load it; you can disable this | |
1289 | feature by setting `mh-auto-folder-collect' to nil. | |
1290 | ||
1291 | *** There is support for composing MIME messages using the `mhn' | |
1292 | program from MH 6.8. See the documentation string for mh-edit-mhn. | |
1293 | (While composing a letter, type `C-h k C-c C-e'.) See also mhn(1). | |
1294 | There is as yet no support for reading MIME messages. | |
1295 | ||
1296 | *** `mh-show', typically on `.', repositions to the start of the | |
1297 | message if the message is already visible. It used to do nothing in | |
1298 | this case. | |
1299 | ||
1300 | *** The function `mh-unshar-msg' is renamed `mh-store-msg'. It now | |
1301 | does uudecoding, too. Someday it should do MIME. It remembers the last | |
1302 | directory you used and offers it as the default for next time. | |
1303 | ||
1304 | *** New function `mh-header-display', on `,', displays the message | |
1305 | with all headers, including those normally not displayed. Type `.' to | |
1306 | display the message normally again. | |
1307 | ||
1308 | *** New function `mh-list-sequences' lists the sequences in use in the | |
1309 | current folder. | |
1310 | ||
1311 | *** New function `mh-version' displays version information about MH | |
1312 | and mh-e. Please use the output in bug reports. | |
1313 | ||
1314 | *** `mh-quit' now burys the folder buffer and show buffer. | |
1315 | ||
1316 | ||
1317 | ** New hooks and customization variables in mh-e 4.0 | |
1318 | ||
1319 | *** `mh-pick-mode-hook': new hook called by new mode `mh-pick-mode'. | |
1320 | The pick buffer didn't used to have its own mode. Another advantage of | |
1321 | `mh-pick-mode' is that `C-h m' works in the pick buffer. | |
1322 | ||
1323 | *** `mail-citation-hook': new variable for supercite. | |
1324 | ||
1325 | *** `mh-refile-msg-hook': new hook called by `mh-refile-msg' (and | |
1326 | `mh-refile-or-write-again' when refiling). | |
1327 | ||
1328 | *** `mh-msg-folder-hook': new hook used by `mh-refile-msg' and | |
1329 | `mh-to-fcc' to provide a default folder for user prompt. | |
1330 | ||
1331 | *** `mh-show-hook': new hook called by `mh-show'. | |
1332 | ||
1333 | *** `mh-delete-msg-hook': new hook called by `mh-delete-msg'. | |
1334 | ||
1335 | *** `mh-show-mode-hook': new hook called by new mode `mh-show-mode' | |
1336 | for `show-' buffers. | |
1337 | ||
1338 | *** `mh-comp-formfile': new variable so can customize `components' | |
1339 | file. | |
1340 | ||
1341 | *** `mh-sortm-args': new variable, a list of extra arguments to be | |
1342 | passed to sortm by `mh-sort-folder'. Give an argument to | |
1343 | `mh-sort-folder' to suppress this behavior. | |
1344 | ||
1345 | *** `mh-send-prog': new variable so can customize name of `send' | |
1346 | program in case of name conflicts. | |
1347 | ||
1348 | *** `mh-scan-prog': new variable so can customize name of `scan' | |
1349 | program to generate custom effects. | |
1350 | ||
1351 | *** `mh-inc-prog': new variable so can customize name of `inc' program | |
1352 | to do fancy management of incoming messages. | |
1353 | ||
1354 | *** `mh-forwarded-letter-subject': new function used by `mh-forward' | |
1355 | to compute the Subject line of the new message. It is a small function | |
1356 | which can be replaced by the user for customization. Uses the new | |
1357 | variable `mh-forward-subject-format', which allows some simple | |
1358 | customizations without rewriting even `mh-forwarded-letter-subject'. | |
1359 | ||
1360 | *** `mh-new-draft-cleaned-headers': new variable, header lines removed | |
1361 | by `mh-edit-again' and `mh-extract-rejected-mail' before offering a | |
1362 | message as a new draft. | |
1363 | ||
1364 | *** `mh-signature-file-name': new variable used by | |
1365 | `mh-insert-signature' to so can customize name of the file to insert. | |
1366 | ||
1367 | *** `mh-read-address': new function called to read all To: and Cc: | |
1368 | addresses. | |
1369 | ||
1370 | *** `mh-msg-folder-hook': new hook used by `mh-refile-msg' and | |
1371 | `mh-to-fcc' to provide a default folder for user prompt. | |
1372 | ||
1373 | ||
1374 | ** Key binding changes in mh-e 4.0 | |
1375 | ||
1376 | *** `,' runs new function `mh-header-display'. It is like `.' but it | |
1377 | displays *all* the headers. | |
1378 | ||
1379 | *** `M-#' runs the new function `mh-delete-seq'. One used to have to | |
1380 | type `C-u M-%' to delete a sequence. | |
1381 | ||
1382 | *** `<' no longer does `mh-first-msg', but `M->' now does | |
1383 | `mh-last-msg'. This allows first and last to be consistent (`>' was | |
1384 | taken) and is more likely to be discovered by chance anyway. | |
1385 | ||
1386 | *** `M-d' runs `mh-redistribute', `r' runs `mh-reply' (on the theory | |
1387 | that the more commonly used function should be easier to type, and the | |
1388 | obscure action of redistributing can be harder to type). | |
1389 | ||
1390 | *** `M-o' changed to `C-o' (`mh-write-msg-to-file'). It was | |
1391 | interfering with arrow keys for some people. | |
1392 | ||
1393 | *** `M-n' now runs `mh-store-msg' (formerly `mh-unshar-msg'). | |
1394 | ||
1395 | *** `b' no longer runs `mh-quit'; use `q' instead. `b' may be used in | |
1396 | a future version for something else. | |
1397 | ||
1398 | ||
1399 | ** Minor improvements to mh-e 4.0 | |
1400 | ||
1401 | *** The mh-e code is now divided into multiple Emacs Lisp files, so it | |
1402 | starts up faster because Emacs doesn't have to load all of it at once. | |
1403 | (This change also makes it easier for the maintainer to manage | |
1404 | things.) | |
1405 | ||
1406 | *** When searching for the directory containing the MH programs, | |
1407 | search the user's PATH in addition to the built-in directories, to | |
1408 | increase the chance of finding the MH programs. | |
1409 | ||
1410 | *** The subject for a forwarded message no longer has ugly square | |
1411 | brackets around it. | |
1412 | ||
1413 | *** The name of the folder is no longer appears twice in the show | |
1414 | buffer mode line. | |
1415 | ||
1416 | *** When typing a folder name in the minibuffer, parent folders | |
1417 | complete to the trailing slash (/), for easier typing of subfolders. | |
1418 | ||
1419 | *** The folder buffer mode name changed from `mh-e scan' or `mh-e | |
1420 | show' to `MH-Folder', which makes the hook name easier to guess. Added | |
1421 | `mh-showing' to `minor-mode-alist' so there is still an indication in | |
1422 | the mode line of whether messages will be shown automatically. | |
1423 | ||
1424 | *** `mh-rename-seq' does completion on the old sequence name. | |
1425 | ||
1426 | *** If called by a user who has never used MH on this system before, | |
1427 | mh-e runs the MH program `install-mh' to get them set up. | |
1428 | ||
1429 | *** Undo history for previous messages is not kept to avoid wasting | |
1430 | memory. | |
1431 | ||
1432 | *** The internal temp buffer used by mh-e has `buffer-offer-save' | |
1433 | explicitly nil. This change benefits people who change the | |
1434 | `buffer-offer-save' default. | |
1435 | ||
1436 | ||
1437 | ** Bug fixes to mh-e 4.0 | |
1438 | ||
1439 | *** `mh-to-field': don't bomb if no To: field. | |
1440 | ||
1441 | *** `mh-get-new-mail': restore annotations, e.g., cur, even if no new | |
1442 | mail. | |
1443 | ||
1444 | *** `mh-rename-seq': verify that the new seq name was accepted by | |
1445 | `mark' before updating state. | |
1446 | ||
1447 | *** `mh-internal-seq': the Previous sequence is not notated, since it | |
1448 | would notate everything scanned. | |
1449 | ||
1450 | *** `mh-read-draft': don't call `find-file-noselect' so an | |
1451 | `auto-mode-alist' doesn't trigger `mh-letter-mode-hook' twice. Faster, | |
1452 | too. | |
1453 | ||
1454 | *** `mh-show': If user moves onto a message that doesn't exist, don't | |
1455 | leave the cursor in the show pane. | |
1456 | ||
1457 | *** `mh-delete-scan-msgs': use `equal', not `=', on the result of | |
1458 | `mh-get-msg-num', since it may be nil. | |
1459 | ||
1460 | *** `mh-get-field': do anchored search so searching for `reply-to:' | |
1461 | doesn't find `in-reply-to:'. | |
1462 | ||
1463 | *** `mh-widen': do nothing if not narrowed. | |
1464 | ||
1465 | *** `mh-clean-message-header': find end of headers even if no body. | |
1466 | ||
1467 | \f | |
1468 | Local variables: | |
1469 | mode: outline | |
1470 | paragraph-separate: "[ \f]*$" | |
1471 | end: |