Trailing whitepace deleted.
[bpt/emacs.git] / lisp / mh-e / ChangeLog
CommitLineData
3d7ca223
BW
12003-02-03 Bill Wohler <wohler@newt.com>
2
3 * Released MH-E version 7.2.
4
5 * MH-E-NEWS, README: Updated for release 7.2.
6
7 * mh-e.el (Version, mh-version): Updated for release 7.2.
8
92003-02-03 Bill Wohler <wohler@newt.com>
10
11 * Makefile (dist): mkdir needs to happen *before* files are
12 copied.
13
14 * MH-E-NEWS: Fixed some awkward verbiage.
15
162003-02-02 Bill Wohler <wohler@newt.com>
17
18 * mh-customize.el (mh-invisible-headers): Surround regexp-opt
19 expression in parens to avoid problems viewing certain messages.
20
212003-01-30 Satyaki Das <satyaki@theforce.stanford.edu>
22
23 * mh-speed.el (mh-speed-flists): Search for flists in mh-progs.
24 The original was inadvertently searching for flists in the user's
25 path.
26
272003-01-27 Bill Wohler <wohler@newt.com>
28
29 * mh-customize.el (mh-default-folder-must-exist-flag): Changed
30 default to t according to the principle of least surprise.
31
322003-01-26 Bill Wohler <wohler@newt.com>
33
34 * mh-utils.el: Checkdoc fixes.
35
36 * mh-pick.el (mh-do-search, mh-search-folder): Checkdoc fixes.
37
38 * mh-loaddefs.el: Regenerated (lm-verify fixes).
39
a1506d29 40 * mh-index.el (mh-mairix-next-result): Checkdoc fixes.
3d7ca223
BW
41
42 * mh-alias.el: lm-verify fix.
43
44 * Makefile (MH-E-SRC): Added ChangeLog, now that Emacs has a
45 lisp/mh-e directory.
46 (MH-E-ETC-ETC): Removed ChangeLog.
47 (dist): Moved creation of mail directory next to copy of files
48 into mail directory.
49 (install-emacs): Copy $(MH-E-SRC) into new directory
50 $(EMACS_HOME/lisp/mh-e.
51 (MH-E-SRC): Moved ChangeLog into new variable MH-E-OTHERS and
52 include MH-E-LOADDEFS there too.
53 (mh-loaddefs.el): Added lines so that lm-verify passes.
54 (dist, install-emacs): Use MH-E-OTHERS instead of MH-E-LOADDEFS.
55
562003-01-26 Jeffrey C Honig <jch@honig.net>
57
58 * mh-comp.el (mh-tidy-draft-buffer, mh-compose-and-send-mail):
59 Rename mh-kill-draft-hook to mh-tidy-draft-buffer.
60
612003-01-25 Jeffrey C Honig <jch@honig.net>
62
63 * mh-utils.el (mh-exec-cmd, mh-exec-cmd-daemon)
64 (mh-process-daemon): Use mh-log-buffer for the output of commands
65 from mh-exec-cmd.
66
67 * mh-utils.el (mh-temp-folders-buffer): Sequences and folders
68 loose the -temp from their buffer names as they are interesting to
69 the user.
70
71 * mh-seq.el (mh-list-sequences): New name, mh-sequences-buffer as
72 it is intended to be interesting to the user.
73
74 * mh-funcs.el (mh-list-folders): New name, mh-folders-buffer as it
75 is intended to be interesting to the user.
76
77 * mh-comp.el (mh-check-whom, mh-compose-and-send-mail): Use
78 mh-recipients-buffer constant. Add a kill buffer hook to delete
79 the recipients buffer when a draft buffer is killed.
80
812003-01-25 Satyaki Das <satyaki@theforce.stanford.edu>
82
83 * mh-customize.el (mh-customize): New interactive argument
84 deletes other windows.
85 (mh-tool-bar-show-set, mh-tool-bar-letter-set)
86 (mh-tool-bar-folder-set): Modified so that clicking the customize
87 and help buttons deletes the other windows in the frame.
88
89 * mh-mime.el (mh-mm-inline-message): Remove unused code.
90
91 * mh-seq.el (mh-notate-deleted-and-refiled): Fix a small bug where
92 the wrong notation was being used.
93 (mh-toggle-threads): The function had a bug if you did the
94 following starting from an unthreaded wide folder:
95 (1) Create a sequence with S p
96 (2) Narrow to new sequence with S n
97 (3) Thread narrowed folder with T t
98 (4) Kill sequence with S k
99 (5) Unthread narrowed folder with T t
100 At this point we would have an empty folder. The change fixes
101 this.
102 (mh-toggle-threads): Fix documentation.
103
104 * mh-customize.el (mh-invisible-header-fields): Add
105 X-MHE-Checksum to invisible headers.
106
107 * mh-comp.el (mh-insert-x-mailer): Slightly more informative
108 X-Mailer header.
109
1102003-01-24 Satyaki Das <satyaki@theforce.stanford.edu>
111
112 * mh-e.el (mh-header-display): Modified so that quoted-printable
113 or base64 encoded messages are left untouched.
114
115 * mh-utils.el (mh-decode-content-transfer-encoded-message): Munge
116 the Content-Transfer-Encoding header so that the MIME decoding
117 routines of Gnus doesn't get confused.
118 (mh-display-msg): Use insert-file-contents-literally so that
119 display will work for non-ascii.
120
121 * mh-mime.el (mh-mime-display): Use charset info to decode
122 message file (closes SF #655123).
123
1242003-01-24 Bill Wohler <wohler@newt.com>
125
126 * mh-alias.el (mh-alias-add-alias-to-file): Removed period from
127 error message and added parens around error function.
128
1292003-01-24 Satyaki Das <satyaki@theforce.stanford.edu>
130
131 * mh-customize.el (mh-decode-quoted-printable-flag): Removed.
132 (mh-decode-content-transfer-encoded-message-flag): This replaces
133 mh-decode-quoted-printable-flag.
134
135 * mh-utils.el (mh-decode-content-transfer-encoded-message): New
136 function which handles messages that are encoded as base64 or
137 quoted-printable (closes SF #674190).
138 (mh-decode-quoted-printable): Removed.
139 (mh-display-msg): Use mh-decode-content-transfer-encoded-message
140 instead of mh-decode-quoted-printable.
141
1422003-01-23 Satyaki Das <satyaki@theforce.stanford.edu>
143
144 * mh-seq.el (mh-thread-generate-scan-lines): Fix a little bug
145 that would occasionally cause angles ('<' and '>') to appear at
146 root level.
147
1482003-01-21 Satyaki Das <satyaki@theforce.stanford.edu>
149
150 * mh-seq.el (mh-notate-cur): Enable overlay arrow display in text
151 mode too.
152
153 * mh-e.el (mh-folder-mode): Initialize overlay-arrow-string so
154 that a '>' is displayed in text mode.
155
1562003-01-20 Satyaki Das <satyaki@theforce.stanford.edu>
157
158 * mh-utils.el (mh-scan-msg-overflow-regexp): Change the variable
159 so that a space is always maintained in the beginning of the scan
160 line.
161
162 * mh-seq.el (mh-notate-seq, mh-notate-cur): Make the functions
163 faster by cutting down on the use of mh-goto-msg.
164 (mh-toggle-threads): Add call to mh-notate-cur, since inserting
165 the folder names in a search results folder screws up the
166 location of the overlay arrow.
167
168 * mh-index.el (mh-index-delete-folder-headers): Position the
169 point on a message line if possible.
170
171 * mh-funcs.el (mh-copy-msg): Use the mh-iterate macro to make the
172 function faster.
173
174 * mh-e.el (mh-scan-folder): Reuse mh-notate-deleted-and-refiled.
175
176 * mh-loaddefs.el: Regenerated.
177
178 * mh-utils.el (mh-add-msgs-to-seq): Add a new parameter that
179 suppresses the annotation of the sequence since it is
180 inefficient.
181
182 * mh-seq.el (mh-delete-seq): Speed up the part of the function
183 that removes the sequence notation.
184 (mh-put-msg-in-seq, mh-notate-deleted-and-refiled): Use
185 mh-iterate-on-messages-in-region to make the function fasters when
186 operating on regions. The key idea is to loop over the folder
187 buffer exactly once and do all annotations. The existing algo
188 would walk over the buffer multiple times thereby slowing things
189 down.
190 (mh-iterate-on-messages-in-region): Added an extra parameter which
191 is bound to the message index as the loop is executed.
192 (mh-region-to-msg-list, mh-thread-delete, mh-thread-refile): Use
193 the new mh-iterate-on-messages-in-region macro.
194
195 * mh-e.el (mh-delete-msg-no-motion, mh-refile-msg, mh-undo): Same
196 as above.
197 (mh-notate-user-sequences): Change algorithm to make notating of
198 user sequences fast.
199
2002003-01-19 Satyaki Das <satyaki@theforce.stanford.edu>
201
202 * mh-logo.xpm: New image file that contains the MH-E logo.
203 Change foreground color to the blue in the MH-E logo.
204
205 * Makefile (MH-E-IMG): Add mh-logo.xpm to list of image files.
206
207 * mh-utils.el (mh-show-buffer-mode-line-buffer-id): Adjust it to
208 keep space in the beginning for the logo.
209 (mh-logo-cache): New variable that caches the logo image file
210 location.
211 (mh-logo-display): Display the MH-E logo on the mode line.
212 (mh-display-msg): Display logo in mh-show-mode.
213
214 * mh-e.el (mh-make-folder-mode-line): Display logo in
215 mh-folder-mode.
216
217 * mh-comp.el (mh-compose-and-send-mail): Display logo in
218 mh-letter-mode.
219
220 * mh-loaddefs.el: Regenerated.
221
222 * mh-seq.el (mh-iterate-on-messages-in-region): New macro to
223 iterate on all messages in a region.
224 (mh-region-to-msg-list): Simplified since it uses
225 mh-iterate-on-messages-in-region now.
226
227 * mh-e.el (mh-delete-msg, mh-refile-msg): Change interactive spec
228 to pass the region that is to be deleted when appropriate.
229 (mh-delete-msg-no-motion, mh-refile-msg, mh-undo): Operate on
230 regions directly without creating the list of messages to be
231 deleted/refiled.
232 (mh-delete-a-msg, mh-refile-a-msg, mh-undo-msg): The msg
233 parameter in these functions can now be nil. If so, the current
234 message is deleted, refiled or undone respectively. Avoids the
235 use of mh-goto-msg in this case and speeds up operations on
236 regions quite a bit.
237
2382003-01-19 Peter S Galbraith <psg@debian.org>
239
240 * mh-alias.el (mh-read-address): Bug Fix. In XEmacs and Emacs20,
241 it would always prompt using "To: " instead of using the command
242 argument (closes SF #670913).
243
2442003-01-19 Satyaki Das <satyaki@theforce.stanford.edu>
245
246 * mh-utils.el (mh-folder-completion-function): If there is a
247 +foo/bar folder and the user types foo//bar then the completion
248 function would say a match happened without showing the
249 normalized folder name. This change fixes that.
250
2512003-01-18 Satyaki Das <satyaki@theforce.stanford.edu>
252
253 * mh-e.el (mh-rmail): Modified so that new and unseen messages
254 are shown (closes SF #667542).
255
2562003-01-17 Satyaki Das <satyaki@theforce.stanford.edu>
257
258 * mh-index.el (mh-index-generate-pretty-name): Generate nicer
259 names. In particular all '-' characters are removed.
260
2612003-01-16 Satyaki Das <satyaki@theforce.stanford.edu>
262
263 * mh-customize.el (mh-index-program): Documentation fix.
264
265 * mh-loaddefs.el: Regenerated.
266
267 * mh-customize.el (mh-index-program): Add choices for mairix and
268 pick.
269
270 * mh-index.el (mh-indexer-choices): Add search interfaces for
271 mairix and pick.
272 (mh-index-search): Add links for mairix and pick.
273 (mh-index-pick-folder, mh-pick-binary): Variables needed to
274 implement pick support.
275 (mh-pick-execute-search, mh-pick-next-result): New functions to
276 implement pick support.
277 (mh-mairix-binary, mh-mairix-directory, mh-mairix-folder): New
278 variables for mairix support.
279 (mh-mairix-execute-search, mh-mairix-next-result)
280 (mh-mairix-regexp-builder, mh-mairix-convert-to-sop*): New
281 functions for mairix.
282
283 * mh-funcs.el (mh-kill-folder): Move message to the end.
284
285 * mh-e.el (mh-folder-mode): Make overlay-arrow-position and
286 overlay-arrow-string local variables so that the arrow will
287 remain even if some other folder is visited.
288 (mh-remove-cur-notation, mh-remove-all-notation): The test isn't
289 required any more since overlay-arrow-position is local.
290 (mh-goto-cur-msg): Remove overlay arrow if current message
291 doesn't exist.
292
293 * mh-seq.el (mh-notate-cur): Don't need to set
294 overlay-arrow-string any more since it is local and has been set
295 at initialization.
296
2972003-01-15 Satyaki Das <satyaki@theforce.stanford.edu>
298
299 * mh-speed.el (mh-speed-current-folder): Keep track of current
300 folder when flists is called.
301 (mh-speed-flists, mh-speed-parse-flists-output): Try to avoid
302 ambiguity when folders are present with + at the end of the name.
303 Unfortunately it can't always be avoided.
304
305 * mh-e.el (mh-folder-size): Remove the unnecessary error check.
306 (mh-parse-flist-output-line): Add extra argument which
307 occasionally avoid problems with folder names that end with '+'.
308
309 * mh-utils.el (mh-sub-folders-actual): Fix the folder name
310 parsing so that it doesn't get confused by trailing '+' chars in
311 the folder name.
312
3132003-01-14 Satyaki Das <satyaki@theforce.stanford.edu>
314
315 * mh-utils.el (mh-normalize-folder-name): Enhanced so that it can
316 now handle ".." and "." correctly during folder name completion.
317 (mh-normalize-folder-name): Avoid error in boundary condition
318 where the folder string is empty.
319
3202003-01-14 Mark D. Baushke <mdb@gnu.org>
321
322 * mh-e.el (mh-visit-folder): Pass `current-prefix-arg' to
323 the `mh-read-msg-range' function as the optional
324 always-prompt-flag.
325
3262003-01-14 Satyaki Das <satyaki@theforce.stanford.edu>
327
328 * mh-utils.el (mh-normalize-folder-name): New function that
329 normalizes folder names.
330 (mh-sub-folders): Use mh-normalize-folder-name. Also the function
331 has been modified so that a trailing slash is only added if the
332 folder potentially has subfolders.
333 (mh-sub-folders-actual): Simplified since the folder has already
334 been normalized in mh-sub-folders.
335 (mh-remove-from-sub-folders-cache): Modified so that the cached
336 results of two of the folders ancestors are invalidated.
337 (mh-folder-completion-map): Ugly hack to make the error go away
338 when minibuffer-complete-word is called.
339 (mh-folder-completion-function): The completion function will now
340 be more selective in adding '/' at the end of completed folder
341 names.
342 (mh-folder-completing-read): The folder name is normalized before
343 return. The minibuffer-local-completion-map is shadowed to avoid
344 error with SPC (bound to minibuffer-complete-word). We really
345 need a better solution.
346
3472003-01-13 Bill Wohler <wohler@newt.com>
348
349 * mh-seq.el: Edited comment and docstring text to conform with RFC
350 2822 terminology. Message-ID is the header field. It contains a
351 message identifier.
352
3532003-01-13 Satyaki Das <satyaki@theforce.stanford.edu>
354
355 * mh-utils.el (mh-sub-folders): Add an argument that returns
356 sub-folders with a / character appended at the end.
357 (mh-folder-completion-function): Modify the function so that one
358 tab is now sufficient to complete the folder name and add a
359 trailing /.
360 (mh-folder-completing-read): Remove the trailing / that the
361 completion function now adds to the folder name. Also multiple /
362 characters in the folder input are removed. So if the user inputs
363 +foo///bar//baz///// then that will be converted to +foo/bar/baz.
364 This will improve the performance of caching.
365
366 * mh-seq.el (mh-notate-cur): Check that a valid current message
367 exists before trying to notate (closes SF #667331).
368 (mh-message-id-regexp): New variable to store regexp to recognize
369 message-ids.
370 (mh-thread-generate): Use mh-message-id-regexp to filter out non
371 message-id's from the References: header.
372
3732003-01-12 Satyaki Das <satyaki@theforce.stanford.edu>
374
375 * mh-seq.el (mh-notate-cur): Disable overlay-arrow display if we
376 aren't on a graphic display.
377
3782003-01-11 Satyaki Das <satyaki@theforce.stanford.edu>
379
380 * mh-seq.el (mh-notate-cur): New function to notate the current
381 message. The marker in the fringe is updated too.
382 (mh-narrow-to-seq, mh-widen, mh-thread-inc, mh-thread-folder): Use
383 the specialized function mh-notate-cur instead of mh-notate-seq.
384
385 * mh-e.el (mh-arrow-marker): New buffer local variable to store
386 the position where the marker in the fringe is going to be
387 displayed (closes SF #664824).
388 (mh-folder-mode): Create a marker for the fringe.
389 (mh-update-sequences, mh-get-new-mail, mh-goto-cur-msg): Call the
390 specialized function mh-notate-cur instead of mh-notate-seq or
391 mh-notate.
392 (mh-remove-cur-notation, mh-remove-all-notation): Reset the
393 overlay-arrow-position if needed.
394
395 * mh-loaddefs.el: Regenerated.
396
3972003-01-10 Satyaki Das <satyaki@theforce.stanford.edu>
398
399 * mh-utils.el (mh-remove-from-sub-folders-cache): Modified so that
400 creating nested folders doesn't produce inconsistent results.
401 (mh-prompt-for-folder): Remove call of mh-folder-list-change-hook.
402
403 * mh-funcs.el (mh-kill-folder): Don't ask for confirmation if
404 called on a folder holding index search results. Also the now
405 removed mh-folder-list-change-hook is called no more.
406
a1506d29 407 * mh-customize.el (mh-auto-folder-collect-flag)
3d7ca223
BW
408 (mh-folder-list-change-hook): Removed.
409
410 * mh-loaddefs.el: Regenerated.
411
4122003-01-10 Bill Wohler <wohler@newt.com>
413
414 * mh-customize.el (mh-default-folder-must-exist-flag): New
415 variable to suppress suggested folder if the folder doesn't
416 already exist (closes SF #657096).
417 (mh-default-folder-list): New variable that
418 holds mapping between an address and the desired folder for
419 filing (closes SF #657096).
420 (mh-default-folder-prefix, mh-default-folder-must-exist-flag): In
421 docstring, refer to documentation for mh-prompt-for-refile-folder
422 and mh-folder-from-address.
423 (mh-highlight-citation-p, mh-compose-insertion,
424 (mh-insert-mail-followup-to-list, mh-index-program,
425 (mh-identity-default): Fixed case of tags.
426
427 * mh-e.el (mh-folder-from-address): Use new variable
428 mh-default-folder-must-exist-flag to return nil if this variable
429 is t and the folder doesn't already exist. In addition, can now
430 look up a default folder in the new variable
431 mh-default-folder-list (closes SF #657096).
432 (mh-prompt-for-refile-folder): In docstring, refer to
433 documentation in mh-folder-from-address.
434
435 * mh-index.el (mh-swish-execute-search): Changed \..* to \\..* in
436 the FileRules filename in the sample config file. Otherwise, the
437 users don't see the backslash at all, and no files are indexed!
438 (closes SF #665888).
439
4402003-01-10 Satyaki Das <satyaki@theforce.stanford.edu>
441
442 * mh-seq.el (mh-thread-folder): Get headers for exactly the
443 messages that are present. If only messages 1-10 and 3800-3900
444 are being shown then we will now scan exactly those messages and
445 not the full range from 1-3900 as was being done earlier.
446 (mh-toggle-threads): When converting from threaded to normal view
447 only the messages present in the buffer are scanned. Earlier all
448 messages from the minimum to the maximum would be scanned (closes
449 SF #626117).
450
451 * mh-pick.el (mh-search-folder): Fix typo.
452 (mh-pick-do-search): Fix bug from cut and paste. Also set window
453 config properly.
454
455 * mh-utils.el (mh-prompt-for-folder): Add new argument to allow
456 it to accept + as a folder name. This allows the user to search
457 all folders when "Fs" is used.
458
459 * mh-pick.el (mh-search-folder): Fix interactive spec of function.
460 (mh-pick-do-search): Rewritten to call pick in one go. This will
461 make adding pick as a default index search program easier. Also
462 pick now accepts the same query syntax as the index search
463 programs (closes SF #664816).
464 (mh-next-pick-field): Removed.
465 (mh-pick-parse-search-buffer): New function to parse the search
466 buffer.
467 (mh-pick-construct-regexp, mh-pick-regexp-builder): New function
468 to produce a pick query from the parsed representation.
469
470 * mh-index.el (mh-index-do-search): Refactor the search pattern
471 parser into a new function and use that instead.
472
473 * mh-loaddefs.el: Regenerated.
474
4752003-01-10 Satyaki Das <satyaki@theforce.stanford.edu>
476
477 * mh-loaddefs.el: Regenerated.
478
479 * mh-utils.el (mh-remove-from-sub-folders-cache)
480 (mh-prompt-for-folder): Replace mh-update-sub-folders-cache with
481 mh-remove-from-sub-folders-cache.
482 (mh-exec-cmd-daemon): Mention set-process-filter in documentation.
483
484 * mh-pick.el (mh-searching-function): New buffer local variable
485 that keeps track of the default searching function to be used.
486 (mh-pick-mode): Make mh-searching-function buffer local.
487 (mh-search-folder): Set mh-searching-function to use pick.
a1506d29 488 (mh-search-folder, mh-pick-menu, mh-pick-mode-help-messages)
3d7ca223
BW
489 (mh-pick-mode, mh-do-pick-search, mh-pick-do-search): Rename
490 mh-do-pick-search to mh-pick-do-search. But keep
491 mh-do-pick-search as a deprecated function.
492 (mh-do-search): New interactive function that performs the
493 default search.
494 (mh-pick-mode-map): Update keymap.
495
496 * mh-index.el (mh-index-search): Set mh-searching-function to do
497 index search.
498 (mh-index-new-folder): Replace mh-update-sub-folders-cache with
499 mh-remover-from-sub-folders-cache.
500
501 * mh-funcs.el (mh-kill-folder): Same as above.
502
503 * mh-index.el (mh-index-evaluate, mh-swish++-regexp-builder):
504 Checkdoc fixes.
505
506 * mh-customize.el: Fixes to make byte compiler in CVS Emacs
507 perfectly happy.
508
5092003-01-09 Bill Wohler <wohler@newt.com>
510
511 * mh-e.el (mh-folder-from-address): New function that proposes the
512 name of a folder with an alias for the address in the current message.
513 (mh-prompt-for-refile-folder): Use it (closes SF #657096).
a1506d29 514
3d7ca223
BW
515 * mh-customize.el (mh-default-folder-prefix): New variable used by
516 mh-folder-from-address.
517 (mh-invisible-header-fields): Edited docstring.
518
519 * mh-alias.el (mh-alias-address-to-alias): Added ;;;###mh-autoload
520 cookie (used by mh-folder-from-address in mh-e.el). Edited text in
521 comment.
522
523 * mh-utils.el: Provided naming conventions for buffer and buffer
524 variable names.
525 (mh-temp-folders-buffer): Renamed buffer to " *mh-folders*".
526 (mh-temp-sequences-buffer): Renamed buffer to " *mh-sequences*".
527 (mh-info-buffer): Renamed from mh-temp-info-buffer.
528 (mh-log-buffer): New buffer variable to hold name of "*MH-E Log*"
529 buffer which is expected to be used for the output of MH commands.
530 Perhaps we always create this buffer at initialization and append
531 to it rather than erase it each time?
532
533 * mh-e.el (mh-quit): Loop over all buffers and delete MH-E
534 temporary and working buffers. As long as the buffer naming
535 conventions are followed, new buffers will be automatically
536 killed.
537 (mh-version): Renamed mh-temp-info-buffer to mh-info-buffer.
538
539 * mh-comp.el (mh-insert-x-mailer): Renamed mh-temp-info-buffer to
540 mh-info-buffer.
a1506d29 541
3d7ca223
BW
5422003-01-09 Satyaki Das <satyaki@theforce.stanford.edu>
543
544 * mh-e.el (mh-folder-size): If the user doesn't have a
545 Unseen-Sequence definition in .mh_profile then an error was
546 produced. This change fixes that.
547
548 * mh-seq.el (mh-thread-generate): Replace the *mh-thread* buffer
549 with a temporary buffer which is cleaned up when the function
550 exits.
551
552 * mh-e.el (mh-prompt-for-refile-folder): New function which
553 refactors out the intelligent folder guessing code from
554 mh-refile-msg.
555 (mh-refile-msg): Use mh-prompt-for-refile-folder.
556
557 * mh-seq.el (mh-thread-refile): Use mh-prompt-for-refile-folder to
558 do the same intelligent destination folder guessing as
559 mh-refile-msg (closes SF #664829).
560
561 * mh-utils.el (mh-folder-list, mh-make-folder-list-process)
562 (mh-folder-list-temp, mh-folder-list-partial-line)
563 (mh-set-folder-list): Removed.
564 (mh-sub-folders-cache, mh-sub-folders, mh-sub-folders-actual):
565 Moved over from mh-speed.el to implement hierarchical completion.
566 (mh-update-sub-folders-cache): Utility function called when
567 new folders are created or folders are removed.
568 (mh-folder-completion-function): New function is the folder name
569 completion function used in completing-read.
570 (mh-folder-completing-read): A thin wrapper function that is used
571 instead of completing-read directly. In the future we might want
572 to allow the user a customizable variable which will turn off
573 folders based completion.
574 (mh-prompt-for-folder): Use mh-folder-completing-read to read in
575 the folder name with hierachical completion (closes SF #664821).
576
577 * mh-speed.el (mh-speed-folders, mh-speed-folders-cache)
578 (mh-speed-folders-actual): Moved to mh-utils.el as mh-sub-folders,
579 mh-sub-folders-cache and mh-sub-folders-actual respectively.
a1506d29 580 (mh-speed-invalidate-map, mh-speed-invalidate-map)
3d7ca223
BW
581 (mh-speed-add-folder): Use the new names.
582
583 * mh-funcs.el (mh-kill-folder): Remove code that used to update
584 mh-folder-list which is no longer present. Instead
585 mh-update-sub-folders-cache is called.
586
587 * mh-index.el (mh-index-new-folder): Same as above.
588
5892003-01-08 Satyaki Das <satyaki@theforce.stanford.edu>
590
591 * mh-utils.el (mh-exec-cmd-daemon): An argument was added which
592 controls what is done with the process output.
593
594 * mh-funcs.el (mh-kill-folder): Use mh-previous-window-config to
595 restore window configuration. Also the call to mh-exec-cmd-daemon
596 only displays output if an error happened (closes SF #664828).
597 (mh-rmf-daemon): Check rmf output and display it only if
598 something went wrong.
599 (mh-print-msg): Pass in nil argument to mh-exec-cmd-daemon.
600
601 * mh-comp.el (mh-redistribute, mh-send-letter): Pass in nil
602 argument to mh-exec-cmd-daemon so that the functions will behave
603 as before.
604
605 * mh-pick.el (mh-search-folder): The current window config is
606 stored.
607 (mh-make-pick-template): Make the message headers read-only.
608 (mh-pick-mode-help-messages): Update help message.
609 (mh-do-pick-search): Fix problem when buffer isn't showing any
610 messages.
611 (mh-next-pick-field): Use buffer-substring-no-properties is
612 better.
613 (mh-pick-mode-map): Add key bindings (partially addresses
614 SF #664816)
615
616 * mh-index.el (mh-indexer-choices): Add a new field for each
617 index program choice. If it is non-nil then it is the name of a
618 function that given a lisp expression to search for generates a
619 pattern that is acceptable to the search program.
620 (mh-index-regexp-builder): New variable that stores the function
621 to be used to convert from the lisp expression syntax to
622 something that the search program understands.
623 (mh-index-generate-pretty-name): Generalized so that it can take
624 a list of strings as input.
625 (mh-index-search): Modified so that if the configured program has
626 a corresponding regexp-builder then a search buffer like pick
627 search is produced. Otherwise the previous behavior is maintained.
628 (mh-index-do-search): New interactive function that takes the
629 contents of the search buffer, generates an appropriate query and
630 produces the search results buffer by calling mh-index-search.
a1506d29 631 (mh-replace-string, mh-index-parse-search-regexp)
3d7ca223
BW
632 (mh-index-add-implicit-ops, mh-index-evaluate): New functions
633 which parses the infix search expression that the user enters. A
634 parse tree from which queries for different search programs can
635 be produced is produced.
636 (mh-swish++-regexp-builder, mh-swish++-print-regexp): Takes the
637 internal form of the query and produces input suitable for
638 swish++.
639
640 * mh-loaddefs.el: Regenerated.
641
6422003-01-08 Bill Wohler <wohler@newt.com>
643
644 * Makefile (emacs-logs): New target for viewing CVS Emacs logs.
645 Useful to see if an Emacs developer has changed MH-E.
646
a1506d29 647 * MH-E-NEWS: Fixed case of MH-E in the "Changes" title.
3d7ca223
BW
648
649 * mh-utils.el (mh-temp-info-buffer): New variable to hold name of
650 buffer that contains version info.
651
652 * mh-e.el (mh-version): Use mh-temp-info-buffer instead of
653 mh-temp-buffer since version information was getting clobbered by
654 the aliasing code before it could be seen (closes SF #664467).
655 (mh-quit): Delete mh-temp-info-buffer.
656
657 * mh-comp.el (mh-insert-x-mailer): Use mh-temp-info-buffer to find
658 version info instead of mh-temp-buffer. You kind of need this
659 patch to send mail.
660
6612003-01-07 Bill Wohler <wohler@newt.com>
662
663 * mh-e.el (Version, mh-version): Set to 7.1+cvs.
664
6652003-01-07 Bill Wohler <wohler@newt.com>
666
667 * Released MH-E version 7.1.
668
669 * MH-E-NEWS, README: Updated for release 7.1.
670
671 * mh-e.el (Version, mh-version): Updated for release 7.1.
672
6732003-01-07 Bill Wohler <wohler@newt.com>
674
675 * mh-customize.el (mh-auto-folder-collect-flag,
676 mh-alias-system-aliases, mh-alias-insert-file): Edited docstrings.
677
678 * Makefile (MH-E-IMG): Added alias.pbm and alias.xpm.
679
680 * mh-alias.el (mh-alias-insert-file, mh-alias-add-alias): Fixed
681 checkdoc warnings.
682
6832003-01-07 Satyaki Das <satyaki@theforce.stanford.edu>
684
685 * mh-utils.el (mh-search-from-end): New function that is used to
686 replace our usage of the CL function search.
687 (font-lock): The library is loaded to avoid compilation warning
688 in CVS Emacs.
689
a1506d29 690 * mh-speed.el (mh-speed-goto-folder, mh-speed-add-folder)
3d7ca223
BW
691 (mh-speed-extract-folder-name, mh-speed-invalidate-map): Use
692 mh-search-from-end instead of search.
693
694 * mh-seq.el (mh-thread-remove-parent-link): Use loop instead of
695 remove*.
696 (mh-thread-process-in-reply-to): Use mh-search-from-end instead
697 of search.
698
699 * mh-index.el (mh-md5-parser): Fix name of function.
700 (mh-index-update-single-msg, mh-index-update-maps): Avoid using
701 destructuring-bind since Emacs-20.7 can't handle this particular
702 usage.
703 (mh-namazu-next-result): Use mh-search-from-end instead of
704 search.
705
706 * mh-e.el (recursive-load-depth-limit): Add a defvar since CVS
707 emacs which doesn't have the variable defined causes a compiler
708 warning.
709 (mh-refile-a-msg): Rewritten to avoid using pushnew.
710 (mh-undo-msg): Use loop instead of remove-if.
711
712 * mh-comp.el (mh-show-buffer-message-number): Use
713 mh-search-from-end instead of search.
714
7152003-01-01 Satyaki Das <satyaki@theforce.stanford.edu>
716
717 * mh-e.el (mh-visit-folder): Modified so that if RANGE is nil then
718 all messages are displayed. Documentation modified so that this is
719 explicitly stated.
720 (mh-visit-folder): Really fix it this time.
721
7222003-01-01 Mark D Baushke <mdb@gnu.org>
723
724 * mh-alias.el (mh-alias-from-has-no-alias-p): Needs the
725 mh-autoload comment or mh-customize may have problems finding the
726 function.
727
728 * mh-loaddefs.el: Regenerated.
729
7302002-12-28 Satyaki Das <satyaki@theforce.stanford.edu>
731
732 * mh-index.el (mh-namazu-execute-search): Fix bug in documentation.
733
7342002-12-28 Bill Wohler <wohler@newt.com>
735
736 * mh-comp.el (mh-letter-mode): Mention mh-compose-insertion
737 variable in docstring, explain how to expand directives, and
738 don't mention mh-mhn-compose-insertion which isn't used directly
739 any more.
740 (mh-send-letter): Mention that X-Mailer and X-Face are inserted
741 automatically so that a user isn't tempted to do so himself in
742 mh-before-send-letter-hook.
743 (mh-insert-letter): Use "variable" prefix for mh-invisible-headers
744 now that we have both a function and a variable. Clarified
745 language a bit.
746
7472002-12-26 Satyaki Das <satyaki@theforce.stanford.edu>
748
749 * mh-utils.el (mh-show-xface-function): Only load x-face-e21 if
750 the emacs is not XEmacs.
751
752 * mh-index.el (mh-index-new-folder): The folder created should
753 always be added to mh-folder-list. Otherwise folder name
754 completion doesn't find the new folder created.
755
7562002-12-24 Satyaki Das <satyaki@theforce.stanford.edu>
757
a1506d29
JB
758 * mh-customize.el (mh-clean-message-header-flag)
759 (mh-visible-headers, mh-invisible-headers)
3d7ca223
BW
760 (mh-invisible-header-fields-set): Reworded to satisfy checkdoc.
761
762 * mh-loaddefs.el: Regenerated.
763
764 * mh-e.el (mh-inc-folder, mh-visit-folder, mh-read-msg-range):
765 Handle nil value of mh-large-folder properly.
766
a1506d29
JB
767 * mh-customize.el (mh-tool-bar-show-set, mh-tool-bar-letter-set)
768 (mh-tool-bar-folder-set, mh-tool-bar-folder-buttons)
3d7ca223
BW
769 (mh-invisible-headers, mh-invisible-header-fields-set): Checkdoc
770 fixes.
771 (mh-large-folder): Updated to allow for infinity. If
772 mh-large-folder is nil then all folders are deemed small.
773
7742002-12-23 Satyaki Das <satyaki@theforce.stanford.edu>
775
776 * mh-e.el (mh-inc-folder, mh-visit-folder): Emit a message if
777 threading was suppressed because the number of messages exceed
778 mh-large-folder.
779
7802002-12-23 Peter S Galbraith <psg@debian.org>
781
782 * mh-utils.el (mh-invisible-headers): Deleted. Moved to
783 mh-customize.el
784
785 * mh-customize.el (mh-invisible-header-fields): New
786 defcustom. Simple user interface to change mh-invisible-headers.
787 (mh-invisible-header-fields-set): New function called when
788 mh-invisible-header-fields is set.
789 (mh-invisible-headers): New function. Does the actual work of
790 building the variable mh-invisible-headers from
791 mh-invisible-header-fields.
792 (mh-invisible-headers): defvar moved from mh-utils.el
793
7942002-12-22 Satyaki Das <satyaki@theforce.stanford.edu>
795
796 * mh-speed.el (mh-speed-folder-size): Removed. Something very
797 similar appears as mh-folder-size.
798 (mh-speed-view): Simplified since the range selection logic has
799 been moved to mh-read-msg-range.
800 (mh-speed-parse-flists-output-line): Moved to mh-e.el as
801 mh-parse-flist-output-line.
802
803 * mh-funcs.el (mh-pack-folder): Use the new mh-read-msg-range.
804
805 * mh-e.el (mh-rescan-folder): Use the new mh-read-msg-range.
806 (mh-parse-flist-output-line): Moved from mh-speed.el where this
807 function was called mh-speed-parse-flists-output-line.
808 (mh-folder-size): Renamed from mh-speed-folder-size. The function
809 has been made more general and can be called from any buffer and
810 not just the speedbar buffer.
811 (mh-visit-folder): Use the new mh-read-msg-range (addresses SF
812 #655891).
813 (mh-read-msg-range): Rewritten.
814
8152002-12-21 Satyaki Das <satyaki@theforce.stanford.edu>
816
817 * mh-seq.el (mh-delete-subject-or-thread): New interactive
818 function that intelligently deletes messages based on threading,
819 if the folder is threaded, or on subject if folder isn't threaded.
820
821 * mh-utils.el (mh-show-delete-subject-or-thread): New interactive
822 function, callable from the show buffer, to intelligently delete
823 messages based on threading info or subject.
824 (mh-show-mode-map): Change binding of "k" to call
825 mh-show-delete-subject-or-thread.
826
827 * mh-e.el (mh-folder-mode-map): Change binding of "k" to call
828 mh-delete-subject-or-thread.
829
830 * mh-comp.el (mh-letter-mode-map): Add key binding for
831 mh-insert-identity.
832
833 * mh-loaddefs.el: Regenerated.
834
8352002-12-21 Peter S Galbraith <psg@debian.org>
836
837 * mh-customize.el (mh-tool-bar-letter-set): Bug fix. The
838 `tool-bar-add-item-from-menu' items were broken. I can't use my
839 constants there.
840
8412002-12-21 Peter S Galbraith <psg@debian.org>
842
843 * mh-alias.el (mh-alias-insert-file): Bug fix. I never checked
844 that an AliasFile entry existed in .mh_profile.
845
8462002-12-21 Peter S Galbraith <psg@debian.org>
847
848 * mh-customize.el (mh-alias-insertion-location): New defustom.
849 Specifies where new aliases are entered in alias files.
850
851 * mh-alias.el (mh-alias-add-alias-to-file): Use it.
852
8532002-12-21 Peter S Galbraith <psg@debian.org>
854
855 * mh-alias.el (mh-alias-add-alias-to-file): If ALIAS matches
856 exactly, prompt to [i]nsert before old value or [a]ppend after it.
857 (mh-alias-insert-file): Make sure we don't edit the passwd file.
858 Add optional argument for alias; If ALIAS is specified and it
859 already exists, try to return the file that contains it.
860 (mh-alias-which-file-has-alias): New function. Return the name of
861 writable file which defines ALIAS from list FILE-LIST.
862 (mh-alias-add-alias): Remove prompts for case of alias already
863 defined; done in mh-alias-add-alias-to-file.
864
8652002-12-21 Satyaki Das <satyaki@theforce.stanford.edu>
866
867 * mh-speed.el (mh-speed-folders-actual): Fix bug in parsing of
868 folder names that have spaces in them. The original function would
869 truncate the folder name at the first space.
870 (mh-speed-flists): Add -sequence option to flists. This guards
871 against the user specifying something other than the unseen
872 sequence in his .mh_profile.
873 (mh-speed-parse-flists-output-line): New function that parses a
874 single line in the output of flists to find the folder name and
875 the counts of unseesn and total messages.
876 (mh-speed-parse-flists-output): Fix parsing bug which truncates
877 the folder names at the first space.
878
879 * mh-index.el (mh-index-generate-pretty-name): New function which
880 generates a nicer name for the search results. It trims white
881 space at the beginning and end and replaces white space with
882 underscores within the search regexp.
883 (mh-index-search): Use mh-index-generate-pretty-name.
884
885 * mh-loaddefs.el: Regenerated.
886
8872002-12-20 Satyaki Das <satyaki@theforce.stanford.edu>
888
889 * mh-index.el (mh-index-new-folder): Add new folder to
890 mh-folder-list to enable name completion.
a1506d29 891 (mh-glimpse-execute-search, mh-swish-execute-search)
3d7ca223
BW
892 (mh-swish++-execute-search): Fix documentation.
893
894 * mh-seq.el (mh-thread-generate): Fixed a stupid bug where the wrong
895 folder could get 'scan'ed when generating the threaded view.
896
897 * mh-index.el (mh-index-search): If optional prefix arg is given
898 then the search in the current index buffer is redone.
a1506d29 899 (mh-glimpse-execute-search, mh-swish-execute-search)
3d7ca223
BW
900 (mh-namazu-execute-search): Documentation fixes.
901
902 * mh-e.el (mh-index-previous-search): New buffer local variable
903 stores parameters of search that created the buffer.
904 (mh-folder-mode): Make mh-index-previous-search buffer local.
905 (mh-visit-folder): Tweak the function so that only a single window
906 with the folder buffer is shown if mh-showing-mode is nil.
907
908 * mh-loaddefs.el: Regenerated.
909
9102002-12-19 Peter S Galbraith <psg@debian.org>
911
a1506d29 912 * mh-alias.el (mh-alias-add-alias): Bug fix.
3d7ca223
BW
913
9142002-12-19 Peter S Galbraith <psg@debian.org>
915
916 * mh-alias.el (mh-alias-add-alias): New interactive command. Add
917 ALIAS for ADDRESS in personal alias file.
918 (mh-alias-grab-from-field): New interactive command. Add ALIAS for
919 ADDRESS in personal alias file.
920 (mh-alias-add-address-under-point): New interactive
921 command. Insert an alias for email address under point.
922 (mh-alias-suggest-alias): New function. Suggest an alias for STRING.
923 (mh-alias-insert-file): New function. Return the alias file to
924 write a new entry in.
925 (mh-alias-address-to-alias): New function. Return the ADDRESS
926 alias if defined, or nil."
927 (mh-alias-from-has-no-alias-p): New function. Return t is From has
928 no current alias set. Used as tool-bar button enable function.
929 (mh-alias-add-alias-to-file): New function. Add ALIAS for ADDRESS
930 in alias FILE without alias check or prompts.
931
932 * alias.xpm, alias.pbm: New tool-bar icon for
933 mh-alias-grab-from-field.
934
935 * mh-e.el (mh-folder-line-matches-show-buffer-p): New function.
936 Return t if the message under point in folder-mode is in the show
937 buffer.
938
939 * mh-utils.el (mh-goto-address-find-address-at-point): New
940 function copied from goto-addr.el, which we don't want to
941 force-load on users. Find e-mail address around or before point.
942 (mh-address-mail-regexp): New defvar. A regular expression
943 probably matching an e-mail address.
944
945 * mh-customize.el (mh-alias-insert-file): New defcustom.
946 Filename to use to store new MH-E aliases.
947 (mh-tool-bar-folder-buttons): Enable mh-tool-bar-item-alias icon.
948
949 * mh-comp.el (mh-extract-from-header-value): New function.
950 Extract From: string from header.
951
9522002-12-19 Satyaki Das <satyaki@theforce.stanford.edu>
953
954 * mh-index.el (mh-index-update-single-msg): New defvar controls
955 max number of command line args.
956 (mh-index-execute): New function which is to be used
957 instead of xargs so that we don't give the shell too many command
958 line args.
959 (mh-index-update-maps): Use mh-index-execute instead of xargs.
960 (mh-index-search): Remove unused code. Also the first message in
961 folder buffer is made current.
962
9632002-12-18 Peter S Galbraith <psg@debian.org>
964
965 * mh-loaddefs.el: Regenerated.
966
967 * mh-comp.el (mh-letter-tool-bar-map): Moved to mh-customize.el
968
969 * mh-e.el (mh-folder-tool-bar-map): Moved to mh-customize.el
a1506d29 970
3d7ca223
BW
971 * mh-utils.el (mh-get-msg-num): autoloaded.
972 (mh-show-tool-bar-map): Moved to mh-customize.el
a1506d29 973
3d7ca223
BW
974 * mh-customize.el (mh-tool-bar-item-*): 33 new defconsts for
975 tool-bar setup and customization.
976 (mh-tool-bar-folder-buttons-set): New function to setup the
977 tool-bar after customization.
978 (mh-tool-bar-folder-buttons): New defcustom to specify which icons
979 appears in the tool-bar.
980 (mh-tool-bar-letter-buttons-set): New function to setup the
981 tool-bar after customization.
982 (mh-tool-bar-letter-buttons): New defcustom to specify which icons
983 appears in the tool-bar.
984 (mh-tool-bar-show-set): New function to setup mh-letter-tool-bar-map.
985 (mh-tool-bar-letter-set): New function to setup
986 mh-letter-tool-bar-map.
987
9882002-12-18 Satyaki Das <satyaki@theforce.stanford.edu>
989
990 * mh-e.el (mh-folder-mode-map): Change entries for "\t", "\M-\t"
991 and backtab to call mh-index-next-folder and
992 mh-index-previous-folder as appropriate.
993
994 * mh-index.el (mh-index-next-folder, mh-index-previous-folder):
995 New interactive functions which jumps to search results of next
996 and previous folders respectively.
997
998 * mh-loadddefs.el: Regenerated.
999
1000 * mh-index.el (mh-index-delete-folder-headers): Arrange for
1001 mh-goto-cur-msg to just go to the current message.
1002
1003 * mh-e.el (mh-visit-folder): Since mh-scan-folder erases the whole
1004 buffer anyway, we don't need to delete the folder headers. Also
1005 index-data is non-nil only when the buffer folder doesn't exist.
1006 So we need to call mh-make-folder.
1007 (mh-folder-mode): Fix bug in that mh-index-checksum-origin-map was
1008 not being made buffer local!
1009
10102002-12-17 Satyaki Das <satyaki@theforce.stanford.edu>
1011
1012 * mh-e.el (mh-visit-folder): Fix bug.
1013
1014 * mh-index.el (mh-md5sum-buffer): Buffer from which md5sum is run.
1015 (mh-index-folder-first, mh-index-folder-last)
1016 (mh-index-original-msg-list): Convenience macros aren't needed
1017 anymore since the data structure has been changed.
1018 (mh-index-update-single-msg): New function to update maps that
1019 relate MD5 checksums to actual messages and vice-versa for a
1020 single message.
1021 (mh-index-update-maps): Do the above for all messages. If some
1022 messages don't have MD5 checksums, they are annotated with the
1023 result of md5sum.
1024 (mh-index-search): Updated for the new version of mh-index-data.
1025 (mh-msg-exists-p): New function to test a message exists.
1026 (mh-index-insert-folder-headers): Updated for new mh-index-data.
1027 (mh-index-delete-folder-headers): New function used to eliminate
1028 original folder names from the buffer and make it look like a
1029 plain folder buffer. This is used from mh-process-commands.
1030 (mh-index-visit-folder): Use new version of mh-index-data.
1031 (mh-index-match-checksum): New function which checks if the
1032 X-MHE-Checksum header of a message matches.
1033 (mh-index-execute-commands): New function that rmm's the original
1034 messages. Then after mh-execute-commands executes it will seem
1035 that the original messages were executed upon. This completes the
1036 fix of SF #623321.
1037 (mh-checksum-buffer): Renamed from mh-md5sum-buffer.
1038 (mh-checksum-cmd, mh-checksum-parser): New globals to allow
1039 different checksum programs to be used.
1040 (mh-checksum-choose): New functions to find a checksum program.
1041 (mh-openssl-parser, mh-md5sum-parser, mh-md5-parser): Functions to
1042 parse the output of md5, md5sum and openssl.
1043 (mh-index-update-maps): Use checksum parsing function.
1044 (mh-index-search): Set checksum choice. Add a call to recenter,
1045 otherwise the window point in the index buffer doesn't get set
1046 properly.
1047
1048 * mh-funcs.el (mh-pack-folder, mh-sort-folder): Enable these
1049 functions in folders created by index search.
1050
1051 * mh-e.el (mh-index-msg-checksum-map)
1052 (mh-index-checksum-origin-map): New buffer local variables that
1053 keep track of message checksums (used to implement
1054 refiling/deletion for folders created by index folders).
1055 (mh-last-msg): Make the function behave like mh-first-msg.
1056 (mh-visit-folder): Add new optional argument which initializes
1057 folders created by mh-index-search.
1058 (mh-folder-mode): Make the variables mh-index-msg-checksum-map and
1059 mh-index-checksum-origin-map buffer local.
1060 (mh-process-commands): Call mh-index-execute-commands when called
1061 from an index search buffer. This will reflect the changes being
1062 made in the search folder to the original folders.
1063
1064 * mh-loaddefs.el: Regenerated.
1065
10662002-12-16 Satyaki Das <satyaki@theforce.stanford.edu>
1067
1068 * mh-index.el (mh-index-insert-folder-headers): Fix a bug which
1069 caused the folder buffer to be marked as modified after rescanning
1070 an index folder.
1071
10722002-12-15 Satyaki Das <satyaki@theforce.stanford.edu>
1073
1074 * mh-e.el (mh-visit-folder): The function should insert folder
1075 names if it is visiting a folder created by index search.
1076
1077 * mh-index.el (mh-index-insert-folder-headers): The function now
1078 maintains the old value of buffer-modified-p and temporarily makes
1079 the buffer writable.
1080
1081 * mh-utils.el (mh-show-index-visit-folder): New interactive
1082 function callable from show buffer that displays search results
1083 from one folder.
1084 (mh-show-mode-map): Key binding for "v".
1085
1086 * mh-speed.el: Fix credits.
a1506d29
JB
1087 (mh-index-folder-speedbar-buttons)
1088 (mh-index-show-speedbar-buttons)
1089 (mh-index-folder-speedbar-key-map)
1090 (mh-index-show-speedbar-key-map)
1091 (mh-index-folder-speedbar-menu-items)
3d7ca223
BW
1092 (mh-index-show-speedbar-menu-items): Removed since the modes
1093 mh-index-folder-mode and mh-index-show-mode no longer exist.
1094 (mh-speed-extract-folder-name): Remove the bits about
1095 mh-index-folder-mode and mh-index-show-mode.
1096
1097 * mh-seq.el (mh-copy-seq-to-eob): Updated to work properly with
1098 index search results.
1099 (mh-region-to-msg-list): Skip over non-scan lines.
1100 (mh-thread-inc, mh-thread-add-spaces, mh-thread-folder): Skip
1101 non-scan lines when populating mh-thread-scan-line-map.
1102 (mh-thread-folder, mh-toggle-threads): Move the check for buffer
1103 modification from mh-thread-folder to mh-toggle-threads.
1104 (mh-toggle-threads): When returning to unthreaded view insert the
1105 folder names if called from a index folder.
1106
1107 * mh-index.el: Fix credits and update commentary.
1108 (font-lock-defaults, mh-index-buffer, mh-index-show-buffer)
1109 (mh-index-ma-x-msg-index, mh-index-other-buffer)
1110 (mh-index-matches, mh-index-previous-window-configuration)
1111 (mh-index-current-msg, mh-index-folder-mode-keymap)
1112 (mh-index-button-map, mh-index-folder-mode-help-messages): Remove
1113 eliminated variables.
1114 (mh-index-folder): New variable sets the MH folder under which the
1115 index searches are stored.
1116 (mh-index-folder-first, mh-index-folder-last)
1117 (mh-index-original-msg-list): Convenience macros used to pull data
1118 elements out of a list. If needed setf can be used to change them
1119 as well.
1120 (mh-index-search): Rewritten to create real folders where all the
1121 normal folder operation. This partially fixes SF #623321 (refiles
1122 and deletes doesn't work on original messages).
1123 (mh-index-find-max-width, mh-index-search-again)
1124 (mh-index-insert-scan, mh-index-callback, mh-index-search)
1125 (mh-index-notate, mh-index-show, mh-index-header-display)
1126 (mh-index-next, mh-index-folder-mode, mh-index-show-mode):
1127 Functions, macros and modes removed.
1128 (mh-folder-exists-p): New function to check if a folder exists.
1129 (mh-index-new-folder): Generate a new folder name from a given
1130 base string that mimics the way emacs generates buffer names.
1131 (mh-index-insert-folder-headers): Insert folder names among the
1132 search results.
1133 (mh-index-visit-folder): New interactive function to show the
1134 search results of one individual folder.
1135 (mh-swish++-execute-search): Update documentation.
1136
1137 * mh-funcs.el (mh-pack-folder, mh-sort-folder): Disable these
1138 functions if index search results are being viewed.
1139
1140 * mh-e.el (mh-folder-font-lock-keywords): Add highlight for
1141 folder.
1142 (mh-index-data): New buffer local variable that will be used to
1143 store info about index search results.
1144 (mh-rescan-folder): Implement rescanning for index search results.
1145 (mh-folder-mode): Make mh-index-data buffer local.
1146 (mh-remove-all-notation): Modified to take into account not all
1147 lines in the folder buffer are normal scan lines.
1148 (mh-folder-mode-map): Add key binding for "v" to jump to original
1149 folder narrowed to search results.
1150
1151 * mh-customize.el (mh-index-folder-face): Make it bold so that it
1152 will look like before.
1153
1154 * mh-loaddefs.el: Regenerated.
1155
11562002-12-12 Satyaki Das <satyaki@theforce.stanford.edu>
1157
1158 * mh-seq.el (mh-map-to-seq-msgs): Modified so that it can be given
1159 a list of messages in addition to a sequence.
1160 (mh-region-to-sequence, mh-region-to-msg-list): The function
1161 mh-region-to-msg-list replaces mh-region-to-sequence. The new
1162 function avoids creating a dummy sequence in MH-E.
1163 (mh-thread-delete, mh-thread-refile, mh-put-msg-in-seq): Modified
1164 to use mh-region-to-msg-list.
1165
1166 * mh-funcs.el (mh-copy-msg): Modified to use mh-region-to-msg-list.
1167
1168 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Modified to use
1169 mh-region-to-msg-list.
1170
1171 * mh-comp.el (mh-forward): Modified to use mh-region-to-msg-list.
1172 The buffer-local variable mail-header-separator is no longer
1173 bound. This fixes a bug where the default value of
1174 mail-header-separator gets used if mh-forward is called in a fresh
1175 emacs session.
1176 (mh-annotate-msg): Update this so that it will handle message
1177 lists too.
1178 (mh-insert-letter): Make the test stronger. Since %d is being used
1179 the argument better be an integer.
1180
1181 * mh-loaddefs.el: Regenerated.
1182
11832002-12-11 Satyaki Das <satyaki@theforce.stanford.edu>
1184
1185 * mh-funcs.el (mh-copy-msg): Add support for transient-mark-mode.
1186 If mark is active and transient-mark-mode is enabled then all the
1187 messages in the region are copied.
1188
1189 * mh-seq.el (mh-list-sequences): Use mh-coalesce-msg-list to print
1190 messages in sequence nicely. The prompt for the folder is removed
1191 (the current folder is always used) and the output is made nicer
1192 by not overflowing the screen width.
1193
1194 * mh-loaddefs.el: Regenerated.
1195
11962002-12-09 Satyaki Das <satyaki@theforce.stanford.edu>
1197
1198 * mh-comp.el (mh-letter-complete): Checkdoc fix.
1199
1200 * mh-seq.el (mh-thread-current-indentation-level): New function
1201 which returns the thread indentation level of current message.
1202 (mh-thread-next-sibling, mh-thread-previous-sibling): New
1203 interactive functions to jump to the next and previous siblings in
1204 thread tree respectively.
1205 (mh-thread-immediate-ancestor): New function to jump to ancestor
1206 of current message in thread tree.
1207 (mh-thread-ancestor): New interactive function to jump to
1208 immediate ancestor or to root message of current thread depending
1209 on optional argument.
1210
a1506d29 1211 * mh-utils.el (mh-show-thread-ancestor)
3d7ca223
BW
1212 (mh-show-thread-next-sibling, mh-show-thread-previous-sibling):
1213 Interactive functions callable from the show buffer.
1214 (mh-show-thread-map): Bindings for Tu, Tp and Tn.
1215
1216 * mh-e.el (mh-thread-map): Bindings for Tu, Tp and Tn.
1217
1218 * mh-loaddefs.el: Regenerated.
1219
12202002-12-09 Satyaki Das <satyaki@theforce.stanford.edu>
1221
1222 * mh-seq.el (mh-region-to-sequence): Change name of region
1223 sequence created to 'mhe-region. This avoids any chance of
1224 collision with actual MH sequences.
1225 (mh-put-msg-in-seq, mh-thread-delete, mh-thread-refile): Change
1226 name of region sequence used to 'mhe-region. Also delete the
1227 'mhe-region sequence when done.
1228
1229 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Same as above.
1230
1231 * mh-comp.el (mh-forward): Same as above.
1232
1233 * mh-loaddefs.el: Regenerated.
1234
12352002-12-08 Bill Wohler <wohler@newt.com>
1236
1237 * mh-alias.el: Edited documentation. Broke up file into 2
1238 sections: Alias Loading and Alias Expansion. Made terminology
1239 consistent (replaced expand, substitute, and translate with
1240 expand).
1241 (mh-alias-reload): Brought message in line with coding conventions
1242 and made more concise too.
1243 (mh-alias-translate): Renamed to mh-alias-expand.
1244 (mh-alias-substitute-aliases-flag): Renamed to
1245 mh-alias-expand-aliases-flag.
1246 (mh-alias-reload-local-users): Renamed to mh-alias-local-users.
1247 Now just returns an alist of local users rather than have
1248 side-effects.
1249 (mh-alias-reload): Set timestamp at beginning of function to catch
1250 edge case when alias added just after ali runs. Changed logic to
1251 reflect return value of mh-alias-local-users.
1252
1253 * mh-customize.el (mh-alias-substitute-aliases-flag): Renamed to
1254 mh-alias-expand-aliases-flag.
1255 (mh-alias-local-users): Fixed documentation.
1256
1257 * mh-loaddefs.el: Regenerated
1258
12592002-12-08 Satyaki Das <satyaki@theforce.stanford.edu>
1260
1261 * mh-e.el (require): Load Gnus at compile time so that the
1262 constant gnus-version is defined when MH-E is being compiled.
1263 (mh-macro-expansion-time-gnus-version, mh-run-time-gnus-version):
1264 Use the constant gnus-version instead of the function gnus-version
1265 to find out about gnus version information.
1266 (gnus-version): Remove the autoload since it is not needed any
1267 more.
1268
12692002-12-08 Bill Wohler <wohler@newt.com>
1270
1271 * mh-e.el (mh-version): Moved compilation information in front of
1272 Emacs information. The idea is that you start at MH-E and move
1273 outwards. Show N/A if Gnus not compiled (be explicit). Matched
1274 coding style with other output statements. (Aside: not that
1275 efficiency matters here, but fewer calls to format have to be
1276 faster, right? ;-). Matched output style of old output to new
1277 statement--liked Satyaki's indentation better ;-).
1278
12792002-12-08 Satyaki Das <satyaki@theforce.stanford.edu>
1280
1281 * mh-e.el (gnus-version): Autoload the function for use in
1282 mh-version.
1283 (mh-macro-expansion-time-gnus-version): New macro that finds the
1284 Gnus version at macro expansion time.
1285 (mh-run-time-gnus-version): New function to find the Gnus version
1286 at run time.
1287 (mh-version): Add information about Gnus versions available at
1288 compile time and run time.
1289
12902002-12-07 Peter S Galbraith <psg@debian.org>
1291
1292 * mh-alias.el (mh-alias-ali): Add optional argument. if USER is
1293 t, then assume ALIAS is an address and call ali with option -user.
1294
1295 * mh-alias.el (mh-alias-filenames): if ARG is t, appends list of
1296 files from `mh-alias-system-aliases' to output list obtained from
1297 mhparam output user list only.
1298 (mh-alias-tstamp): Use it.
1299
13002002-12-05 Satyaki Das <satyaki@theforce.stanford.edu>
1301
1302 * mh-mime.el (mh-inline-vcard-p): A new function which decides if
1303 a vcard should be displayed inline.
1304 (mh-mime-display-single): Use mh-inline-vcard-p to display
1305 attached vcard as a signature if no other signature is present
1306 (this partially addresses SF #649216).
1307
13082002-12-05 Peter S Galbraith <psg@debian.org>
1309
1310 * mh-comp.el (mh-send-letter): Edits docs for mh-mml-to-mime
1311 getting run if variable `mh-mml-compose-insert-flag' is set.
1312 (mh-get-header-field): use buffer-substring-no-properties instead
1313 of buffer-substring.
1314
13152002-12-04 Peter S Galbraith <psg@debian.org>
1316
1317 * mh-loaddefs.el: Regenerated.
1318
1319 * mh-customize.el (mh-customize): Add ;;;###mh-autoload tag.
1320
13212002-12-04 Peter S Galbraith <psg@debian.org>
1322
1323 * mh-loaddefs.el: Regenerated.
1324
1325 * mh-comp.el (mh-letter-complete): New command to do alias or word
1326 completion in letter-mode.
1327 (mh-letter-mode-map): Add \M-\t binding for mh-letter-complete.
1328
1329 * mh-alias.el (mh-alias-letter-mode-expand-alias-hook): Obsolete.
1330 Replaced by mh-letter-complete command.
1331 (mh-alias-reload-maybe): New function to rebuild alias table if
1332 out of date.
1333 (mh-alias-letter-expand-alias): No longer interactive. Use
1334 mh-letter-complete instead.
1335
13362002-12-04 Peter S Galbraith <psg@debian.org>
1337
1338 * mh-customize.el (mh-letter-complete-function): New defcustom.
1339 Function to call when completing outside of fields specified to
1340 aliases.
1341
1342 * mh-alias.el (mh-alias-filenames):
1343 s/mh-mhparam-component/mh-profile-component/
1344 (mh-profile-component): Move to mh-utils.el and make interactive.
a1506d29 1345 (mh-read-address): Make it autoloaded.
3d7ca223
BW
1346
1347 * mh-loaddefs.el: Regenerated.
1348
1349 * mh-comp.el (mh-read-address): Removed. Replaced by mh-alias
1350 version.
1351
1352 * mh-utils.el (mh-profile-component): Moved from mh-alias.el.
1353
13542002-12-04 Satyaki Das <satyaki@theforce.stanford.edu>
1355
1356 * mh-seq.el (mh-msg-is-in-seq): Formatting change.
1357
1358 * mh-index.el (mh-index-insert-scan): Remove unused variable.
1359
13602002-12-04 Bill Wohler <wohler@newt.com>
1361
1362 * mh-loaddefs.el: Regenerated.
1363
1364 * Makefile (MH-E-SRC): Moved mh-loaddefs.el into MH-E-LOADDEFS as
1365 this was causing a cycle.
1366 (MH-E-LOADDEFS): New variable to house mh-loaddefs.el.
1367 (emacs): Reintroduced autoloads.
1368 (autoloads): We're baaa-aack!
1369 (dist, install-emacs): Use MH-E-LOADDEFS.
1370
1371 * mh-comp.el (mh-customize): Moved to mh-customize.el.
a1506d29 1372
3d7ca223
BW
1373 * mh-customize.el (mh-customize): Moved here from mh-comp. Makes
1374 more sense, doesn't it?
1375
1376 * mh-alias.el, mh-comp.el, mh-e.el, mh-index.el, mh-mime.el,
1377 mh-pick.el, mh-speed.el: Added mh-autoload cookie to all
1378 interactive functions.
1379
13802002-12-04 Satyaki Das <satyaki@theforce.stanford.edu>
1381
1382 * Makefile (world): Remove target.
1383 (mh-loaddefs.el): Add comment that only GNU Emacs can be used to
1384 regenerate mh-loaddefs.el.
1385
1386 * mh-make.el: Removed.
1387
13882002-12-04 Mark D. Baushke <mdb@gnu.org>
1389
1390 * mh-e.el (recursive-load-depth-limit): Only modify the limit
1391 if it is an integer.
1392
13932002-12-04 Peter S Galbraith <psg@debian.org>
1394
1395 * mh-utils.el (mh-header-field-beginning): New function. Move to
1396 the beginning of the current header field.
1397
13982002-12-04 Satyaki Das <satyaki@theforce.stanford.edu>
1399
1400 * mh-make.el (mh-files): Read in the MH-E filenames from the
1401 environment variable where the Makefile puts it.
1402 (mh-generate-autoloads, step2): Simplified since we now have the
1403 complete file names.
1404
1405 * Makefile (world): Pass the MH-E files into the script, so that
1406 the filenames don't need to be repeated in the script.
1407
14082002-12-04 Bill Wohler <wohler@newt.com>
1409
1410 * mh-loaddefs.el: New file. Check in automatically generated file
1411 and include in package for the benefit of those who don't want to
1412 or can't compile.
1413
1414 * Makefile (MH-E-SRC): Added mh-loaddefs.el now that it is checked
1415 in and will be packaged.
1416 (emacs): Removed autoloads. Adding mh-loaddefs.el to MH-E-SRC is
1417 sufficient to build it.
1418 (compile): Depend on MH-E-SRC instead of MH-E-OBJ and pass $? into
1419 emacs so that Emacs is only invoked once to compile files. This
1420 speeds things up by a factor of 3. It would be nice to only pass
1421 those files that have been modified, but Emacs 21.4 will have
1422 batch-byte-compile-if-not-done which we might be able to copy into
1423 mh-make.el (or my proposed mh-e-dev.el which would be more
1424 general-purpose).
1425 (.SUFFIXES): Removed. Now that compile works directly on the
1426 sources, the implicit rule is obsolete.
1427 (autoloads): Deleted. See emacs change above.
1428
14292002-12-03 Bill Wohler <wohler@newt.com>
1430
a1506d29 1431 * Makefile (MH-E-SRC, emacs):
3d7ca223
BW
1432
14332002-12-03 Satyaki Das <satyaki@theforce.stanford.edu>
1434
1435 * mh-make.el (mh-emacs): Make failing condition more strict.
1436 (mh-loaddefs-end): Remove redundant statement.
1437
1438 * Makefile (world): A little typo. The bug didn't seem to make any
1439 difference though.
1440
1441 * mh-make.el: New script that compiles MH-E.
1442 (mh-loaddefs-beginning, mh-loaddefs-end): Don't save the autoloads
1443 file in between. Only save at the end.
a1506d29 1444 (mh-emacs-generate-autoloads, mh-xemacs-generate-autoloads)
3d7ca223
BW
1445 (mh-generate-autoloads): Replace the separate functions in Emacs
1446 and XEmacs with one that works in both variants. This simplifies
1447 the script a lot.
1448 (mh-generate-autoloads): doc fix.
1449
1450 * Makefile (world): New target which works for both GNU Emacs and
1451 XEmacs.
1452
14532002-12-03 Peter S Galbraith <psg@debian.org>
1454
1455 * mh-alias.el (mh-mhparam-component): Don't raise error if call to
1456 mhparam fails.
1457
1458 * mh-alias.el (mh-alias-letter-expand-alias): Build alias table if
1459 not already available.
1460
14612002-12-03 Bill Wohler <wohler@newt.com>
1462
1463 * mh-customize.el (mh-show-threads-flag): Alphabetized.
1464
14652002-12-03 Jeffrey C Honig <jch@honig.net>
1466
1467 * Makefile: Moved .PHONY rule after all rule for compatibility
1468 with BSD/OS's old pmake.
1469
14702002-12-03 Mark D Baushke <mdb@gnu.org>
1471
1472 * mh-e.el (mh-get-new-mail): Simplify no-new-mail test.
1473 (mh-add-cur-notation): Remove unnecessary function.
a1506d29 1474
3d7ca223
BW
14752002-12-03 Peter S Galbraith <psg@debian.org>
1476
1477 * mh-identity.el (mh-identity-make-menu): Check if
1478 'mh-letter-mode-map' is bound, since this code also gets run when
1479 mh-customize.el is loaded at startup.
1480
14812002-12-03 Satyaki Das <satyaki@theforce.stanford.edu>
1482
1483 * mh-customize.el (mh-show-threads-flag): New customizable
1484 variable which controls if new folders start of in threaded mode
1485 (closes SF #646794).
1486
1487 * mh-e.el (mh-rescan-folder): Fix the function so that threading
1488 is preserved across rescans.
1489 (mh-visit-folder, mh-inc-folder): The folder is threaded if it was
1490 already threaded or if mh-show-threads-flag is non-nil and the
1491 number of scan lines is fewer than mh-large-folders (closes SF
1492 #646794).
1493
14942002-12-02 Mark D Baushke <mdb@gnu.org>
1495
1496 * mh-e.el (mh-add-cur-notation): New function to mark the
1497 current message with the mh-note-cur character.
1498 (mh-get-new-mail): Use mh-add-cur-notation to undo the work of
1499 mh-remove-cur-notation if there was no new mail (closes SF #647681).
a1506d29 1500
3d7ca223
BW
1501 * mh-e.el (mh-set-cmd-note): Do not update the default mh-cmd-note
1502 value (closes SF #643701).
1503
15042002-12-02 Peter S Galbraith <psg@debian.org>
1505
1506 * mh-alias.el (mh-alias-reload): Renamed from mh-alias-learn-aliases.
1507 (mh-alias-load-local-users): Renamed from mh-alias-learn-local-users.
1508 (mh-alias-passwd-alist): New variable, holding aliases extracted
1509 from the passwd file.
1510 (mh-alias-tstamp): New variable storing the timestamp for alias
1511 list generation.
1512 (mh-read-address, mh-alias-reload, mh-alias-reload-local-users):
1513 Complete rewrite.
1514 (mh-alias-minibuffer-confirm-address): Use mh-alias-translate.
1515 (mh-alias-translate): New function. Return translation for alias,
1516 checking if in blind or passwd list.
1517 (mh-alias-letter-expand-alias): Rewrite using
1518 mail-abbrev-complete-alias from mailabbrev.el
1519 (mh-alias-expand-alias-map): New variable.
1520 (mh-alias-ali): New function. Return formatted string of
1521 translated ALIAS from ali.
1522 (mh-mhparam-component): New function. Return COMPONENT value from
1523 mhparam, or nil if unset.
1524 (mh-alias-filenames): New function. Provide list of alias
1525 filenames from mhparam, or nil if none are set.
1526
1527 * mh-customize.el (mh-alias-display-blind-name-on-completion-flag):
1528 Obsoleted.
1529 (mh-alias-timestamp): Renamed to mh-alias-system-aliases.
1530
15312002-12-02 Bill Wohler <wohler@newt.com>
1532
1533 * Makefile (mh-loaddefs.el): Suppress creation of backup file.
1534
15352002-12-02 Mark D. Baushke <mdb@gnu.org>
1536
1537 * Makefile (mh-loaddefs.el): Simplify rule.
1538
1539 * Makefile (clean): Remove mh-loaddefs.el* for good measure.
1540 ($(MH-E-OBJ)): Depend on mh-loaddefs.el to compile these.
1541 (autoloads, mh-loaddefs.el): Revamp rules.
1542 (mh-loaddefs.el-tail, autoloads-gen): Remove rules.
1543
1544 * mh-e.el (recursive-load-depth-limit): Do not try to
1545 bump the value unless the variable exists.
1546
1547 * mh-e.el (recursive-load-depth-limit): Bump value of
1548 recursive-load-depth-limit to 50 to allow emacs 21.1 which
1549 normally has a default value of 10 to be able to compile MH-E.
1550
15512002-12-02 Satyaki Das <satyaki@theforce.stanford.edu>
1552
1553 * mh-funcs.el (mh-pack-folder, mh-sort-folder): Fix the functions
1554 so that threading is preserved (needed for SF #646794).
1555
a1506d29 1556 * mh-identity.el (mh-identity-signature-start)
3d7ca223
BW
1557 (mh-identity-signature-end): Checkdoc fixes.
1558
1559 * mh-e.el (mh-previous-unread-msg, mh-next-unread-msg): Checkdoc
1560 fixes.
1561
15622002-12-01 Satyaki Das <satyaki@theforce.stanford.edu>
1563
1564 * mh-identity.el (compile): Make mh-identity.el compile without
1565 warnings.
1566
1567 * mh-e.el (mh-previous-unread-msg, mh-next-unread-msg): New
1568 interactive functions that go to next and previous unread
a1506d29 1569 messages (closes SF #630328).
3d7ca223
BW
1570 (mh-folder-mode-map): Add key bindings for M-n and M-p to
1571 mh-folder-mode-map.
1572
a1506d29 1573 * mh-utils.el (mh-show-next-unread-msg)
3d7ca223
BW
1574 (mh-show-previous-unread-msg): New interactive functions that go
1575 to the next and previous unread messages respectively. These are
1576 callable from the show buffer.
1577 (mh-show-mode-map): Add key bindings for M-n and M-p to
1578 mh-show-mode-map.
1579
15802002-12-01 Bill Wohler <wohler@newt.com>
1581
1582 * mh-mime.el (mh-defun-compat): Make it indent like a defun.
1583
a1506d29 1584 * mh-index.el (mh-defun-index): Make it indent like a defun.
3d7ca223
BW
1585
1586 * mh-customize.el: New file (closes SF #643722).
1587
1588 * Makefile (MH-E-SRC): Added mh-customize.el (closes SF #643722).
1589
1590 * mh-speed.el, mh-pick.el, mh-mime.el, mh-index.el, mh-e.el,
1591 mh-comp.el: Moved all defgroups, defcustoms, and deffaces to
1592 mh-customize.el (closes SF #643722).
1593
1594 * mh-utils.el (mh-xemacs-flag): Moved here from below since
1595 needed by mh-customize.el.
1596 (mh-customize): Required. mh-invisible-headers)
1597 (mh-bury-show-buffer-flag, mhl-formfile):
1598 Moved all defgroups, defcustoms, and deffaces to mh-customize.el
1599 (closes SF #643722) .
1600
1601 * mh-identity.el (mh-comp-loaded): New variable in a desparate
1602 attempt to prevent an infinite loop.
1603 (eval-when-compile): Was able to remove these defvars as they are
1604 now predefined in mh-loaddefs and mh-customize.
1605 (mh-identity-list-set): Added ;;;###mh-autoload cookie.
1606 Moved all defgroups, defcustoms, and deffaces to mh-customize.el
1607 (closes SF #643722).
1608
1609 * mh-alias.el (mh-e): Require this, as it needs defcustoms, which
1610 is in mh-customize which is required by mh-utils which is required
1611 by mh-e.
1612 Moved all defgroups, defcustoms, and deffaces to mh-customize.el
1613 (closes SF #643722).
1614
16152002-11-30 Satyaki Das <satyaki@theforce.stanford.edu>
1616
1617 * mh-e.el (mh-thread-map): Add key bindings "Td" and "To" (closes
1618 SF #630493).
1619 (mh-help-messages): Update help message for prefix map.
1620 (mh-help-messages): Doc fix.
1621 (mh-help-messages): Really fix it.
1622
1623 * mh-utils.el (mh-show-thread-delete, mh-show-thread-refile): New
1624 interactive functions corresponding to mh-thread-delete and
1625 mh-thread-refile callable from the show buffer.
1626 (mh-show-thread-map): Add key bindings for "Td" "To".
1627
1628 * mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-rename-seq)
1629 (mh-narrow-to-subject, mh-delete-subject, mh-toggle-threads): Add
1630 mh-autoload cookies.
1631 (mh-thread-find-children): New function which finds the region
1632 containing all children of a message.
1633 (mh-thread-delete): New interactive function that marks for
1634 deletion the current message and its children.
1635 (mh-thread-refile): New interactive function that marks for
1636 refiling the current message and its children.
1637
16382002-11-30 Bill Wohler <wohler@newt.com>
1639
1640 * mh-funcs.el, mh-identity.el, mh-index.el, mh-pick.el, mh-seq.el:
1641 Removed MH-E autoloads. These are now provided by mh-loaddefs.el.
1642 Added ;;;###mh-autoload tag to selected functions so that
1643 autoloads for those functions can be automatically created in
1644 mh-loaddefs.el (closes half of SF #643722).
1645
1646 * mh-mime.el (mh-buffer-data): Moved to mh-utils where it is used.
1647 Added ;;;###mh-autoload tag to selected functions so that
1648 autoloads for those functions can be automatically created in
1649 mh-loaddefs.el (closes half of SF #643722)..
1650
1651 * mh-utils.el (mh-loaddefs): Added require.
1652 (mh-buffer-data): Moved here from mh-mime.el as it is used in
1653 mh-display-msg.
1654 (mh-set-cmd-note): Moved to mh-e.el.
1655 Removed MH-E autoloads. These are now provided by mh-loaddefs.el.
1656 Added ;;;###mh-autoload tag to selected functions so that
1657 autoloads for those functions can be automatically created in
1658 mh-loaddefs.el (closes half of SF #643722)..
1659
1660 * mh-e.el (mh-set-cmd-note): Moved here from mh-utils.el since it
1661 uses mh-scan-format-file which is defined here.
1662 Removed MH-E autoloads. These are now provided by mh-loaddefs.el.
1663 Added ;;;###mh-autoload tag to selected functions so that
1664 autoloads for those functions can be automatically created in
1665 mh-loaddefs.el (closes half of SF #643722)..
1666
1667 * mh-comp.el, mh-speed.el (mh-utils): Removed require. mh-utils is
a1506d29 1668 provided via mh-e.el.
3d7ca223
BW
1669 Removed MH-E autoloads. These are now provided by mh-loaddefs.el.
1670 Added ;;;###mh-autoload tag to selected functions so that
1671 autoloads for those functions can be automatically created in
1672 mh-loaddefs.el (closes half of SF #643722)..
1673
1674 * Makefile (emacs): Add dependency on autoloads.
1675 (clean): Remove mh-loaddefs.el too.
1676 (autoloads): New target. Builds mh-loaddefs.el.
1677 (mh-loaddefs.el): New target. Initializes mh-loaddefs.el.
1678 (mh-loaddefs.el-tail): New target. Appends to mh-loaddefs.el.
1679 (autoloads-gen): Runs batch-update-autoloads to populate
1680 mh-loaddefs.el (closes half of SF #643722)..
1681 (auto-autoloads.elc): Renamed from autoloads to be explicit about
1682 file that's created.
1683 (custom-load.elc): Ditto.
1684
16852002-11-30 Satyaki Das <satyaki@theforce.stanford.edu>
1686
1687 * mh-seq.el (mh-thread-last-ancestor): New variable which keeps
1688 track of oldest ancestor of last message. If due to narrowing the
1689 common ancestor of two messages is lost then one of them is
1690 promoted to be the parent of the other. This variable helps in
1691 this process.
1692 (mh-thread-generate-scan-lines): Group messages which belong to
1693 the same thread tree, even if a common ancestor is no longer
1694 present.
1695 (mh-thread-folder, mh-copy-seq-to-eob, mh-thread-inc): Bind
1696 mh-thread-last-ancestor to nil when calling
1697 mh-thread-generate-scan-lines.
1698
1699 * mh-mime.el (font-lock): Font-lock required at compile time to
1700 avoid warning about font-lock-maximum-size
1701 (mh-display-smileys, mh-display-emphasis): Show graphical smileys
1702 and emphasis only if message isn't too large.
1703
1704 * mh-e.el (mh-visit-folder): Revisiting a buried folder which has
1705 been threaded or narrowed confuses MH-E. Even though the folder is
1706 displayed as not threaded and not narrowed, MH-E still believes
1707 the folder is in the previous state. This can cause problems when
1708 trying to narrow/thread the folder. The change fixes this.
1709
1710 * mh-mime.el (mh-mime-display-alternative): The setting of
1711 mh-display-buttons-for-inline-parts-flag was not being used when
1712 displaying one of the alternatives. This change fixes that.
1713
1714 * mh-comp.el (mh-show-buffer-message-number): Replace subseq with
1715 substring.
1716 (mh-filter-out-non-text): When filtering out MIME buttons from
1717 yanked text, the last line of the MIME part was getting lost. The
1718 fix avoids that and removes only the last new line instead.
1719
17202002-11-29 Peter S Galbraith <psg@debian.org>
1721
1722 * Makefile (MH-E-SRC): Add mh-alias.
1723
1724 * mh-alias.el: Assign copyright to FSF instead of myself.
1725 (mh-read-address): Add support for emacs-21's
1726 completing-read-multiple to prompt for multiple entries.
1727 (mh-alias-PC-complete-address): Deleted.
1728 (mh-alias-learn-aliases): Use mh-exec-cmd-quiet instead of old kludge.
a1506d29 1729 (mh-alias-letter-mode-expand-alias-hook): Simplify.
3d7ca223
BW
1730 (mh-alias-hostname): Deleted.
1731 (mh-alias-substitute-aliases-flag): Change default to nil.
1732 (mh-alias-display-blind-name-on-completion-flag) Change default to
1733 nil.
1734 (mh-alias-alist): Now holds alias values.
1735 (mh-alias-lowercase-alist): Deleted.
1736 (mh-alias-minibuffer-confirm-address, mh-alias-learn-aliases)
1737 (mh-alias-learn-local-users, mh-alias-letter-expand-alias): Use
1738 new mh-alias-alist instead of old mh-alias-lowercase-alist.
1739
1740 * mh-alias.el: Moved from contrib/ directory. Now part of MH-E!
1741
1742 * Makefile (MH-E-SRC): Add mh-identity.
1743
1744 * mh-identity.el (mh-compose-and-send-mail, mh-insert-identity)
1745 (mh-identity-make-menu, mh-identity-default, mh-identity-menu):
1746 Moved to mh-comp.el.
1747
1748 * mh-comp.el (mh-compose-and-send-mail): Add mh-identity support.
1749 (mh-insert-identity, mh-identity-make-menu, mh-identity-default)
1750 (mh-identity-menu): Added from mh-identity.el
1751
17522002-11-29 Bill Wohler <wohler@newt.com>
1753
1754 * mh-comp.el, mh-e.el, mh-funcs.el, mh-identity.el, mh-index.el,
1755 mh-mime.el, mh-pick.el, mh-seq.el, mh-speed.el, mh-utils.el:
1756 Ran indent-region, reformatted long lines, ran untabify.
1757 (indent-tabs-mode): Set file local variable to nil.
a1506d29 1758
3d7ca223
BW
17592002-11-29 Bill Wohler <wohler@newt.com>
1760
1761 * Released MH-E version 7.0.
a1506d29 1762
3d7ca223
BW
1763 * mh-e.el (Version, mh-version): Updated for release 7.0.
1764
1765 * mh-comp.el (subseq, search): Require cl instead of autoloading
1766 these due to compilation warnings in CVS Emacs.
1767
17682002-11-23 Bill Wohler <wohler@newt.com>
1769
1770 * MH-E-NEWS: Emphasize the renaming of the variables at the top of
1771 the notes.
1772
17732002-11-22 Satyaki Das <satyaki@theforce.stanford.edu>
1774
1775 * mh-utils.el (mh-show-mode-map): Remove binding for RET since it
1776 is not needed and the binding is more useful to toggle display of
1777 MIME parts.
1778
1779 * mh-mime.el (mh-mime-button-commands): Remove bindings for "i"
1780 and "o" from MIME buttons.
1781 (mh-insert-mime-button): Change comment to reflect change in
1782 button key map.
1783
17842002-11-21 Bill Wohler <wohler@newt.com>
1785
1786 * Released MH-E version 6.1.91.
a1506d29 1787
3d7ca223
BW
1788 * mh-e.el (Version, mh-version): Updated for release 6.1.91.
1789
1790 * MH-E-NEWS: Inline HTML parts supported with Gnus 5.10, not 5.9.
1791
17922002-11-21 Mark D. Baushke <mdb@gnu.org>
1793
1794 * mh-comp.el (mh-letter-insert-signature-hook): This should be in
1795 customize-group mh-compose.
1796
17972002-11-21 Satyaki Das <satyaki@theforce.stanford.edu>
1798
1799 * mh-utils.el (load): Load mm-view.el here so that
1800 mm-inline-text-html would be defined if available.
1801 (mh-mm-inline-media-tests): If mm-inline-text-html is available
1802 then use it, otherwise fall back on using mm-inline-text (closes
1803 SF #641482).
1804
1805 * mh-mime.el (load): Remove the load of mm-view here since it
1806 happens in mh-utils.el now.
1807
18082002-11-15 Bill Wohler <wohler@newt.com>
1809
1810 * Released MH-E version 6.1.90.
a1506d29 1811
3d7ca223
BW
1812 * README (Compile): New section. Users must now compile MH-E due
1813 to the vagaries of the various versions of gnus.
1814
1815 * Makefile (MH-E-IMG): Added reply-all.pbm, reply-all.xpm,
1816 reply-from.pbm, reply-from.xpm, reply-to.pbm, reply-to.xpm.
1817 (MH-E-ETC-ETC): Added Makefile and README.
1818 (dist): Depend on all, so clean happens. Don't add .elc files to
1819 tarball as they are built upon installation now.
1820
18212002-11-15 Satyaki Das <satyaki@theforce.stanford.edu>
1822
1823 * mh-e.el (mh-process-commands): Fix a bug in mh-execute-commands.
1824 If called in threaded mode, cur was always getting set to the last
1825 message in the folder.
1826
18272002-11-14 Bill Wohler <wohler@newt.com>
1828
1829 * mh-e.el (Version, mh-version): Updated for release 6.1.90.
1830
1831 * MH-E-NEWS, README: Updated for release 7.0.
1832
1833 * mh-utils.el (mh-index-search): Added full docstring which new
1834 users will need before they run a search!
1835 (mh-swish++-execute-search, mh-swish-execute-search,
1836 mh-namazu-execute-search mh-glimpse-execute-search): Added
1837 autoloads with full docstrings for the same reason!
1838
1839 * mh-e.el (mh-limit-map): Removed / / alias for
1840 mh-narrow-to-subject.
1841
1842 * mh-utils.el (mh-show-thread-map): Removed / / alias for
1843 mh-show-narrow-to-subject.
1844
1845 * mh-seq.el (mh-delete-subject): Checkdoc fix.
1846
1847 * mh-e.el (mh-help-messages): Added / prefix character to help
1848 string. Tweaked / helpstring a little.
1849
18502002-11-14 Mark D. Baushke <mdb@gnu.org>
1851
1852 * mh-utils.el (mh-set-cmd-note): Fix nitpick by adding one to the
1853 width for cosmetic reasons.
1854
18552002-11-14 Peter S Galbraith <psg@debian.org>
1856
1857 * mh-identity.el (mh-insert-identity): Fix a few things undone by
1858 Jeff's patch.
1859 (mml-insert-tag): Add autoload.
1860
18612002-11-13 Mark D. Baushke <mdb@gnu.org>
1862
1863 * mh-identity.el (mh-insert-identity): A value of either nil or
1864 "" should cause the field to be removed.
1865 (mh-identity-list): Update the docstring.
1866
18672002-11-13 Peter S Galbraith <psg@debian.org>
1868
1869 * mh-e.el (mh-limit-map): New key map for limits (subject for now).
1870 * mh-utils.el (mh-show-limit-map): Same.
1871
1872 * mh-seq.el (mh-delete-subject): Renamed from
a1506d29 1873 mh-delete-subject-sequence.
3d7ca223
BW
1874 (mh-narrow-to-subject): Renamed from mh-narrow-to-subject-sequence.
1875 (mh-next-unseen-subject-sequence): Removed. :-(
1876 * mh-e.el: Use 'em
1877 * mh-seq.el: Use 'em.
1878
18792002-11-13 Mark D. Baushke <mdb@gnu.org>
1880
1881 * mh-e.el (mh-alt-show): New defalias for mh-show.
1882 (mh-alt-refile-msg): New defalias for mh-refile-msg.
1883 (mh-alt-send): New defalias for mh-send.
1884 (mh-folder-mode-map): Use mh-alt-show, mh-alt-refile-msg and
1885 mh-alt-send for the alias bindings.
1886 (mh-alt-visit-folder): New defalias for mh-visit-folder.
1887 (mh-folder-map): Use it.
1888 (mh-folder-message-menu): Revert previous change.
1889
18902002-11-13 Peter S Galbraith <psg@debian.org>
1891
1892 * mh-e.el (mh-folder-message-menu): Make key binding "o" appear in
a1506d29 1893 menu for mh-refile-msg.
3d7ca223
BW
1894
18952002-11-13 Satyaki Das <satyaki@theforce.stanford.edu>
1896
1897 * mh-seq.el (mh-thread-generate-scan-lines): In threaded view,
1898 scan lines of duplicate messages were too long. The change fixes
1899 that.
1900
19012002-11-13 Bill Wohler <wohler@newt.com>
1902
1903 * mh-utils.el (mh-adaptive-cmd-note-flag): Improved grammar in
1904 docstring.
1905
1906 * mh-speed.el (mh-speed-run-flists-flag): While documenting this
1907 variable in the release notes, I was unsure what would happen if
1908 set to nil. So, I clarified the docstring and indicated
1909 implications of setting this variable to nil, and offered manual
1910 workaround.
1911
19122002-11-13 Satyaki Das <satyaki@theforce.stanford.edu>
1913
1914 * mh-index.el (mh-index-quit): Fix documentation and run
1915 mh-before-quit-hook and mh-quit-hook.
1916
19172002-11-13 Bill Wohler <wohler@newt.com>
1918
1919 * mh-utils.el (with-mh-folder-updating): Renamed local variable
1920 mh-save-modification-flag to save-modification-flag.
1921
19222002-11-12 Bill Wohler <wohler@newt.com>
1923
1924 * mh-index.el (mh-index-keymap): Renamed to
1925 mh-index-folder-mode-keymap to be a closer to the usual keymap
1926 naming convention. Since we want our own keymap and not inherit
1927 the one in mh-folder-mode, we need to use a suffix other than
1928 -map.
1929
1930 * mh-e.el (mh-folder-sequence-menu): s/Msg/Message.
1931 s/Seq/Sequence.
1932 (mh-folder-message-menu): s/Msg/Message. Removed redundant refile
1933 item.
1934 (mh-folder-folder-menu): Aligned symbols.
1935
1936 * mh-index.el (mh-index-folder-message-menu): s/Msg/Message.
1937
1938 * mh-utils.el (mh-show-sequence-menu): s/Msg/Message.
1939 s/Seq/Sequence.
1940 (mh-show-message-menu): s/Msg/Message. Removed redundant refile
1941 item.
1942 (mh-show-folder-menu): Aligned symbols.
1943
19442002-11-12 Satyaki Das <satyaki@theforce.stanford.edu>
1945
1946 * mh-index.el (mh-index-matches, mh-index-current-match): Remove
1947 these variables since they were only used for glimpse and grep.
1948 Now the functionality of all the indexing programs will be
1949 uniform.
a1506d29 1950 (mh-index-search, mh-index-insert-scan, mh-defun-index)
3d7ca223
BW
1951 (mh-index-show): Simplify functions since matches are no longer
1952 shown.
1953 (mh-index-parse-match): Remove function.
1954
a1506d29
JB
1955 * mh-e.el (mh-scan-cmd-note-width, mh-scan-destination-width)
1956 (mh-scan-date-width, mh-scan-date-flag-width)
3d7ca223
BW
1957 (mh-scan-from-mbox-width, mh-scan-from-mbox-sep-width): New
1958 variables to keep track of the widths of the different fields in
1959 the scan lines.
a1506d29 1960 (mh-scan-field-from-start-offset, mh-scan-field-from-end-offset)
3d7ca223
BW
1961 (mh-scan-field-subject-start-offset): Offsets that are computed
1962 from the scan line widths.
1963
a1506d29 1964 * mh-seq.el (mh-copy-seq-to-eob, mh-thread-inc)
3d7ca223
BW
1965 (mh-thread-parse-scan-line): Use new variables that remember the
1966 various offsets in place of integer constants.
1967 (mh-thread-generate-scan-lines): Space shouldn't be added here!
1968
19692002-11-12 Bill Wohler <wohler@newt.com>
1970
1971 * mh-e.el (mh-scan-format-mh, mh-scan-format-nmh): Noted that the
1972 first column is column number 0 and changed "sixth column" to
1973 "fifth column" accordingly.
1974
1975 * mh-index.el (mh-index-folder-mode): Clarified method of replying
1976 in mode documentation.
1977 (mh-index-folder-tool-bar-map): s/mh-e/MH-E/.
1978
1979 * mh-e.el (mh-generate-new-cmd-note): Try not to mention internal
1980 variable mh-cmd-note in docstrings.
1981
1982 * mh-utils.el (mh-adaptive-cmd-note-flag): Set default value to t.
1983 Reworded docstring so it doesn't mention internal variable
1984 mh-cmd-note. Added information about using fixed-width message
1985 numbers.
1986 (mh-cmd-note): Mention mh-set-cmd-note in docstring. Also suggest
1987 that it is updated dynamically only if mh-scan-format-file is t.
1988 (mh-set-cmd-note): Grammer fix in docstring.
1989 (mh-cmd-note): Noted that the first column is column number 0.
1990
1991 * mh-e.el (mh-scan-format-file): Added information about
1992 mh-set-cmd-note and mh-adaptive-cmd-note-flag to docstring.
1993
1994 * mh-index.el (mh-index-keymap): Added bindings for i
1995 (mh-inc-folder), m (mh-send alias), and s (mh-send) since these
1996 appear to be supported and are found in the toolbar.
1997 (mh-index-folder-key-map): Ditto for f (mh-visit-folder alias), o
1998 (mh-visit-folder) alias, and v (mh-visit-folder).
1999 (mh-index-folder-mode-help-messages): Changes for above.
2000 (mh-index-folder-message-menu, mh-index-folder-folder-menu): New
2001 menus. I decided to delete the unavailable items since greying out
2002 implies that the user can do something to access them. In this
2003 case, that's not the case. Well, that's not entirely true--the
2004 user could write code for those functions ;-).
2005 (mh-index-folder-mode): Use new menus.
2006
2007 * mh-utils.el (mh-prompt-for-folder): Added optional argument
2008 default-string which can be used in case the string for default
2009 isn't intuitive enough.
2010
2011 * mh-index.el (mh-index-search): Made default prompt more
2012 intuitive (I hope!).
a1506d29 2013
3d7ca223
BW
20142002-11-11 Peter S Galbraith <psg@debian.org>
2015
2016 * mh-identity.el (mh-header-field-delete): Remove save-excursion.
2017 Strange that this worked for me before... Thanks to Jeff for the
2018 patch.
2019 (mh-insert-identity): Numerous tweaks and fixes from Jeff who also
2020 adds a nicer-looking MIME header for signatures inserted after
2021 MIME insertions.
2022
20232002-11-11 Satyaki Das <satyaki@theforce.stanford.edu>
2024
2025 * mh-seq.el (mh-thread-parse-scan-line): Generalize this function
2026 so that it can take a string containing the scan-line as argument
2027 in addition to using the line at point.
2028 (mh-thread-add-spaces): New function to pad each scan line to the
2029 appropriate length. This is called when mh-cmd-note is increased.
2030
2031 * mh-e.el (mh-generate-new-cmd-note): Make this work on a threaded
2032 folder by using mh-thread-add-spaces to pad the pre-existing lines
2033 in mh-thread-scan-line-map appropriately.
2034 (mh-thread-add-spaces): Autoload from mh-seq.
2035
20362002-11-11 Mark D. Baushke <mdb@gnu.org>
2037
2038 * mh-index.el: Fix checkdoc nit.
2039
2040 * mh-mime.el (mh-display-buttons-for-inline-parts-flag): Renamed
2041 from mh-display-buttons-for-inline-parts.
2042 (mh-mime-display-single): Use it.
2043 This addresses part of SF #627015.
2044
2045 * mh-e.el (mh-print-background-flag): Renamed from
2046 mh-print-background.
2047 * mh-funcs.el (mh-print-msg): Use it.
2048 This addresses part of SF #627015.
a1506d29 2049
3d7ca223
BW
2050 * mh-comp.el (mh-delete-yanked-msg-window-flag): Renamed from
2051 mh-delete-yanked-msg-window.
2052 (mh-yank-from-start-of-msg, mh-yank-cur-msg): Use it.
2053 This addresses part of SF #627015.
2054
2055 * mh-utils.el (mh-update-sequences-after-mh-show-flag): Renamed
2056 from mh-update-sequences-after-mh-show.
2057 (mh-show-msg): Use it.
2058 This addresses part of SF #627015.
2059
2060 * mh-utils.el (mh-decode-quoted-printable-flag): Renamed from
2061 mh-decode-quoted-printable
2062 (mh-display-msg, mh-decode-quoted-printable-have-mimedecode):
2063 Use it.
2064 This addresses part of SF #627015.
2065
2066 * mh-utils.el (mh-recursive-folders-flag): Renamed from
2067 mh-recursive-folders.
2068 (mh-make-folder-list-background): Use it.
2069 * mh-funcs.el (mh-list-folders): Ditto.
2070 This addresses part of SF #627015.
2071
2072 * mh-utils.el (mh-auto-folder-collect-flag): Renamed from
2073 mh-auto-folder-collect.
2074 (mh-find-path): Use it.
2075 This addresses part of SF #627015.
2076
2077 * mh-utils.el (mh-decode-mime-flag): Renamed from
2078 mh-decode-mime.
a1506d29 2079 * mh-utils.el (mh-show-mode, mh-show-xface)
3d7ca223 2080 (mh-decode-quoted-printable, mh-display-msg, mh-display-msg): Use it.
a1506d29 2081 * mh-mime.el (mh-graphical-smileys-flag)
3d7ca223
BW
2082 (mh-graphical-emphasis-flag): Ditto.
2083 * mh-index.el (mh-index-search, mh-index-show): Ditto.
2084 * mh-e.el (mh-header-display): Ditto.
2085 This addresses part of SF #627015.
2086
2087 * mh-e.el (mh-make-folder-mode-line): Use save-window-excursion
2088 to get back to the current message.
2089
20902002-11-10 Satyaki Das <satyaki@theforce.stanford.edu>
2091
2092 * mh-index.el (mh-index-keymap, mh-index-page-msg)
2093 (mh-index-folder-tool-bar-map): Replace mh-index-scroll-up with
2094 mh-index-page-msg.
2095 (mh-index-keymap, mh-index-previous-page): Replace
2096 mh-index-scroll-down with mh-index-previous-page.
2097
20982002-11-09 Satyaki Das <satyaki@theforce.stanford.edu>
2099
2100 * mh-index.el (autoload/require): Load mh-mime when mh-index.el is
2101 loaded. This fixes the infinite load loop. I am not sure what the
2102 actual problem is. Also removed the nop requires/autoloads.
2103 (mh-defun-index): Use the right argument for mh-recenter.
2104 Otherwise it misbehaves for the default value of
2105 mh-summary-height.
2106
2107 * mh-e.el (mh-goto-next-button): Fix infinite loop when S-Tab was
2108 used on first line of index folder buffer.
2109
21102002-11-09 Peter S Galbraith <psg@debian.org>
2111
2112 * mh-index.el (mh-index-folder-tool-bar-map): Tool-bar for
2113 mh-index-mode.
2114 (mh-index-folder-mode): Use it.
2115 (mh-index-keymap): Added mouse-2 binding, like in regular
2116 folder-mode.
2117
21182002-11-08 Satyaki Das <satyaki@theforce.stanford.edu>
2119
2120 * mh-index.el (mh-index-folder-mode): Fix doc string for major
2121 mode. It was pointing to the wrong keymap.
2122 (mh-index-show-mode): Fix doc string for mode. Also add mh-help
2123 support.
2124
2125 * mh-comp.el (mh-forward, mh-yank-cur-msg): Use new macro
2126 mh-mark-active-p instead. This does the right thing for different
2127 variants of Emacs.
2128 (mh-yank-cur-msg): Add a space between sexprs.
2129
2130 * mh-utils.el (mh-mark-active-p): New macro which papers over
2131 diffences between GNU Emacs and XEmacs. The variables mark-active
2132 and transient-mark-mode are used in GNU Emacs while zmacs-regions
2133 and region-active-p are used in XEmacs.
2134
2135 * mh-seq.el (mh-put-msg-in-seq, mh-thread-ancestor-p): Use
2136 mh-mark-active-p as above.
2137
2138 * mh-e.el (mh-delete-msg, mh-refile-msg, mh-undo): Use
2139 mh-mark-active-p as above.
2140
21412002-11-06 Peter S Galbraith <psg@debian.org>
2142
2143 * mh-comp.el (mh-yank-cur-msg): Fix for XEmacs. It didn't work
2144 with a selected region, and left the inserted text selected (in
2145 reverse video). I didn't use SF patch #402315 to implement this.
2146
21472002-11-05 Peter S Galbraith <psg@debian.org>
2148
2149 * mh-utils.el (mh-show-tool-bar-map): Change call to
2150 mh-tool-bar-search-command such that user can customize it for the
2151 current session.
2152
2153 * mh-e.el (mh-folder-tool-bar-map): Same.
2154
21552002-11-05 Bill Wohler <wohler@newt.com>
2156
2157 * mh-utils.el, mh-e.el (mh-tool-bar-search-function): Renamed from
2158 mh-tool-bar-search-command.
2159
2160 * mh-index.el (mh-index-search): Backed out previous change to
2161 prompt. There ain't no folder named "all."
2162
2163 * mh-utils.el (mh-tool-bar-search-command): Added mh-search-folder
2164 and mh-index-search to the docstring so that user can easily click
2165 on them for more information.
2166
2167 * mh-pick.el (mh-search-folder): Mention that this function uses
2168 the MH pick command to give the user more information when
2169 choosing between mh-search-folder and mh-index-folder.
2170
2171 * mh-index.el (mh-index-search): Edited the docstring. Direct the
2172 user to mh-index-program if necessary.
2173 (mh-index-program): Edited this docstring too. Viewing the help
2174 in a *Help* buffer really exposes grammatical flaws.
2175
21762002-11-05 Peter S Galbraith <psg@debian.org>
2177
2178 * mh-utils.el (mh-tool-bar-search-command): New defcustom to set
2179 what search function to use in tool-bar.
a1506d29
JB
2180 (mh-show-tool-bar-map): Use it.
2181
2182 * mh-e.el (mh-folder-tool-bar-map): Use it.
3d7ca223
BW
2183
21842002-11-05 Bill Wohler <wohler@newt.com>
2185
2186 * mh-index.el (mh-index-search): Changed default prompt from "+"
2187 to "all". mh-prompt-for-folder doesn't seem to mind.
2188
2189 * mh-e.el (mh-folder-folder-menu): Added menu entry for
2190 mh-index-search.
2191
2192 * mh-utils.el (mh-show-folder-menu): Added menu entry for
2193 mh-index-search.
2194
2195 * mh-index.el: Added commentary on supported search engines and
2196 for getting started (initializing database).
2197
21982002-11-04 Satyaki Das <satyaki@theforce.stanford.edu>
2199
2200 * mh-index.el (mh-index-keymap, mh-index-folder-key-map): Move key
2201 binding of "i" to "Fi".
2202 (mh-index-folder-mode-help-messages): Change help message to
2203 reflect above change.
2204
22052002-11-04 Bill Wohler <wohler@newt.com>
2206
2207 * mh-index.el (mh-index-program, mh-indexer): Swapped names since
2208 the former seems like a better user variable name. If you've
2209 customized mh-indexer, be sure to toss it out and customize
2210 mh-index-program.
2211
22122002-11-04 Satyaki Das <satyaki@theforce.stanford.edu>
2213
2214 * mh-index.el (mh-indexer-choices): Not having the quotes in the
2215 binary names is a bit nicer since that maintains uniformity with
2216 the other names.
2217 (mh-index-choose): Use symbol-value instead of eval. Eval should
2218 be avoided except when it can't be :-).
2219
22202002-11-04 Bill Wohler <wohler@newt.com>
2221
2222 * mh-index.el (mh-index-program): New variable to hold the name of
2223 the indexer that was found; use this instead of clobbering
2224 user-customizable variable mh-indexer.
2225 (mh-index-search): Use it. Added comments to keep others from
2226 doing what I had done (fortunately, I caught myself before
2227 checking it in ;-).
2228 (mh-index-choose): Set mh-index-program instead of mh-indexer.
2229 Update docstring to describe side-effects.
2230
2231 * mh-index.el (mh-indexer): Added swish++ to docstring. Chances
2232 are good that if someone has both swish++ and swish, they want to
2233 use the much faster, much smaller swish, so move it up in the
2234 list.
2235 (mh-indexer-choices): Ditto for rationale for moving swish++ up in
2236 priority over swish. Also, use -binary symbols instead of
2237 hard-coding binary names. This allows package installers to
2238 customize the location of the binaries in site-lisp and still have
2239 the auto-detection code work. It also allows one to have alternate
2240 binary names (see mh-swish++-binary).
2241 (mh-index-search): Ditto (moving swish++ up).
2242 (mh-swish++-binary): Look for search++, then search. The rationale
2243 is that a package maintainer may rename search to search++ if
2244 search is already in use (e.g., Debian) so try it first.
2245 (mh-swish++-execute-search): Replaced Satyaki's path with dummy
2246 path in docstring. Also removed RecurseSubdirs since this is the
2247 default. Added comment that index might be named index++ on some
2248 systems (e.g., Debian).
2249 (mh-index-choose): Updated to work with new mh-indexer-choices.
2250
22512002-11-04 Peter S Galbraith <psg@debian.org>
2252
2253 * mh-identity.el (mh-identity-list-set): Don't call easy-menu-add
2254 here, since that adds the menu to the Customize buffer in XEmacs.
2255
22562002-11-04 Peter S Galbraith <psg@debian.org>
2257
2258 * mh-comp.el (mh-mhn-compose-insert-flag)
2259 (mh-mml-compose-insert-flag): Removed eval-when-compile defvar.
2260
2261 * mh-mime.el (mh-mhn-compose-insert-flag)
2262 (mh-mml-compose-insert-flag): Move variables to mh-utils.el.
2263 Fixes mh-letter-menu for XEmacs.
2264
22652002-11-04 Eric Ding <eding@rational.com>
2266
2267 * mh-comp.el (mh-rejected-letter-start): add another string
2268
22692002-11-04 Eric Ding <ericding@alum.mit.edu>
2270
2271 * mh-comp.el (mh-rejected-letter-start): regexp-opt doesn't take
2272 regexps as args, only regular strings
2273
22742002-11-04 Peter S Galbraith <psg@debian.org>
2275
2276 * mh-comp.el (mh-insert-mail-followup-to): Don't modify a
2277 pre-existing M-F-T field. If a nmh replgroupcomps propagates a
2278 M-F-T field in a message reply, then we have to have it alone.
2279
22802002-11-02 Bill Wohler <wohler@newt.com>
2281
2282 * mh-comp.el, mh-e.el, mh-funcs.el, mh-identity.el, mh-index.el,
2283 mh-mime.el, mh-pick.el, mh-seq.el, mh-speed.el, mh-utils.el,
2284 mh-xemacs-compat.el: Added Local Variables section. Defined
2285 sentence-end-double-space to be nil so that those who might not
2286 buy my setting of this variable can at least run checkdoc without
2287 a whole lot of noise.
2288
22892002-11-02 Peter S Galbraith <psg@debian.org>
2290
2291 * mh-identity.el: New file. Multiple Identify support for MH-E.
2292 Used to easily set different fields such as From and Organization,
2293 as well as diffrent signature files. This file won't be included
2294 with V7.0.
2295
22962002-11-02 Bill Wohler <wohler@newt.com>
2297
2298 * mh-mime.el (mh-mm-save-part): New function to wrap mm-save-part
2299 from Gnus 5.10 to make it explicit which code has been
2300 commandeered.
2301 (mh-mime-save-part): Call mh-mm-save-part instead of cut-n-pasted
2302 code from Gnus 5.10.
2303
23042002-11-02 Peter S Galbraith <psg@debian.org>
2305
2306 * mh-comp.el (mh-yank-from-start-of-msg): Edit docstring to
2307 mention related variables mh-reply-show-message-flag and
2308 mh-delete-yanked-msg-window.
2309 (mh-reply): Change the "Reply to whom" prompt.
2310
23112002-11-01 Bill Wohler <wohler@newt.com>
2312
2313 * mh-e.el (mh-show-hook): Moved to mh-utils.el where it is used.
2314 (mh-folder-list-change-hook): Converted this from defvar in other
2315 files to defcustom here. It is called, not documented as
2316 obsolete, and might as well be documented.
2317 (mh-inc-folder, mh-quit, mh-delete-a-msg, mh-refile-a-msg,
2318 mh-process-commands, mh-update-unseen): Added missing
2319 documentation about hook, or made verbiage about hook consistent
2320 throughout, even if the function isn't interactive.
2321
2322 * mh-utils.el (mh-folder-list-change-hook): Moved defvar to mh-e
2323 and made it a defcustom.
2324 (mh-show-mode-hook): Put it back in (actually, it was in mh-e.el,
2325 but this is the place where it is called).
2326 (mh-show-hook): Moved here from mh-e.el since it's called here.
2327 (mh-show-mode): Call mh-show-mode-hook.
2328 (mh-show-mode, mh-show-msg, mh-find-path, mh-prompt-for-folder,
2329 mh-prompt-for-folder, mh-set-folder-list): Added missing
2330 documentation about hook, or made verbiage about hook consistent
2331 throughout, even if the function isn't interactive.
2332
2333 * mh-comp.el (mh-send-letter): Made verbiage about hook consistent
2334 throughout.
2335 (mh-insert-prefix-string): Made docstring more descriptive of what
2336 is going on.
2337
2338 * mh-funcs.el (mh-kill-folder): Added missing documentation about
2339 hook.
2340
2341 * mh-index.el (mh-index-show-hook): Moved defvar to defcustom.
2342 (mh-index-show): Made verbiage about hook consistent throughout.
a1506d29 2343
3d7ca223
BW
2344 * mh-mime.el (mh-edit-mhn-hook): Moved defvar to defcustom.
2345 (mh-edit-mhn): Added missing documentation about hook.
2346
2347 * mh-pick.el (mh-pick-mode): Made verbiage about hook consistent
2348 throughout. Call the damn hook.
2349
23502002-11-01 Satyaki Das <satyaki@theforce.stanford.edu>
2351
2352 * mh-comp.el (mh-insert-mail-followup-to-list): Fix typo so that
2353 it will look right in info.
2354
2355 * mh-index.el (mh-index-search): Change argument name from
2356 new-buffer-p to new-buffer-flag.
2357 (mh-index-search-again, mh-index-search): New index-buffers were
2358 being named *mh-index*<2>, *m-index*<2><2> and so on. This problem
2359 is fixed.
2360 (mh-index-scroll-up, mh-index-scroll-down): Scrolling in index
2361 show buffers (after the first one) was broken.
2362 (mh-index-quit): Bury show buffer instead of killing it. Killing
2363 it, without killing the corresponding folder buffer, can cause
2364 confusion with two folder buffers trying to display in the same
2365 show buffer.
2366
2367 * mh-seq.el (mh-thread-prune-containers): Rewritten without
2368 recursion. Also removed the top-level-p argument since it isn't
2369 required anymore.
2370 (mh-thread-sort-containers): New function factored out from
2371 previous definition of mh-thread-prune-containers. It sorts
2372 message containers in ascending order wrt their message indices.
2373 (mh-thread-generate): Use new mh-thread-prune-containers.
2374
2375 * mh-e.el (mh-remove-all-notation): Fix the test. It was testing
2376 at the wrong place!
2377
23782002-10-31 Bill Wohler <wohler@newt.com>
2379
2380 * Makefile, README, import-emacs, mh-comp.el, mh-e.el,
2381 mh-funcs.el, mh-index.el, mh-mime.el, mh-pick.el, mh-seq.el,
2382 mh-speed.el, mh-utils.el: Replaced mh-e with MH-E.
2383
23842002-10-31 Satyaki Das <satyaki@theforce.stanford.edu>
2385
2386 * mh-seq.el (mh-thread-parse-scan-line): Modified to remove user
2387 sequence notation and leave notation for other things alone. This
2388 ensures that threading doesn't lose notations for replied-to
2389 messages.
2390
2391 * mh-e.el (mh-inc-folder): Remove call to mh-widen here and
2392 instead do it in mh-get-new-mail. This way the widening happens
2393 only if new mail is incorporated.
2394 (mh-generate-new-cmd-note): The function now returns the point
2395 from which the new messages start. This will allow threading to do
2396 the right thing.
2397 (mh-get-new-mail): Always call mh-remove-cur-notation. Otherwise
2398 adaptive scan mode leaves two messages marked as current in
2399 certain cases. Fix indentation of if statement. If there are
2400 messages to be incorporated, the folder is widened. If mh-cmd-note
2401 changes set start-of-inc correctly.
2402 (mh-remove-all-notation): Change this function to only remove user
2403 sequence notation and leave notation for replied-to messages and
2404 similar notation alone. This means operations like narrowing to
2405 subject sequence and widening don't lose notations.
2406
24072002-10-31 Bill Wohler <wohler@newt.com>
2408
2409 * mh-comp.el (mh-insert-mail-followup-to-list): Fixed typo in
2410 docstring and other minor edits. Checkdoc removed trailing spaces.
2411 (mh-insert-signature): Checkdoc flagged docstring. Reverted to
2412 previous value. Added specific name of hook that is run.
2413 (mh-regexp-in-field-p, mh-insert-letter): Checkdoc removed
2414 trailing spaces.
2415
24162002-10-31 Jeffrey C Honig <jch@honig.net>
2417
2418 * mh-e.el (mh-show-mode-hook): Remove the unused
2419 mh-show-mode-hook, mh-show-hook is the one that is used.
2420
2421 * mh-utils.el (mh-show-mode): Change the documentation to refer to
2422 mh-show-hook instead of the unused mh-show-mode-hook.
2423
24242002-10-31 Peter S Galbraith <psg@debian.org>
2425
2426 * mh-comp.el (mh-insert-mail-followup-to-list): Set default to nil
2427 and include example in doc string.
2428
24292002-10-31 Satyaki Das <satyaki@theforce.stanford.edu>
2430
2431 * mh-index.el (mh-indexer): Add customization choice for swish++.
2432 (mh-indexer-choices): Add swish++ choice.
2433 (mh-index-search): Change doc to reflect addition of swish++ option.
2434 (mh-swish++-binary, mh-swish++-directory): New variables for
2435 swish++ interface.
2436 (mh-swish++-execute-search): New function to execute swish++
2437 search.
2438 (mh-swish++-next-result): Function aliased to mh-swish-next-result
2439 since the result format of swish++ is the same as that of swish-e.
2440 (mh-index-search): Always overwrite window-configuration with new
2441 value. This is needed since we don't kill the index-buffer when
2442 quitting which means the window configuration wasn't getting set
2443 properly.
2444 (mh-index-search-again): If index buffer is reused, reset the old
2445 window config to its original value.
2446
24472002-10-30 Bill Wohler <wohler@newt.com>
2448
2449 * Makefile (emacs, xemacs): New targets.
2450 (all): Use these targets instead of calling specific targets.
2451 (.PHONY): Added emacs, xemacs, autoloads, custom-loads. Broke up
2452 target and moved pieces into their own sections.
a1506d29 2453
3d7ca223
BW
2454
24552002-10-30 Peter S Galbraith <psg@debian.org>
2456
2457 * mh-utils.el (mh-show-font-lock-keywords): Wrap an
2458 'eval-and-compile around its defvar, otherwise byte-compilation
2459 fails on `mh-show-font-lock-keywords-with-cite'.
2460
24612002-10-29 Jeffrey C Honig <jch@honig.net>
2462
a1506d29 2463 * mh-comp.el (mh-letter-insert-signature-hook)
3d7ca223
BW
2464 (mh-insert-signature): Add a hook to be called before inserting
2465 the signature. Do not attempt to insert the signature if
2466 mh-insert-signature-file-name is nil.
2467
24682002-10-29 Peter S Galbraith <psg@debian.org>
2469
2470 * mh-e.el (mh-inc-folder): Call mh-widen when mh-narrowed-to-seq
2471 (Closes SF #629233: inc in narrowed folder suboptimal)
2472
2473 * mh-comp.el (mh-insert-letter): Stop using mhl to include a
2474 message before it mangles the header, and supercite fails
2475 (Closes SF #629153: mh-insert-letter uses mhl?).
2476 (mh-insert-prefix-string): Leave point at beginning instead of
2477 end, since that's what sc-cite-original does.
2478 (mh-yank-cur-msg): Adjust for mh-insert-prefix-string change.
2479
24802002-10-30 Steve Youngs <youngs@xemacs.org>
2481
2482 * mh-e.el (mh-folder-mode): Check for 'font-lock-auto-fontify'
2483 when in XEmacs so we don't do font-locking unconditionally.
2484
2485 * mh-utils.el (mh-show-mode): Ditto.
2486
24872002-10-29 Peter S Galbraith <psg@debian.org>
2488
a1506d29 2489 * mh-e.el (mh-folder-refiled-face, mh-folder-cur-msg-number-face)
3d7ca223
BW
2490 (mh-folder-to-face, mh-folder-body-face): Define faces instead of
2491 copying them from font-lock faces. This mh-e will look the same
2492 in XEmacs as it does in Emacs.
a1506d29 2493 * mh-utils.el (mh-show-cc-face, mh-show-date-face)
3d7ca223
BW
2494 (mh-show-header-face): Ditto.
2495
24962002-10-29 Jeffrey C Honig <jch@honig.net>
2497
2498 * mh-comp.el (mh-send-letter): I meant to use
2499 mh-goto-header-field, not mh-get-header-field. The former returns
2500 nil if the header is not found and doesn't need a conditional.
2501
25022002-10-29 Peter S Galbraith <psg@debian.org>
2503
2504 * mh-comp.el (mh-forward): Bug fix. Change 'kill-line for a
2505 'delete-region, because I don't want that text yanked with C-y.
2506
2507 * mh-seq.el (mh-put-msg-in-seq): Add support for selected
2508 region (Closes SF feature request #630324).
2509
25102002-10-28 Satyaki Das <satyaki@theforce.stanford.edu>
2511
2512 * mh-seq.el (mh-thread-prune-subject): Make the regexp a little
2513 general so that a subject of the form "Re[218]: howdy" would be
2514 properly pruned.
2515
2516 * mh-mime.el (mh-mime-save-part): Copy function definition of
2517 mm-save-part from cvs gnus since that function is buggy in gnus
2518 that comes with emacs21.2.
2519
25202002-10-28 Peter S Galbraith <psg@debian.org>
2521
2522 * mh-e.el (mh-scan-subject-regexp): Add an expression to match an
2523 optional bracketed number after "Re", such as in "Re[2]:"
2524 (Patch by Satyaki; I checked it and applied).
2525 (mh-folder-font-lock-subject): Adapt to new mh-scan-subject-regexp.
2526 * mh-seq.el (mh-subject-to-sequence): Ditto.
2527
2528 * mh-e.el (mh-folder-sequence-menu): Remove "Toggle Subject
2529 Thread" from menu. mh-toggle-threads is in the Folder menu.
2530
2531 * mh-e.el (mh-folder-sequence-menu): Minor menu text edits.
2532
2533 * mh-utils.el (mh-show-update-sequences): Added to
2534 mh-defun-show-buffer builds; needed for menu.
a1506d29 2535 (mh-show-sequence-menu, mh-show-message-menu)
3d7ca223
BW
2536 (mh-show-folder-menu): 3 new menus in mh-show-mode-map that mirror
2537 the menus used in mh-folder-mode.
2538 (mh-show-mode): easy-menu-add the 3 menus.
2539
25402002-10-28 Satyaki Das <satyaki@theforce.stanford.edu>
2541
2542 * mh-utils.el (mh-goto-msg): Fix the regexp to search so that we
2543 go to the right message. In a threaded folder message 2 may be
2544 present after 26 and the previous regexp would go to 26 when we
2545 really wanted to go to 2!
2546
2547 * mh-seq.el (mh-widen): Add call to mh-recenter to make it like
2548 mh-narrow-to-seq.
2549
25502002-10-28 Bill Wohler <wohler@newt.com>
2551
2552 * mh-utils.el (mh-show-mime-save-parts): Deleted definition.
2553 (mh-show-mime-map, tool-bar-map): Use mh-mime-save-parts instead
2554 of mh-show-mime-save-parts.
2555
25562002-10-28 Peter S Galbraith <psg@debian.org>
2557
2558 * mh-comp.el (mh-letter-tool-bar-map): tool-bar-add-item key name
2559 bug fix.
2560 * mh-utils.el (mh-show-tool-bar-map): Same.
2561 * mh-e.el (mh-folder-tool-bar-map, mh-folder-seq-tool-bar-map): Same
2562
25632002-10-27 Satyaki Das <satyaki@theforce.stanford.edu>
2564
2565 * mh-seq.el (mh-toggle-threads): Add call to mh-recenter to make
2566 its behavior like that of mh-narrow-to-seq.
2567
25682002-10-27 Bill Wohler <wohler@newt.com>
2569
2570 * mh-mime.el (mh-mime-save-parts): Renamed from
2571 mh-store-mime-parts for consistency with mh-mime-save-part. Fixed
2572 bug whereby mh-mime-save-parts-directory was not getting
2573 initialized properly from a string-valued
2574 mh-mime-save-parts-default-directory.
2575 (mh-mime-save-parts-default-directory): Ditto. Check your
2576 customizations!
2577 (mh-mime-save-parts-directory): Ditto.
2578
2579 * mh-utils.el (mh-show-mime-save-parts): Renamed from
2580 mh-store-mime-parts.
2581 (mh-show-mime-map): Added keybinding "K a" for
2582 mh-show-mime-save-parts.
2583
2584 * mh-e.el (mh-mime-save-parts) Renamed from mh-store-mime-parts.
2585 (mh-mime-map): Added keybinding "K a" for mh-mime-save-parts.
2586 (mh-help-messages): Added help for "K a".
2587
25882002-10-27 Peter S Galbraith <psg@debian.org>
2589
2590 * mh-comp.el (mh-search-addr-regexp, mh-regexp-in-field-p): Rename
2591 the first to the second (and recode a bit).
2592 (mh-insert-mail-followup-to): Use it.
2593
25942002-10-27 Bill Wohler <wohler@newt.com>
2595
2596 * mh-utils.el (mh-invisible-headers): Backed out change. Removed
2597 Mail-Followup-To due to objections from Peter and Mark.
2598
25992002-10-27 Satyaki Das <satyaki@theforce.stanford.edu>
2600
2601 * mh-seq.el (mh-msg-is-in-seq): Modified to show info about
2602 whether the message being queried about has been marked to be
2603 deleted or refiled.
2604
2605 * mh-mime.el (mh-insert-mime-security-button): Make
2606 pressed-details a local.
2607
26082002-10-27 Steve Youngs <youngs@xemacs.org>
2609
2610 * .cvsignore: New file.
2611
26122002-10-26 Steve Youngs <youngs@xemacs.org>
2613
2614 * mh-seq.el (mh-notate-deleted-and-refiled): Don't bind local
2615 variable 'dest', it isn't used anywhere.
2616
2617 * mh-pick.el (mh-do-pick-search): Don't bind local variable
2618 'finding-messages', it isn't used anywhere.
2619
2620 * mh-utils.el: Byte-compiler warning suppression.
2621 (mh-gnus-article-highlight-citation): Rather than redefining
a1506d29 2622 'gnus-cite-face-list', just re-order it.
3d7ca223
BW
2623 (mh-show-mode): Force turning on font-lock in XEmacs.
2624
2625 * mh-seq.el: Byte-compiler warning suppression.
2626
2627 * mh-index.el: Byte-compiler warning suppression.
2628
2629 * mh-comp.el: Byte-compiler warning suppression.
2630
2631 * mh-xemacs-compat.el: Add defaliases for 'timerp' &
a1506d29 2632 'cancel-timer' to the equivalent 'itimer' functions.
3d7ca223
BW
2633 (rfc822): Require it for 'rfc822-goto-eoh'.
2634 Byte-compiler warning suppression.
2635
2636 * mh-e.el (mh-folder-mode): Force turning on font-lock in XEmacs.
2637 (mh-toggle-threads): Remove duplicate autoload.
2638 Byte-compiler warning suppression.
2639 (mh-folder-unseen-seq-list): Use 'with-temp-buffer' to fix a bug
2640 in XEmacs when font-lock is on.
2641 (mh-folder-unseen-seq-name): Ditto.
2642
26432002-10-27 Mark D. Baushke <mdb@gnu.org>
2644
2645 * Makefile: Reorganize to allow for building also compiling for
2646 XEmacs too. Sanitize so that it will work using least-common
a1506d29 2647 denominator versions of 'make'. Tested using GNU make, Solaris make,
3d7ca223
BW
2648 and Berkely make.
2649 (all): Use recursive invokation based on the emacs or xemacs
2650 executable passed on the 'make EMACS=xemacs' command line.
2651 (XEMACS_OPTIONS): The incantation to be passed to an xemacs editor
2652 to compile things properly.
2653 (AUTO_PRELOADS): Magic XEmacs glue.
2654 (clean): Ditto.
2655 (autoloads): Ditto.
2656 (custom-loads): Ditto.
a1506d29 2657
3d7ca223
BW
26582002-10-26 Satyaki Das <satyaki@theforce.stanford.edu>
2659
2660 * mh-e.el (mh-last-msg): Add call to mh-recenter.
2661
26622002-10-26 Peter S Galbraith <psg@debia.org>
2663
2664 * mh-comp.el (mh-search-addr-regexp, mh-re-search-to-cc): Remove
2665 `mh-re-search-to-cc' in favour of more generalized new function
2666 `mh-search-addr-regexp'.
2667 (mh-insert-mail-followup-to): Use it.
2668
26692002-10-26 Satyaki Das <satyaki@theforce.stanford.edu>
2670
2671 * mh-seq.el (mh-copy-seq-to-eob): Avoid rethreading when the
2672 folder is already threaded. This is more efficient and also avoids
2673 problems when the folder is widened.
2674 (mh-thread-inc): Don't try to restore the point to original
2675 location since mh-inc-folder from where this is called changes
2676 point location after calling this function.
2677
2678 * mh-e.el (mh-make-folder-mode-line): Fix a small bug where the
2679 test was wrong.
2680
26812002-10-26 Peter S Galbraith <psg@debian.org>
2682
2683 * mh-comp.el (mh-insert-mail-followup-to): Fix for new defcustom.
2684
26852002-10-26 Satyaki Das <satyaki@theforce.stanford.edu>
2686
2687 * mh-seq.el (mh-notate-deleted-and-refiled): Remove unused binding
2688 of dest. The problem was pointed out by Steve as well.
2689
2690 * mh-e.el (mh-toggle-threads): Remove duplicate autoload as
2691 pointed out by Steve.
2692
26932002-10-26 Bill Wohler <wohler@newt.com>
2694
2695 * mh-utils.el (mh-invisible-headers): Added Mail-Followup-To.
2696
26972002-10-26 Peter S Galbraith <psg@debian.org>
2698
2699 * mh-comp.el (mh-insert-mail-followup-to-list): Change defvar to
2700 defcustom.
2701
27022002-10-25 Satyaki Das <satyaki@theforce.stanford.edu>
2703
2704 * mh-e.el (mh-remove-all-notation): New function that removes all
2705 notation.
2706
2707 * mh-seq.el (mh-narrow-to-seq): When hiding the original folder
2708 remove all notation. This avoids stale notation hanging around.
2709 Also changes in show buffer and position in folder buffer are
2710 avoided if possible.
2711 (mh-widen): When widening the scan-lines are notated based on the
2712 current state of the folder. This means any changes made when the
2713 folder was narrowed are shown consistently.
2714 (mh-notate-deleted-and-refiled): Update the documentation.
2715 (mh-thread-parse-scan-line): For some reason the ASCII value of
2716 the space character was being used here. This is fixed.
2717 (mh-thread-inc, mh-toggle-threads): Avoid change of point in
2718 folder and message being displayed in shown buffer.
2719
2720 * mh-utils.el (mh-recenter): Rewrite mh-recenter to show fewer
2721 blank lines when point is towards the end of the folder buffer.
2722
27232002-10-25 Peter S Galbraith <psg@debian.org>
2724
2725 * mh-comp.el (mh-insert-mail-followup-to-flag): New boolean
2726 defcustom to append a Mail-Followup-To field to the header. The
2727 insertion is done if the To: or Cc: fields matches an entry in
2728 `mh-insert-mail-followup-to-list'."
2729 (mh-insert-mail-followup-to-list): New defvar. List of addresses
2730 for which a Mail-Followup-To field is inserted.
2731 (mh-re-search-to-cc): New function. Search for REGEXP in To: and
2732 Cc: fields.
2733