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