aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mh-e/ChangeLog
diff options
context:
space:
mode:
authorBill Wohler2004-07-13 03:06:25 +0000
committerBill Wohler2004-07-13 03:06:25 +0000
commita66894d8b489dfdfafc2058cd181fefbb894fbf0 (patch)
tree39c692b4da2f58c1f9830381b0befa1ec3d56b87 /lisp/mh-e/ChangeLog
parent0117451de7e30adf240f369f26b7667dbf3788bf (diff)
downloademacs-a66894d8b489dfdfafc2058cd181fefbb894fbf0.tar.gz
emacs-a66894d8b489dfdfafc2058cd181fefbb894fbf0.zip
Upgraded to MH-E version 7.4.4.
See etc/MH-E-NEWS and lisp/mh-e/ChangeLog for details.
Diffstat (limited to 'lisp/mh-e/ChangeLog')
-rw-r--r--lisp/mh-e/ChangeLog1274
1 files changed, 1262 insertions, 12 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 6eb2c1bc2ec..3d19028b099 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,5 +1,1264 @@
12004-04-26 Lars Hansen <larsh@math.ku.dk> 12004-07-10 Bill Wohler <wohler@newt.com>
2 * mh-e.el (mh-folder-mode): Bind desktop-save-buffer to t. 2
3 * Released MH-E version 7.4.4.
4
5 * MH-E-NEWS, README: Updated for release 7.4.4.
6
7 * mh-e.el (Version, mh-version): Updated for release 7.4.4.
8
9 * This patch release contains the following patches:
10
11 * mh-xemacs.el: New file from concatenation of mh-xemacs-compat.el
12 and mh-xemacs-icons.el which were removed since their names
13 exceeded DOS 8+3 limits.
14
15 * Makefile:
16 (mh-e-autoloads.el): Add target to make `mh-e-autoloads.el', a
17 file containg usual entry commands into MH-E to be used for users
18 installing MH-E separately from Emacs.
19 (XEMACS_LOADDEFS_FILE): New. Used to generate mh-loaddefs.el
20 in XEmacs.
21 (XEMACS_LOADDEFS_COOKIE): Ditto.
22 (XEMACS_LOADDEFS_PKG_NAME): Ditto.
23 (XEMACS_OPTIONS): Add '-no-autoloads' to give a cleaner build
24 environment.
25 (MH-E-SRC): Moved mh-xemacs.el to new variable MH-E-XEMACS-SRC.
26 (MH-E-XEMACS-SRC): New variable to hold XEmacs source files.
27 (MH-E-XEMACS-OBJ): New variable to hold XEmacs object files.
28 (clean): Moved XEmacs-specific code to clean-xemacs.
29 (xemacs): Added clean-xemacs prerequisite. Moved down to XEmacs
30 section of file. Add target to build mh-loaddefs.el in XEmacs
31 (loaddefs-xemacs): New rule to build mh-loaddefs.el in XEmacs.
32 (clean-xemacs): New target to remove XEmacs-specific files.
33 (compile-xemacs): New. It allows for the '-no-autoloads' option
34 and byte-compiles all the source files with a single instance of
35 XEmacs.
36 (dist): Added $(MH-E-XEMACS-SRC) to tarball.
37 (AUTO_PRELOADS): Removed, in favour of 'AUTOLOAD_PACKAGE_NAME' and
38 'AUTOLOAD_FILE'.
39 (AUTOLOAD_PACKAGE_NAME): New.
40 (AUTOLOAD_FILE): New.
41 (all): Don't set $EMACS_HOME if building with XEmacs.
42 (xemacs): Use 'compile-xemacs' instead of 'compile'.
43 (auto-autoloads.elc): Use new $AUTOLOAD_* vars and allow for
44 '-no-autoloads'.
45 (custom-load.elc): Allow for '-no-autoloads'.
46
47 * mh-e.el: Don't require mh-xemacs-compat which no longer exists.
48 The XEmacs stuff gets required by mh-customize.el which is
49 required by mh-utils.el which is required by mh-e.el. This all
50 happens before mh-xemacs-compat was required, so all should be
51 well.
52 (mh-restore-desktop-buffer): Move from desktop.el. Add Parameters.
53 (mh-restore-desktop-buffer): Delete with-no-warnings.
54 (mh-folder-mode): Bind desktop-save-buffer to t.
55 (Courtesy Lars Hansen).
56
57 * mh-alias.el (mh-assoc-ignore-case): New macro to use
58 assoc-string when available (Emacs 21.4+); assoc-ignore-case
59 otherwise.
60 (mh-alias-reload, mh-alias-expand,
61 mh-alias-minibuffer-confirm-address): Use it.
62
63 * mh-seq.el: Added mh-autoload to mh-read-seq-default.
64
65 * mh-utils.el (mh-require-cl): The Emacs coding conventions
66 require that the cl package not be required at runtime. However,
67 the cl package in versions of Emacs prior to 21.4 left cl routines
68 in their macro expansions. Use mh-require-cl to provide the cl
69 routines in the best way possible.
70 (require 'mouse): To shush compiler.
71
72 * Use new function mh-require-cl throughout.
73
74 * Add arch taglines (courtesy Miles Bader).
75
76 * mh-unit.el (mh-unit-files): Replaced mh-xemacs-compat.el and
77 mh-xemacs-icons.el with mh-xemacs.el.
78
79 * import-emacs: Also grab the ChangeLog.
80
81 * *.pbm: Regenerated using GIMP to be consistent with other Emacs
82 icons.
83 1. Edit .xpm image in GIMP.
84 2. Image > Mode > Indexed. Check Use Black/White Palette and No
85 Color Dithering.
86 3. File > Save As file.xbm.
87 4. Run xbmtopbm < file.xbm > file.pbm.
88 Thanks to jan.h.d@swipnet.se for the help.
89
902003-11-18 Bill Wohler <wohler@newt.com>
91
92 * Released MH-E version 7.4.3.
93
94 * MH-E-NEWS, README: Updated for release 7.4.3.
95
96 * mh-e.el (Version, mh-version): Updated for release 7.4.3.
97
98 * mh-identity.el (mh-identity-make-menu): Removed condition on
99 mh-auto-fields-list. Use it to enable or disable menu item
100 instead.
101
102 * mh-customize.el (mh-identity-list): Removed defvar and moved
103 defcustom before mh-auto-fields-list so that defvar wouldn't
104 clobber user's customization settings.
105
1062003-08-19 Bill Wohler <wohler@newt.com>
107
108 * Released MH-E version 7.4.2.
109
110 * MH-E-NEWS, README: Updated for release 7.4.2.
111
112 * mh-e.el (Version, mh-version): Updated for release 7.4.2.
113
114 * mh-e.el (mh-folder-size, mh-folder-size-folder)
115 (mh-folder-size-flist): If flist is not present use folder to find
116 the number of messages in the folder. Also the .mh_sequences file
117 is read to find the number of unseen messages (patch from 1.349
118 and branched for 7.4.2, closes SF #791021).
119
120 * mh-utils.el (mh-flists-present-flag, mh-find-progs): Introduce a
121 new variable to test for the presence of the flists program and
122 set it in mh-find-progs.
123 (mh-collect-folder-names): Use folders instead of flists. One
124 advantage is that folders is available on MH while flists is not.
125 Another is that if an explicit -sequence argument isn't given and
126 Unseen-Sequence profile is not present then flists croaks while
127 folders doesn't.
128 (mh-collect-folder-names-filter): Don't consider folder names that
129 start with a `.' character. This is needed since the folders
130 command doesn't filter them out like flists does.
131 (patches from 1.307 and 1.309 and branched for 7.4.2, closes SF
132 #791021).
133
1342003-06-25 Bill Wohler <wohler@newt.com>
135
136 * Released MH-E version 7.4.1.
137
138 * MH-E-NEWS, README: Updated for release 7.4.1.
139
140 * mh-e.el (Version, mh-version): Updated for release 7.4.1.
141
1422003-06-25 Bill Wohler <wohler@newt.com>
143
144 * mh-unit.el (require 'cl): Added. Needed when compiling
145 separately.
146
147 * Makefile (clean): Now a double-colon rule. Added a second clean
148 target to remove mh-unit.elc.
149 (compile): Removed mh-unit.elc.
150 (mh-unit.elc): New target used to compile mh-unit.
151
1522003-06-24 Bill Wohler <wohler@newt.com>
153
154 * mh-e.el (Version, mh-version): Set to 7.4+cvs.
155
1562003-06-24 Bill Wohler <wohler@newt.com>
157
158 * Released MH-E version 7.4.
159
160 * MH-E-NEWS, README: Updated for release 7.4.
161
162 * mh-e.el (Version, mh-version): Updated for release 7.4.
163
1642003-06-24 Bill Wohler <wohler@newt.com>
165
166 * mh-alias.el (mh-alias-gecos-name, mh-alias-local-users)
167 (mh-alias-suggest-alias): s/gcos/gecos. The original acronym was
168 GECOS but was later renamed to GCOS (see
169 http://info.astrian.net/jargon/terms/g/GCOS.html). But the term
170 really needs to match the field named pw_gecos in struct passwd in
171 /usr/include/pwd.h
172
173 * mh-customize.el (mh-letter-faces): New group to house
174 mh-letter-header-field-face.
175 (mh-interpret-number-as-range-flag)
176 (mh-kill-folder-suppress-prompt-hook): Use "you" instead of "the
177 user" to make text more friendly.
178 (mh-index-ticked-messages-folders, mh-visible-headers)
179 (mh-visible-header-fields): Alphabetized.
180 (mh-alias-passwd-gcos-comma-separator-flag): Alphabetized and
181 s/gcos/gecos.
182 (mh-alias-local-users-prefix): Fixed docstring. Prefixes are
183 prepended, not appended. Additional checkdoc fix.
184 (mh-letter-header-field-face): Set group to new group
185 mh-letter-faces and moved option into this group.
186
187 * mh-index.el (mh-index-sequenced-messages): Improved wording of
188 docstring and mentioned use of prefix argument.
189
190 * mh-seq.el (mh-widen): Made docstring more accurate (hopefully!).
191
1922003-06-18 Satyaki Das <satyakid@stanford.edu>
193
194 * mh-index.el (mh-replace-string): Modified to preserve case of
195 replacement text.
196 (mh-index-parse-search-regexp): Preserve case of search terms.
197 This is needed to take advantage of the acronym indexing in
198 swish++ (closes SF #755718).
199
2002003-06-13 Satyaki Das <satyakid@stanford.edu>
201
202 * mh-utils.el (mh-show-index-sequenced-messages): Interactive
203 function callable from the show buffer.
204 (mh-show-folder-map): Add key binding for "F q".
205
206 * mh-e.el (mh-folder-map): Same as above.
207
208 * mh-index.el (mh-index-sequenced-messages): Add interactive spec
209 to the function (closes SF #718833).
210
2112003-06-13 Bill Wohler <wohler@newt.com>
212
213 * mh-index.el (mh-flists-execute): Needed to expand mhpath too.
214
2152003-06-12 Satyaki Das <satyakid@stanford.edu>
216
217 * mh-index.el (mh-flists-execute): Modified so that flists
218 present in mh-progs is called.
219
2202003-06-07 Jeffrey C Honig <jch@honig.net>
221
222 * mh-comp.el (mh-forward, mh-forward): Use (mh-mail-header-end) to
223 find the end of headers instead of doing an re-search-forward
224 based on mh-mail-header-separator.
225
2262003-06-06 Satyaki Das <satyakid@stanford.edu>
227
228 * mh-comp.el (mh-letter-toggle-header-field-display): Make the
229 function callable from the show buffer. This means that the
230 buffer is temporarily made writable and the modification status
231 of the buffer restored to the original value.
232
2332003-06-06 Peter S Galbraith <psg@debian.org>
234
235 * mh-utils.el (mh-address-mail-regexp): Bug fix! It wasn't a true
236 copy of the goto-addr variable. My modification only recognized
237 addresses with one dot after the @. Sorry about that.
238
2392003-06-05 Satyaki Das <satyakid@stanford.edu>
240
241 * mh-utils.el (mh-replace-in-string): Move comment into doc
242 string to satisfy checkdoc.
243
244 * mh-alias.el (mh-alias-apropos): Checkdoc fix.
245
2462003-06-05 Bill Wohler <wohler@newt.com>
247
248 * mh-customize.el (mh-identity-list): Fixed typo in docstring.
249
2502003-06-05 Peter S Galbraith <psg@debian.org>
251
252 * mh-comp.el (mh-letter-complete-function-alist): Add bcc an reply-to.
253
2542003-06-04 Peter S Galbraith <psg@debian.org>
255
256 * mh-comp.el (mh-letter-complete-function-alist): Add dcc.
257
2582003-06-03 Peter S Galbraith <psg@debian.org>
259
260 * mh-utils.el (mh-replace-in-string): New function name instead of
261 `dired-replace-in-string'.
262 * mh-alias.el (mh-alias-gcos-name): Use it.
263
264 * mh-alias.el (mh-alias-apropos): New command. Show all aliases
265 that match REGEXP either in name or content.
266
267 * mh-alias.el (mh-alias-suggest-alias): Add no-comma-swap optional
268 arg.
269 (mh-alias-canonicalize-suggestion): Change a comma to a period in
270 created aliases.
271 (mh-alias-local-users): Call `mh-alias-suggest-alias' with
272 `no-comma-swap' arg set to t.
273
274 * mh-alias.el (mh-alias-local-users): Fix case of nil
275 `mh-alias-passwd-gcos-comma-separator-flag'.
276
277 * mh-alias.el (mh-alias-gcos-name): Fix for case of empty gcos
278 name field.
279 (mh-alias-local-users): Fix same.
280
281 * mh-alias.el (mh-alias-canonicalize-suggestion): Replace use by
282 verbose `replace-regexp' by a looped `replace-match'
283
2842003-06-02 Peter S Galbraith <psg@debian.org>
285
286 * mh-utils.el (dired-replace-in-string): Bind if not already
287 defined. Borrowed from dired.el
288
289 * mh-alias.el (mh-alias-gcos-name): switch to using
290 dired-replace-in-string.
291
2922003-06-02 Satyaki Das <satyakid@stanford.edu>
293
294 * mh-utils.el (mh-letter-font-lock-keywords): Fontify header
295 fields in the draft buffer that aren't skipped when navigating
296 with TAB (or S-TAB).
297
298 * mh-customize.el (mh-clean-message-header-flag)
299 (mh-invisible-headers, mh-invisible-header-fields)
300 (mh-alias-passwd-gcos-comma-separator-flag): Checkdoc fix.
301 (mh-letter-header-field-face): New face to fontify the header
302 fields.
303
304 * mh-comp.el (mh-insert-auto-fields-done-local): Checkdoc fix.
305 (mh-letter-mode, mh-letter-mail-header-end-marker): Remember the
306 end of the message header in a marker. This is used to fontify the
307 header fields.
308 (mh-font-lock-field-data, mh-letter-header-end): Functions used
309 to fontify message header fields.
310
311 * mh-alias.el (mh-alias-gcos-name): Checkdoc fix.
312
3132003-06-02 Peter S Galbraith <psg@debian.org>
314
315 * mh-alias.el (mh-alias-gcos-name): New function. Return a usable
316 address string from a GCOS-NAME and USERNAME.
317 (mh-alias-local-users): Use it.
318
319 * mh-customize.el (mh-alias-passwd-gcos-comma-separator-flag): New
320 defcustom. Whether the gcos field in the passwd file uses comma as
321 a separator.
322
323 * mh-customize.el (mh-alias-local-users-prefix): New
324 defcustom. String to append to the real names of users from the
325 passwd file. If nil, use the username string unmodified instead of
326 the real name from the gcos field of the passwd file.
327
328 * mh-alias.el (mh-alias-local-users): Use it to generate aliases
329 which by default are now the real name prefixed by "local."
330
3312003-06-01 Peter S Galbraith <psg@debian.org>
332
333 * mh-comp.el (mh-modify-header-field): Bug fix. Calling with with
334 a value that was already inserted causes it to get inserted a
335 second time. I have wrapped the value around \b word delimiters.
336 Hope there are no side effects for other code.
337
338 * mh-comp.el (mh-insert-auto-fields): Attempt regardless of
339 `mh-insert-auto-fields-done-local' flag in interactive use.
340
341 * mh-comp.el (mh-insert-auto-fields-done-local): Keep track of
342 whether `mh-insert-auto-fields' was called in a buffer.
343 (mh-insert-auto-fields): Set it and use it. Also, don't enter an
344 identity if one was already entered manually.
345 (mh-send-letter): Call `mh-insert-auto-fields' again when sending
346 message.
347 (mh-compose-and-send-mail): Call `mh-insert-auto-fields' _after_
348 `mh-letter-mode' so `mh-identity-local' doesn't get cleared by the
349 mode invocation.
350
3512003-06-01 Satyaki Das <satyakid@stanford.edu>
352
353 * mh-loaddefs.el: Regenerated.
354
355 * mh-seq.el (mh-thread-parse-scan-line): The value of
356 mh-scan-field-from-start-offset was hardcoded in one place. The
357 change fixes that.
358
359 * mh-utils.el (mh-show-mode): Setup mh-show-mode to display
360 elipsis for truncated header fields and to skip over them quickly.
361 (mh-clean-msg-header): Make another pass over the message header
362 fields truncating long headers.
363
364 * mh-comp.el (mh-letter-complete): Remove unnecessary autoload.
365 (mh-letter-toggle-header-field-display): Take into account that
366 an empty line can also end the message header. The function was
367 originally written with the draft buffer in mind.
368
3692003-06-01 Mark D. Baushke <mdb@gnu.org>
370
371 * mh-comp.el (mh-letter-mode-map): Do not steal C-t. Use C-c C-t
372 for the mh-letter-toggle-header-field-display command.
373
3742003-05-31 Peter S Galbraith <psg@debian.org>
375
376 * mh-customize.el (mh-visible-headers): Changed to a defvar that
377 will be set using new `mh-visible-headers' function using
378 `mh-visible-header-fields' as input.
379 (mh-visible-headers): New function, described above.
380 (mh-visible-header-fields): New defcustom. The UI to set
381 `mh-visible-headers'.
382 (mh-invisible-header-fields-set): Deleted. Code merged into
383 defcustom since it's so short.
384
3852003-05-31 Satyaki Das <satyakid@stanford.edu>
386
387 * mh-comp.el (mh-letter-toggle-header-field-display): Extended to
388 truncate headers if they are too long.
389 (mh-letter-truncate-header-field): Make code that would be
390 duplicated into a function.
391 (mh-letter-hide-all-skipped-fields): Modified so that fields that
392 are important are hidden if they are too long.
393
3942003-05-31 Satyaki Das <satyakid@stanford.edu>
395
396 * mh-utils.el ("tool-bar"): Since tool-bar isn't available on
397 XEmacs, requiring it causes problems. So load it instead.
398 (mh-do-at-event-location): New macro to do stuff at location of
399 events. This has been refactored out of mh-push-button.
400
401 * mh-mime.el (mh-push-button): Simplified since it now uses the
402 mh-do-at-event-location macro.
403
404 * mh-comp.el (mh-hidden-header-keymap): Keymap to make mouse
405 clicks on header toggle its display.
406 (mh-letter-toggle-header-field-display-button): Interactive
407 function to toggle header display when mouse button is clicked.
408
4092003-05-31 Peter S Galbraith <psg@debian.org>
410
411 * mh-e.el (mh-folder-mode): Remove conditional on tool-bar-mode.
412
413 * mh-comp.el (mh-letter-mode): Same.
414
415 * mh-utils.el (mh-show-mode): Same.
416
4172003-05-30 Satyaki Das <satyakid@stanford.edu>
418
419 * mh-utils.el (tool-bar): Load tool-bar explicitly. This avoids
420 problems with incorrect initialization of tool-bar-map otherwise.
421
4222003-05-30 Peter S Galbraith <psg@mixed.dyndns.org>
423
424 * mh-comp.el (mh-modify-header-field): Minor fix of spaces for
425 when an entry already existed.
426 (mh-insert-auto-fields): Make interactive. Add optional `quiet'
427 arg for use when called systematically on every buffer. Won't be
428 used interactively for more verbose output.
429 (mh-letter-mode-map): Add \C-c\M-d keybinding for
430 mh-insert-auto-fields.
431
432 * mh-identity.el (mh-identity-make-menu): Add a menu entry in
433 Identity menu for mh-insert-auto-fields.
434
435 * mh-customize.el (mh-invisible-header-fields): Add entries for
436 `Envelope-to' and `X-Original-To'.
437
4382003-05-30 Satyaki Das <satyakid@stanford.edu>
439
440 * mh-comp.el (mh-letter-mode): Skip over invisible text quickly.
441
4422003-05-30 Satyaki Das <satyakid@stanford.edu>
443
444 * mh-comp.el (mh-letter-mode): Use text properties to achieve
445 invisibility. This is more portable and the same code can be used
446 for all Emacs versions.
447 (mh-letter-toggle-header-field-display): Rewritten to use text
448 properties.
449 (mh-dead-overlay-p, mh-letter-hidden-header-fields)): Removed.
450
4512003-05-29 Satyaki Das <satyakid@stanford.edu>
452
453 * mh-comp.el (mh-letter-hidden-header-fields, mh-letter-mode): Add
454 a hash table, initialized it in mh-letter-mode, to remember the
455 overlays introduced to hide long headers fields.
456 (mh-insert-x-mailer): checkdoc fix.
457 (mh-compose-and-send-mail): Hide unimportant message header
458 fields.
459 (mh-letter-header-field-regexp, mh-letter-header-field-at-point)
460 (mh-letter-next-header-field, mh-letter-previous-header-field):
461 Add a variable that contains the header-field name regexp and use
462 it instead of the regexp directly.
463 (mh-letter-toggle-header-field-display, mh-letter-mode-map): Add
464 new key binding in mh-letter-mode that toggles display of long
465 header fields, in mh-letter-mode.
466 (mh-dead-overlay-p): A predicate which checks if a given header
467 field has an active overlay hiding it.
468 (mh-letter-hide-all-skipped-fields): New function that shortens
469 uninteresting headers.
470
4712003-05-29 Eric Ding <ericding@acorn.bethesda.net>
472
473 * mh-comp.el (mh-letter-next-header-field-or-indent): Call
474 indent-relative rather than indent-for-tab-command.
475
4762003-05-29 Satyaki Das <satyakid@stanford.edu>
477
478 * mh-comp.el (mh-letter-complete-or-space): The meaning of the
479 customizable variable was reversed. Also make the doc string more
480 accurate.
481
4822003-05-28 Satyaki Das <satyakid@stanford.edu>
483
484 * mh-customize.el (mh-compose-skipped-header-fields): New
485 customizable variable that lists headers that are skipped.
486 (mh-compose-space-does-completion-flag): Option to do completion
487 with space (closes SF #745634).
488
489 * mh-comp.el (mh-insert-x-mailer): Check the value of
490 mh-insert-x-mailer-flag in this function instead of in its caller.
491 (mh-compose-and-send-mail, mh-send-letter): Insert X-Mailer and
492 X-Face headers when the draft is first presented to the user
493 instead of when the mail is sent (closes SF #745624).
494 (mh-letter-complete-or-space): Allow for this key binding to be
495 overridden.
496 (mh-letter-next-header-field): Fix a problem with multiline header
497 fields.
498 (mh-letter-next-header-field, mh-letter-previous-header-field):
499 Make these functions skip unwanted header fields.
500 (mh-letter-skipped-header-field-p): New predicate that checks if a
501 header field is to be skipped.
502
503 * mh-seq.el (mh-thread-inc): Inc'ing email in threaded mode was
504 causing duplication of the current notation. The change fixes that.
505
5062003-05-28 Satyaki Das <satyakid@stanford.edu>
507
508 * mh-comp.el (mh-beginning-of-word): Generalize it to skip
509 arbitrary number of words.
510 (mh-letter-complete-or-space): New interactive function that
511 allows space character to be used for completion.
512 (mh-letter-mode-map): Add key binding to allow space to be used
513 for completion.
514
5152003-05-27 Satyaki Das <satyakid@stanford.edu>
516
517 * mh-customize.el (mh-compose-prompt-flag): Customizable variable
518 that controls whether the user is prompted when composing a draft.
519 It replaces mh-dont-prompt-for-address-flag (closes SF #745622).
520
521 * mh-comp.el (mh-letter-next-header-field): If the point is in
522 the header field name, then go the start of the header field
523 instead of the next field.
524 (mh-interactive-read-address, mh-interactive-read-string)
525 (mh-letter-adjust-point): Use mh-compose-prompt-flag instead of
526 mh-dont-prompt-for-address-flag.
527
5282003-05-27 Satyaki Das <satyakid@stanford.edu>
529
530 * mh-customize.el (mh-tool-bar-define): Fix incorrect usage of
531 set-specifier (closes SF #745655). Also the button enabling code
532 interacts poorly with font-lock in XEmacs. So disable that.
533
5342003-05-26 Satyaki Das <satyakid@stanford.edu>
535
536 * mh-e.el (mh-folder-from-address): The function
537 message-fetch-field expects that the buffer is narrowed to the
538 mail header. The change makes sure that this is indeed the case.
539
540 * mh-mime.el (mh-add-missing-mime-version-header)
541 (mh-decode-message-body): Same as above.
542
5432003-05-25 Satyaki Das <satyakid@stanford.edu>
544
545 * mh-alias.el (mh-alias-minibuffer-confirm-address): Modified to
546 use mh-beginning-of-word.
547
548 * mh-comp.el (mh-letter-confirm-address): Calling
549 mh-alias-reload-maybe can be expensive. So do it only if we really
550 need to.
551
5522003-05-25 Satyaki Das <satyakid@stanford.edu>
553
554 * mh-loaddefs.el: Regenerated.
555
556 * mh-comp.el (mh-letter-confirm-address): Load aliases if not yet
557 loaded.
558
559 * mh-alias.el (mh-alias-reload-maybe): Autoload it since it is
560 used in mh-comp.el.
561
5622003-05-24 Satyaki Das <satyakid@stanford.edu>
563
564 * mh-comp.el (mh-letter-skip-leading-whitespace-in-header-field):
565 New function to skip leading space and tab characters when placing
566 point in a header field.
567 (mh-letter-next-header-field, mh-letter-previous-header-field):
568 Skip leading whitespace when using TAB to navigate to header
569 fields.
570 (mh-letter-confirm-address): New interactive function that
571 displays the last expansion of the last alias when "," is typed.
572 (mh-letter-mode-map): Add key binding for "," (closes SF #745634).
573
5742003-05-23 Satyaki Das <satyakid@stanford.edu>
575
576 * mh-comp.el (mh-edit-again, mh-forward, mh-send)
577 (mh-send-other-window, mh-send-sub): Modified so that if
578 mh-dont-prompt-for-address-flag is non-nil, then MH-E won't prompt
579 for addresses to send mail to and instead directly jump to the
580 draft (closes SF #745622).
581 (mh-letter-complete-function-alist): An alist that is used to
582 decide which completion function to use in which header. This
583 variable should probably be customizable.
584 (mh-letter-complete): Now uses mh-letter-complete-function-alist.
585 (mh-letter-header-field-at-point, mh-letter-next-header-field)
586 (mh-letter-next-header-field-or-indent)
587 (mh-letter-previous-header-field): Commands for easier navigation
588 to header fields.
589 (mh-dont-prompt-for-address-flag): Variable which controls
590 whether MH-E prompts for addresses.
591 (mh-interactive-read-address, mh-interactive-read-string): Two
592 functions to ask user for input depending on the value of the
593 above flag.
594 (mh-letter-adjust-point): New function that sets point to the
595 first header field.
596 (mh-letter-mode-map): Add key bindings for TAB and S-TAB (closes
597 SF #745627).
598
5992003-05-23 Satyaki Das <satyakid@stanford.edu>
600
601 * mh-loaddefs.el: Regenerated.
602
603 * mh-comp.el (mh-complete-word): New function which is
604 approximately equivalent to mail-abbrev-complete-alias.
605 (mh-beginning-of-word): Refactor repeated code into its own
606 function.
607 (mh-folder-expand-at-point): Make Fcc completion work in XEmacs
608 by not using mail-abbrev-complete-alias.
609
610 * mh-alias.el (mh-alias-letter-expand-alias): Make alias
611 expansion work in XEmacs. Replace the use of the function
612 mail-abbrev-complete-alias, which isn't present in XEmacs.
613
614 * mh-mime.el (mh-mml-to-mime): If a MIME message is created
615 immediately after starting MH-E then invoking mh-mml-to-mime
616 causes an error because "message" isn't being loaded. The change
617 works around this problem.
618 (mh-mime-maybe-display-alternatives): Give better indication of
619 which MIME parts are alternatives.
620
6212003-05-22 Satyaki Das <satyakid@stanford.edu>
622
623 * mh-e.el (mh-add-sequence-notation, mh-remove-sequence-notation):
624 Just delete and add the same character in the scan line to make
625 font-lock refontify it. The previous trick of removing all text
626 properties didn't work in XEmacs.
627
628 * mh-seq.el (mh-put-msg-in-seq): Complain if the user tries to
629 create an invalid MH sequence.
630
631 * mh-mime.el (mh-mime-display-alternative): Modified to
632 optionally display alternatives as buttons.
633 (mh-mime-maybe-display-alternatives): New function which displays
634 alternative MIME parts as buttons.
635 (mh-mime-save-part): Initially mh-mime-save-parts-directory is
636 nil and calling file-name-as-directory with nil arg leads to an
637 error. So fall back on the default-directory in that case.
638
639 * mh-customize.el (mh-display-buttons-for-alternatives-flag): New
640 customizable variable that controls display of the alternative
641 MIME parts (closes SF #741288).
642
6432003-05-22 Peter S Galbraith <psg@debian.org>
644
645 * mh-customize.el (mh-invisible-header-fields): Commented out
646 "User-Agent:". It's similar to X-Mailer, so display it.
647
6482003-05-21 Satyaki Das <satyakid@stanford.edu>
649
650 * mh-customize.el (mh-tool-bar-define): Add an optional argument
651 to the button description that can dynamically enable/disable
652 buttons.
653 (mh-tool-bar-define): The alias grabbing button is disabled if the
654 current message doesn't have a From header or if the sender is
655 already in the user's alias. This functionality was inadvertently
656 lost when the Emacs/XEmacs toolbar unification took place.
657
6582003-05-20 Satyaki Das <satyakid@stanford.edu>
659
660 * mh-unit.el (mh-unit-construct-call-graph): Be more aggressive
661 and flag interactive functions that aren't autoloaded or have no
662 key bindings.
663 (mh-unit-interactive-function-p): Remove now unused function.
664 (mh-unit, mh-unit-construct-call-graph): Replace mh-files with
665 mh-unit-files.
666
6672003-05-20 Bill Wohler <wohler@newt.com>
668
669 * mh-unit.el (mh-prune-trailing-spaces): Renamed to
670 mh-unit-prune-trailing-spaces to clean up the namespace.
671 (mh-files): Renamed to mh-unit-files. Ditto.
672 (mh-unit): Checkdoc fix.
673
674 * mh-index.el (mh-index-p): Added autoload cookie since mh-index-p
675 is used by mh-customize.el. This calls for another mh-unit test
676 that looks for mh-autoloads for functions that are no longer used
677 in other files.
678
679 * mh-loaddefs.el: Regenerated.
680
6812003-05-20 Satyaki Das <satyakid@stanford.edu>
682
683 * mh-unit.el (mh-unit-construct-call-graph): Factor out the code
684 to read the lisp files to a separate function. Also change it to
685 construct a function call-graph. Autoloaded functions are taken
686 into account.
687 (mh-unit-find-all-used-functions, mh-unit-called-functions)
688 (mh-unit-find-all-unused-functions): Find all unused functions by
689 computing a fixed point starting from the set of top level
690 functions.
691 (mh-unit-analyze-block): Removed.
692 (mh-unit-update-call-graph): mh-unit-functions-called was renamed
693 with modifications to update the function call graph.
694
6952003-05-19 Satyaki Das <satyakid@stanford.edu>
696
697 * mh-loaddefs.el: Regenerated.
698
699 * mh-utils.el (mh-notate): Modified to keep track of notation
700 that was replaced when sequence notation is added. Thus when the
701 sequence is deleted, the original notation is recovered.
702 (mh-add-msgs-to-seq): Modified to work with the new sequence
703 notation code.
704
705 * mh-seq.el (mh-delete-seq, mh-put-msg-in-seq): Simplified since
706 we don't need to handle tick and unseen sequences specially any
707 more.
708 (mh-narrow-to-seq): Don't need to call mh-notate-user-sequences
709 since mh-copy-seq-to-eob already does that.
710 (mh-widen): Remove sequence notation, so that notation when
711 messages are replied to aren't lost.
712 (mh-copy-seq-to-eob): Simplified with the use of
713 mh-iterate-on-range.
714 (mh-thread-inc): This function doesn't need to notate user
715 sequences since its callers already do that.
716 (mh-thread-parse-scan-line): Simplified since mh-note-seq doesn't
717 appear in scan lines it is given as arguments.
718 (mh-thread-update-scan-line-map): Remove the test, since its
719 caller already does the required check.
720 (mh-thread-folder): Simplified by the use of mh-iterate-on-range.
721 (mh-tick-add-overlay, mh-tick-remove-overlay, mh-notate-tick):
722 These functions aren't needed any more, since overlays aren't used
723 any more. Also overlays aren't portable to XEmacs, so nasty
724 conditional code that used overlays in Emacs and extents in Xemacs
725 have been eliminated.
726 (mh-toggle-tick): Generalize it to work on a range of messages
727 like the other interactive messages.
728
729 * mh-funcs.el (mh-undo-folder): Use mh-remove-all-notation
730 instead of mh-unmark-all-headers.
731
732 * mh-e.el (mh-folder-font-lock-keywords): The entry for unseen
733 sequence highlighting is now done by the macro.
734 (mh-generate-sequence-font-lock): New macro to highlight any
735 arbitrary sequence. This macro is invoked twice to get the
736 highlighting for unseen and tick sequences.
737 (mh-sequence-notation-history, mh-folder-mode): New variable that
738 keeps track of the old notation when a message is notated with
739 mh-note-seq.
740 (mh-regenerate-headers, mh-get-new-mail): Add appropriate calls to
741 mh-notate-user-sequences and mh-remove-all-notation.
742 (mh-unmark-all-headers): Add comment that this function shouldn't
743 be used any more.
744 (mh-add-sequence-notation, mh-remove-sequence-notation): New
745 functions to notate message with mh-note-seq and to remove it.
746 (mh-remove-all-notation): Simplified to use mh-iterate-on-range.
747 (mh-process-commands): Use mh-remove-all-notation instead of
748 mh-unmark-all-headers.
749 (mh-notate-user-sequences, mh-delete-msg-from-seq): Simplified
750 since the tick and unseen sequences don't need special handling
751 any more.
752 (mh-internal-seq): Make it possible to dynamically change what
753 sequences are treated as internal (internal means font lock is
754 used to highlight the sequence).
755 (mh-clear-text-properties): Removed since it isn't needed
756 anymore.
757
7582003-05-19 Satyaki Das <satyakid@stanford.edu>
759
760 * mh-unit.el (mh-unit-analyze-block, mh-unit-interactive-function-p)
761 (mh-unit-find-all-unused-functions): Change argument name bl to
762 block.
763
7642003-05-19 Satyaki Das <satyakid@stanford.edu>
765
766 * mh-unit.el (mh-unit-find-all-unused-functions): New interactive
767 function to find all unused functions in MH-E.
768 (mh-unit-analyze-block, mh-unit-interactive-function-p)
769 (mh-unit-functions-called): Functions used by
770 mh-unit-find-all-unused-functions do its job.
771
772 * Makefile (compile): Byte-compile mh-unit.el, since the analysis
773 to find unused code runs faster when compiled.
774
7752003-05-18 Satyaki Das <satyakid@stanford.edu>
776
777 * mh-loaddefs.el: Regenerated.
778
779 * mh-seq.el (mh-notate-deleted-and-refiled): Add autoload
780 declaration since this function is used in mh-index.el.
781
782 * mh-e.el, mh-customize.el, mh-utils.el: Adjust require/provide
783 statements so that mh-e.el isn't loaded twice.
784
7852003-05-15 Satyaki Das <satyakid@stanford.edu>
786
787 * mh-utils.el (mh-defun-show-buffer): Arrange for the current
788 line in the folder buffer to be highlighted even when we are in
789 the show buffer.
790
7912003-05-14 Satyaki Das <satyakid@stanford.edu>
792
793 * mh-seq.el (mh-read-range): Allow this to work on invalid
794 sequences that only MH-E knows about.
795
796 * mh-index.el (mh-create-sequence-map, mh-index-add-to-sequence)
797 (mh-index-delete-from-sequence): Don't consider sequences that
798 aren't valid MH sequences.
799
800 * mh-e.el (mh-valid-seq-p): New predicate to check if a symbol
801 could be a MH sequence.
802 (mh-undefine-sequence, mh-define-sequence): Don't execute "mark"
803 unless the sequence name is a valid MH sequence.
804
805 * mh-utils.el (mh-exec-cmd): In case an error happens in the
806 call-process and non-strings are present in ARGS, then the error
807 message isn't properly displayed. The change fixes this.
808
8092003-05-14 Peter S Galbraith <psg@debian.org>
810
811 * mh-mime.el (mh-mime-save-part): Bug Fix: Make sure
812 `mm-default-directory' gets a trailing "/" if
813 `mh-mime-save-parts-directory' doesn't have one. Otherwise the
814 default in the prompt of `mh-mm-save-part' will be wrong. Perhaps
815 `mh-mm-save-part' needs to do this check itself.
816
8172003-05-14 Satyaki Das <satyakid@stanford.edu>
818
819 * mh-index.el (mh-unpropagated-sequences): New function and
820 variable to keep track of sequences that shouldn't be propagated.
821 (mh-create-sequence-map, mh-index-add-to-sequence)
822 (mh-index-delete-from-sequence): Use mh-unpropagated-sequences to
823 stop changes to some sequences being reflected back to the source
824 folders.
825
8262003-05-13 Satyaki Das <satyakid@stanford.edu>
827
828 * mh-loaddefs.el: Regenerated.
829
830 * mh-e.el (mh-process-commands): Preserve sequences when messages
831 are refiled (closes SF #737128).
832
833 * mh-index.el (mh-create-sequence-map)
834 (mh-index-create-sequences): Refactor code that is reused into a
835 new function.
836
837 * mh-customize.el (mh-refile-preserves-sequences-flag): New
838 customizable flag that controls whether sequences are preserved
839 when messages are refiled.
840
8412003-05-13 Eric Ding <ericding@alum.mit.edu>
842
843 * mh-e.el (mh-scan-format): The argument for scan format files
844 should be -form, not -format.
845
8462003-05-13 Satyaki Das <satyakid@stanford.edu>
847
848 * mh-seq.el (mh-widen): The scan line map stack was not being
849 properly updated when ALL-FLAG is non-nil. The change fixes that.
850
851 * mh-e.el (mh-reset-threads-and-narrowing): The change resets the
852 scan line map stack.
853
8542003-05-12 Satyaki Das <satyakid@stanford.edu>
855
856 * mh-loaddefs.el: Regenerated.
857
858 * mh-seq.el (mh-thread-scan-line-map-stack)
859 (mh-thread-old-scan-line-map): Instead of the old scan line map,
860 now we need to maintain a stack of scan line maps.
861 (mh-narrow-to-seq): Modified so that multiple level of narrowings
862 can be done. We now maintain a stack of old views instead of
863 hiding the old scan lines. This makes it possible to have
864 multiple levels of narrowings.
865 (mh-widen): A optional prefix arg was added to allow undoing all
866 narrowing.
867 (mh-read-seq-default, mh-read-range): Don't use
868 mh-narrowed-to-seq, since it doesn't exist any more.
869 (mh-thread-initialize-hash, mh-thread-initialize): The
870 mh-thread-initialize function has been refactored.
871 (mh-thread-update-scan-line-map): Maintain notations in the stack
872 of scan line maps.
873 (mh-notate-tick, mh-toggle-tick): Simplified, since we don't have
874 mh-narrowed-to-seq any more. This means there is a slight loss of
875 functionality. Earlier if we narrowed to the tick sequence the
876 ticked messages weren't highlighted. This feature isn't present
877 any more.
878
879 * mh-e.el (mh-execute-commands, mh-reset-threads-and-narrowing)
880 (mh-folder-sequence-menu, mh-get-new-mail): Use
881 mh-folder-view-stack instead of the now removed
882 mh-narrowed-to-seq.
883 (mh-narrowed-to-seq, mh-tick-seq-changed-when-narrowed-flag):
884 These variables have been removed.
885 (mh-folder-view-stack): New variable to keep track of a stack of
886 narrowings.
887 (mh-execute-commands, mh-get-new-mail): Add extra argument to
888 mh-widen so that all narrowings are undone.
889
890 * Makefile (MH-E-SRC, MH-E-OTHERS): Move mh-gnus.el from MH-E-SRC
891 to MH-E-OTHERS so that it isn't byte compiled.
892
8932003-05-10 Satyaki Das <satyakid@stanford.edu>
894
895 * mh-seq.el (mh-read-seq): Improve the function a bit by adding
896 history to the sequence prompt.
897
8982003-05-09 Satyaki Das <satyakid@stanford.edu>
899
900 * mh-gnus.el: New file that won't be byte-compiled. From now on
901 having different Gnus versions at run-time and compile-time won't
902 cause errors in MH-E.
903
904 * mh-mime.el (mh-small-show-buffer-p, mh-display-smileys)
905 (mh-display-emphasis): Handle all legal values of
906 font-lock-maximum-size. The existing code assumed didn't consider
907 the case where it could be an alist.
908 (mh-small-image-p): Simplified, so that aliasing XEmacs functions
909 in Emacs isn't necessary any more.
910 (mh-mm-display-part): Remove unnecessary call to fboundp. The
911 mh-funcall-if-exists does that for us any way.
912 (mh-defun-compat, gnus-local-map-property, mm-merge-handles)
913 (mm-set-handle-multipart-parameter, mm-readable-p)
914 (mm-long-lines-p, mm-keep-viewer-alive-p, mm-destroy-parts)
915 (mh-mm-save-part, mm-handle-multipart-ctl-parameter): These
916 compatibility functions have been moved to mh-gnus.el.
917
918 * Makefile (MH-E-SRC): Add mh-gnus.el.
919
920 * mh-seq.el (mh-narrow-to-header-field)
921 (mh-current-message-header-field): Checkdoc fixes.
922
923 * mh-e.el (mh-undefine-sequence): Since mh-coalesce-msg-list
924 returns a list, apply is needed.
925
9262003-05-09 Noel Cragg <noel@red-bean.com> (tiny change)
927
928 * mh-junk.el (mh-spamassassin-blacklist): Separate "--local" and
929 "--no-rebuild" arguments to call-process.
930 [Patch committed by satyaki]
931
9322003-05-08 Satyaki Das <satyakid@stanford.edu>
933
934 * mh-seq.el (mh-translate-range): Take into account differnt
935 semantics of split-string in Emacs and XEmacs.
936 (mh-read-pick-regexp, mh-narrow-to-from, mh-narrow-to-cc)
937 (mh-narrow-to-to, mh-narrow-to-header-field)
938 (mh-current-message-header-field, mh-narrow-to-range): New
939 narrowing functions that can select messages based on different
940 message headers.
941
942 * mh-utils.el (mh-show-limit-map): Add new narrowing functions
943 callable from the show buffer.
944
945 * mh-e.el (mh-help-messages): Add help text for new functions.
946 (mh-limit-map): Add new narrowing functions (closes SF #732823).
947
9482003-05-07 Satyaki Das <satyakid@stanford.edu>
949
950 * mh-utils.el (mh-collect-folder-names): Use mh-exec-daemon to
951 run flists. This means we don't have to remember to expand the MH
952 executable in the mh-progs path.
953 (mh-exec-cmd-daemon): Return the new process object produced.
954
9552003-05-06 Satyaki Das <satyakid@stanford.edu>
956
957 * mh-e.el (mh-folder-font-lock-unseen): Use mh-seq-list to do
958 unseen sequence highlighting instead of reading the .mh_sequences
959 file from disk every time.
960
9612003-05-05 Satyaki Das <satyakid@stanford.edu>
962
963 * mh-utils.el (mh-show-sequence-map): Add key binding for S'
964 (closes SF #732825).
965
966 * mh-e.el (mh-sequence-map): Ditto.
967 (mh-help-messages): Updated for S'.
968
9692003-05-04 Satyaki Das <satyakid@stanford.edu>
970
971 * mh-index.el (mh-index-write-data): The with-temp-buffer macro
972 is a bit better than write-file, so use that instead.
973
9742003-05-03 Satyaki Das <satyakid@stanford.edu>
975
976 * mh-index.el (mh-index-update-maps, mh-index-search)
977 (mh-index-sequenced-messages): Write index data to disk. This
978 allows us to recover index folder information if Emacs is
979 restarted, or the index folder is visited after the buffer has
980 been killed (closes SF #701762).
981 (mh-index-write-data, mh-index-read-data)
982 (mh-index-write-hashtable, mh-index-read-hashtable): Functions to
983 store and read index data information to disk.
984 (mh-index-insert-folder-headers, mh-index-group-by-folder): We
985 can no longer use object identity to compare strings, since they
986 might have been read back from disk.
987
988 * mh-e.el (mh-index-data-file): New variable that stores the name
989 of the file that keeps track of index folder data.
990 (mh-make-folder): Read index folder data if available.
991
992 * mh-utils.el (mh-show, mh-summary-height, mh-modify): Make
993 checkdoc happy.
994
995 * mh-seq.el (mh-tick-add-overlay): Rearrange code to make code
996 more uniform.
997
998 * mh-loaddefs.el: Regenerated.
999
10002003-05-02 Satyaki Das <satyakid@stanford.edu>
1001
1002 * mh-seq.el (mh-tick-add-overlay): If a message with a short scan
1003 line is ticked, then the highlighting didn't extend to the right
1004 margin. This change fixes that.
1005
10062003-05-01 Bill Wohler <wohler@newt.com>
1007
1008 * mh-e.el (mh-help-messages): Added brackets around / and
1009 downcased limit to be consistent with other commands with
1010 punctuation keybindings. Don't document aliases.
1011
10122003-05-01 Satyaki Das <satyakid@stanford.edu>
1013
1014 * mh-loaddefs.el: Regenerated.
1015
1016 * mh-seq.el (mh-read-range): Fix comment.
1017
10182003-04-30 Mark D. Baushke <mdb@gnu.org>
1019
1020 * mh-e.el (mh-help-messages): Better documentation for the F map.
1021
10222003-04-30 Satyaki Das <satyakid@stanford.edu>
1023
1024 * mh-utils.el (mh-find-path): Cache folder names so that
1025 folder name completion is always fast.
1026 (mh-flists-partial-line, mh-flists-process): Variables used for
1027 pre-caching folder names.
1028 (mh-collect-folder-names, mh-collect-folder-names-filter)
1029 (mh-populate-sub-folders-cache): Functions to pre-cache folder
1030 names.
1031 (mh-exec-cmd): Produce more info in *MH-E Log*.
1032
1033 * mh-index.el (mh-index-search): Call the correct function.
1034 (mh-index-sequenced-messages): If folders is nil, then all mail
1035 is searched. The change restores that.
1036
10372003-04-30 Peter S Galbraith <psg@debian.org>
1038
1039 * mh-customize.el (mh-summary-height): Move variable integer out
1040 of defcustom, and instead specify that `nil' means to calculate
1041 that size dynamically. Fixes SF #723267.
1042
1043 * mh-utils.el (mh-summary-height): New function. Return ideal
1044 mh-summary-height value for current frame height.
1045 (mh-show-msg): Use it.
1046
10472003-04-30 Mark D. Baushke <mdb@gnu.org>
1048
1049 * mh-index.el (mh-index-ticked-messages): Fix prompt and
1050 description string.
1051 (mh-index-new-messages): Ditto.
1052
1053 * mh-loaddefs.el: Regenerated.
1054
1055 * mh-index.el (mh-index-sequenced-messages): Renamed from
1056 mh-index-new-messages with minor argument change.
1057 (mh-index-new-messages): Implement by calling
1058 mh-index-sequenced-messages with the appropriate arguments.
1059 (mh-index-ticked-messages): New function. Does the same thing as
1060 mh-index-new-messages, but on its own set of folders and using the
1061 mh-tick-seq instead of mh-unseen-seq.
1062
1063 * mh-e.el (mh-folder-map): Add "F'" to the map for
1064 mh-index-ticked-messages.
1065 (mh-help-messages): Replace broken [t]hread with [n]ew messages.
1066
1067 * mh-customize.el (mh-index-ticked-messages-folders): New user
1068 customizable flag that controls the folders to be searched by
1069 mh-index-ticked-messages.
1070
1071 * mh-utils.el (mh-show-index-ticked-messages): Wrapper for
1072 mh-index-ticked-messages.
1073 (mh-show-folder-map): Add "F'" to the map for
1074 mh-index-ticked-messages.
1075
10762003-04-30 Satyaki Das <satyakid@stanford.edu>
1077
1078 * mh-index.el (mh-index-search): The old cur in the source folder
1079 might not exist. This could cause mh-exec-cmd to fail. So don't
1080 add an error message in that case.
1081
10822003-04-29 Satyaki Das <satyakid@stanford.edu>
1083
1084 * mh-e.el (mh-folder-from-address): Modified to allow multiple
1085 Cc: headers to work properly.
1086 (mh-inc-folder, mh-visit-folder): Fix an off by one error.
1087
1088 * mh-utils.el (mh-notate): Update the scan line map. This fixes a
1089 tiny bug. In threaded view, if a message is replied to then the
1090 message is notated with a "-". Now if inc is done then the "-"
1091 added is lost. The change fixes this.
1092
1093 * mh-seq.el (mh-translate-range): Use the correct function.
1094 (mh-thread-update-scan-line-map): New function that updates the
1095 scan line map when a message is notated.
1096
10972003-04-28 Satyaki Das <satyakid@stanford.edu>
1098
1099 * mh-index.el (mh-index-parse-search-regexp): Avoid compiler
1100 warning in GNU Emacs 21.3.
1101
1102 * mh-seq.el (mh-widen): Ditto.
1103
11042003-04-28 Satyaki Das <satyakid@stanford.edu>
1105
1106 * mh-customize.el (mh-interpret-number-as-range-flag): New user
1107 customizable flag that controls whether a single number, N is
1108 interpreted as the range last:N.
1109
1110 * mh-seq.el (mh-read-range): Generalize it for use when reading
1111 range to scan.
1112 (mh-interactive-range): Modified to use the new mh-read-range.
1113
1114 * mh-speed.el (mh-speed-view): Use mh-read-range instead of the
1115 now removed mh-read-msg-range function.
1116
1117 * mh-funcs.el (mh-pack-folder): Ditto.
1118
1119 * mh-e.el (mh-rescan-folder, mh-visit-folder): Ditto.
1120 (mh-read-msg-range): Removed.
1121
1122 * mh-loaddefs.el: Regenerated
1123
11242003-04-27 Satyaki Das <satyakid@stanford.edu>
1125
1126 * mh-loaddefs.el: Regenerated.
1127
1128 * mh-seq.el (mh-range-completion-function): Fix checkdoc warning.
1129 (mh-iterate-on-range): Mention that the macro can iterate over a
1130 MH message range too.
1131
11322003-04-27 Bill Wohler <wohler@newt.com>
1133
1134 * mh-unit.el (mh-unit): As it turns out, lm-crack-copyright has
1135 been updated to handle multiple-line copyrights in 21.3, so
1136 updated code to run lm-verify only if user has 21.3 or greater.
1137 Delete buffers after use, unless user already had buffer open.
1138
11392003-04-27 Satyaki Das <satyakid@stanford.edu>
1140
1141 * mh-loaddefs.el: Regenerated.
1142
1143 * mh-index.el (mh-index-search): The MH command "refile" changes
1144 cur. The change restores cur in source folders.
1145 (mh-index-new-messages): Use the appropriate arguments for
1146 mh-read-seq.
1147
1148 * mh-seq.el (mh-read-seq-default, mh-read-seq): Restore these
1149 functions to just read sequence names.
1150 (mh-range-seq-names, mh-range-history, mh-range-completion-map)
1151 (mh-range-completion-function, mh-read-range): New function which
1152 reads MH range with completion and history.
1153 (mh-interactive-range): Use mh-read-range instead of
1154 mh-read-seq-default.
1155 (mh-put-msg-in-seq): Change documentation about MH message range.
1156
1157 * mh-junk.el (mh-junk-blacklist, mh-junk-whitelist): Change
1158 documentation about MH message range.
1159
1160 * mh-funcs.el (mh-copy-msg, mh-print-msg): Ditto.
1161
1162 * mh-e.el (mh-delete-msg, mh-delete-msg-no-motion)
1163 (mh-refile-msg, mh-undo, mh-delete-msg-from-seq): Ditto.
1164
1165 * mh-comp.el (mh-forward): Ditto.
1166
11672003-04-26 Satyaki Das <satyakid@stanford.edu>
1168
1169 * mh-comp.el, mh-e.el, mh-funcs.el, mh-junk.el, mh-seq.el:
1170 Replace msg-or-seq with range everywhere.
1171
1172 * mh-loaddefs.el: Regenerated.
1173
11742003-04-25 Satyaki Das <satyakid@stanford.edu>
1175
1176 * mh-e.el (mh-index-sequence-search-flag, mh-folder-mode): New
1177 local variable to remember that a folder buffer contains results
1178 from a sequence search. This is needed so that "C-u F i" will work
1179 as expected.
1180 (mh-visit-folder): Create sequences in the index folder.
1181 (mh-process-commands, mh-delete-msg-from-seq): If speedbar is on
1182 then update the speedbar message counts immediately.
1183 (mh-delete-msg-from-seq): Make the code faster by calling "mark"
1184 just once. Also update source folder sequence if messages are
1185 being deleted from a sequence in an index folder.
1186 (mh-undefine-sequence): Simplified to remove the speedbar updating
1187 code. Also DTRT and don't change any sequence when called with an
1188 empty list of messages.
1189 (mh-refile-msg, mh-delete-msg): Move to next message only if the
1190 current message has been deleted or refiled, as the case may be.
1191
1192 * mh-utils.el (mh-show-msg): Update the message counts in the
1193 speedbar, if it is on, immediately.
1194 (mh-speed-flists-active-p, mh-speed-flists-inhibit-flag): A new
1195 flag has been added which inhibits updating of the speedbar. This
1196 is used to avoid needless speedbar updates when
1197 mh-execute-commands is called in index folders.
1198
1199 * mh-speed.el (mh-speed-flists): Extended so that multiple
1200 folders can be given as arguments. Also the code that kept track
1201 of the current folder, needed since flists adds an extra ?+ char
1202 at the end of the current folder name, wasn't entirely correct.
1203 That has also been fixed.
1204
1205 * mh-seq.el (mh-delete-seq, mh-put-msg-in-seq): Modified so that
1206 sequence in source folder is updated if we delete a sequence in an
1207 index folder.
1208 (mh-read-seq, mh-read-seq-default, mh-translate-range)
1209 (mh-interactive-msg-or-seq): The mh-interactive-msg-or-seq
1210 function can read in an arbitrary MH message range.
1211 (mh-iterate-on-msg-or-seq): The macro has been extended to work on
1212 a MH range.
1213 (mh-subject-to-sequence, mh-subject-to-sequence-unthreaded)
1214 (mh-subject-to-sequence-threaded, mh-thread-find-msg-subject): Fix
1215 the mh-subject-to-sequence function so that it will work in
1216 threaded folders too.
1217 (mh-tick-add-overlay): Fix a leak of overlays.
1218 (mh-toggle-tick): Ticking, or unticking, messages in the index
1219 folder is propagated to the source folders (closes SF #709664).
1220
1221 * mh-index.el (mh-flists-results-folder, mh-flists-sequence)
1222 (mh-flists-called-flag): New variables to implement searching for
1223 arbitrary sequences.
1224 (mh-index-generate-pretty-name): Updated so that folder names are
1225 generated for flists search that can take any sequence name.
1226 (mh-index-search): Since sequences are now properly maintained the
1227 unseen-flag argument isn't needed and hence removed. Also redoing
1228 a sequence search with "C-u F i" is handled correctly. Finally
1229 the speedbar is updated to reflect the new index folder created.
1230 (mh-index-create-sequences): New function that creates sequences
1231 in the index folder.
1232 (mh-index-matching-source-msgs, mh-index-execute-commands):
1233 Improved so that scan lines for refiled/deleted messages are
1234 removed from the source folders as well.
1235 (mh-index-add-to-sequence, mh-index-delete-from-sequence): New
1236 functions to update sequences in source folder to reflect changes
1237 in index folder.
1238 (mh-index-quote-for-shell): A utility function to that quotes
1239 characters with special meaning to /bin/sh.
1240 (mh-flists-execute, mh-index-new-messages): Updated to search for
1241 arbitrary sequences (closes SF #718833).
1242
1243 * mh-loaddefs.el: Regenerated.
1244
12452003-04-25 Bill Wohler <wohler@newt.com>
1246
1247 * mh-customize.el (mh-kill-folder-suppress-prompt-hook): New hook
1248 used by mh-kill-folder to suppress the prompt.
1249
1250 * mh-funcs.el (mh-kill-folder): Suppress prompt not if
1251 mh-index-data is non-nil, but if any functions in
1252 mh-kill-folder-suppress-prompt-hook return non-nil.
1253
1254 * mh-index.el (mh-index-p): New function with returns non-nil if
1255 the current folder was generated by an index search for use by
1256 mh-kill-folder-suppress-prompt-hook
1257
1258 * mh-unit.el (mh-unit): Commented out lm-verify step until code
1259 updated to handle split Copyright lines.
1260
1261 * mh-e.el (mh-version): Set to 7.3+cvs.
3 1262
42003-04-24 Bill Wohler <wohler@newt.com> 12632003-04-24 Bill Wohler <wohler@newt.com>
5 1264
@@ -50,10 +1309,6 @@
50 runs checkdoc and lm-verify which is useful before releasing the 1309 runs checkdoc and lm-verify which is useful before releasing the
51 software. It can and should be expanded to do real unit tests. 1310 software. It can and should be expanded to do real unit tests.
52 1311
532004-04-22 Lars Hansen <larsh@math.ku.dk>
54
55 * mh-e.el (mh-restore-desktop-buffer): Delete with-no-warnings.
56
572003-04-22 Mark D Baushke <mdb@gnu.org> 13122003-04-22 Mark D Baushke <mdb@gnu.org>
58 1313
59 * mh-alias.el: Update Copyright. 1314 * mh-alias.el: Update Copyright.
@@ -78,11 +1333,6 @@
78 Emacs. 1333 Emacs.
79 (mh-exec-cmd-error): Add a comment, so that we change it later on. 1334 (mh-exec-cmd-error): Add a comment, so that we change it later on.
80 1335
812004-04-21 Lars Hansen <larsh@math.ku.dk>
82
83 * mh-e.el (mh-restore-desktop-buffer): Move from
84 desktop.el. Add Parameters.
85
862003-04-18 Steve Youngs <youngs@xemacs.org> 13362003-04-18 Steve Youngs <youngs@xemacs.org>
87 1337
88 * mh-xemacs-icons.el (mh-xemacs-icons): Provide 'mh-xemacs-icons' 1338 * mh-xemacs-icons.el (mh-xemacs-icons): Provide 'mh-xemacs-icons'
@@ -7589,7 +8839,7 @@
7589 (dist): Leave release in current directory. 8839 (dist): Leave release in current directory.
7590 8840
7591 8841
7592Copyright (C) 2003 Free Software Foundation, Inc. 8842Copyright (C) 2003, 2004 Free Software Foundation, Inc.
7593 8843
7594Copying and distribution of this file, with or without modification, 8844Copying and distribution of this file, with or without modification,
7595are permitted in any medium without royalty provided the copyright 8845are permitted in any medium without royalty provided the copyright