diff options
| -rw-r--r-- | lisp/mh-e/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/mh-e/mh-comp.el | 2 | ||||
| -rw-r--r-- | lisp/mh-e/mh-mime.el | 2 | ||||
| -rw-r--r-- | lisp/mh-e/mh-seq.el | 28 |
4 files changed, 24 insertions, 15 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog index 4116fb4223c..e0da0950715 100644 --- a/lisp/mh-e/ChangeLog +++ b/lisp/mh-e/ChangeLog | |||
| @@ -1,5 +1,12 @@ | |||
| 1 | 2006-01-03 Bill Wohler <wohler@newt.com> | 1 | 2006-01-03 Bill Wohler <wohler@newt.com> |
| 2 | 2 | ||
| 3 | * mh-comp.el (mh-reply): Use standard default notation in | ||
| 4 | prompts (closes SF #1275933). | ||
| 5 | |||
| 6 | * mh-mime.el (mh-mime-save-parts): Ditto. | ||
| 7 | |||
| 8 | * mh-seq.el (mh-read-seq, mh-read-range): Ditto. | ||
| 9 | |||
| 3 | * mh-customize.el (mh-folder-msg-number): Snow is actually | 10 | * mh-customize.el (mh-folder-msg-number): Snow is actually |
| 4 | off-white on low color displays which turns to white when bold. | 11 | off-white on low color displays which turns to white when bold. |
| 5 | This is unreadable on white backgrounds. Use snow with min-colors | 12 | This is unreadable on white backgrounds. Use snow with min-colors |
diff --git a/lisp/mh-e/mh-comp.el b/lisp/mh-e/mh-comp.el index 63c35fd221f..ddab3725058 100644 --- a/lisp/mh-e/mh-comp.el +++ b/lisp/mh-e/mh-comp.el | |||
| @@ -582,7 +582,7 @@ See also `mh-reply-show-message-flag', | |||
| 582 | (let ((minibuffer-help-form | 582 | (let ((minibuffer-help-form |
| 583 | "from => Sender only\nto => Sender and primary recipients\ncc or all => Sender and all recipients")) | 583 | "from => Sender only\nto => Sender and primary recipients\ncc or all => Sender and all recipients")) |
| 584 | (or mh-reply-default-reply-to | 584 | (or mh-reply-default-reply-to |
| 585 | (completing-read "Reply to whom: [from] " | 585 | (completing-read "Reply to whom (default from): " |
| 586 | '(("from") ("to") ("cc") ("all")) | 586 | '(("from") ("to") ("cc") ("all")) |
| 587 | nil | 587 | nil |
| 588 | t))) | 588 | t))) |
diff --git a/lisp/mh-e/mh-mime.el b/lisp/mh-e/mh-mime.el index 9edcf10b36d..d8102fe6582 100644 --- a/lisp/mh-e/mh-mime.el +++ b/lisp/mh-e/mh-mime.el | |||
| @@ -857,7 +857,7 @@ do the work." | |||
| 857 | (equal t mh-mime-save-parts-default-directory)) | 857 | (equal t mh-mime-save-parts-default-directory)) |
| 858 | mh-mime-save-parts-directory) | 858 | mh-mime-save-parts-directory) |
| 859 | (read-file-name (format | 859 | (read-file-name (format |
| 860 | "Store in directory: [%s] " | 860 | "Store in directory (default %s): " |
| 861 | mh-mime-save-parts-directory) | 861 | mh-mime-save-parts-directory) |
| 862 | "" mh-mime-save-parts-directory t "")) | 862 | "" mh-mime-save-parts-directory t "")) |
| 863 | ((stringp mh-mime-save-parts-default-directory) | 863 | ((stringp mh-mime-save-parts-default-directory) |
diff --git a/lisp/mh-e/mh-seq.el b/lisp/mh-e/mh-seq.el index dffb831ad2b..5dab59b270f 100644 --- a/lisp/mh-e/mh-seq.el +++ b/lisp/mh-e/mh-seq.el | |||
| @@ -420,9 +420,9 @@ Prompt with PROMPT, raise an error if the sequence is empty and | |||
| 420 | the NOT-EMPTY flag is non-nil, and supply an optional DEFAULT | 420 | the NOT-EMPTY flag is non-nil, and supply an optional DEFAULT |
| 421 | sequence. A reply of '%' defaults to the first sequence | 421 | sequence. A reply of '%' defaults to the first sequence |
| 422 | containing the current message." | 422 | containing the current message." |
| 423 | (let* ((input (completing-read (format "%s %s %s" prompt "sequence:" | 423 | (let* ((input (completing-read (format "%s sequence%s: " prompt |
| 424 | (if default | 424 | (if default |
| 425 | (format "[%s] " default) | 425 | (format " (default %s)" default) |
| 426 | "")) | 426 | "")) |
| 427 | (mh-seq-names mh-seq-list) | 427 | (mh-seq-names mh-seq-list) |
| 428 | nil nil nil 'mh-sequence-history)) | 428 | nil nil nil 'mh-sequence-history)) |
| @@ -513,20 +513,22 @@ should be replaced with: | |||
| 513 | (car (mh-seq-containing-msg (mh-get-msg-num nil) t))) | 513 | (car (mh-seq-containing-msg (mh-get-msg-num nil) t))) |
| 514 | prompt (format "%s range" prompt)) | 514 | prompt (format "%s range" prompt)) |
| 515 | (let* ((folder (or folder mh-current-folder)) | 515 | (let* ((folder (or folder mh-current-folder)) |
| 516 | (default (cond ((or (eq default t) (stringp default)) default) | ||
| 517 | ((symbolp default) (symbol-name default)))) | ||
| 518 | (guess (eq default t)) | 516 | (guess (eq default t)) |
| 519 | (counts (and guess (mh-folder-size folder))) | 517 | (counts (and guess (mh-folder-size folder))) |
| 520 | (unseen (and counts (> (cadr counts) 0))) | 518 | (unseen (and counts (> (cadr counts) 0))) |
| 521 | (large (and counts mh-large-folder (> (car counts) mh-large-folder))) | 519 | (large (and counts mh-large-folder (> (car counts) mh-large-folder))) |
| 522 | (str (cond ((and guess large | 520 | (default (cond ((and guess large) (format "last:%s" mh-large-folder)) |
| 523 | (setq default (format "last:%s" mh-large-folder) | 521 | ((and guess (not large)) "all") |
| 524 | prompt (format "%s (folder has %s messages)" | 522 | ((stringp default) default) |
| 525 | prompt (car counts))) | 523 | ((symbolp default) (symbol-name default)))) |
| 526 | nil)) | 524 | (prompt (cond ((and guess large default) |
| 527 | ((and guess (not large) (setq default "all") nil)) | 525 | (format "%s (folder has %s messages, default %s)" |
| 528 | ((eq default nil) "") | 526 | prompt (car counts) default)) |
| 529 | (t (format "[%s] " default)))) | 527 | ((and guess large) |
| 528 | (format "%s (folder has %s messages)" | ||
| 529 | prompt (car counts))) | ||
| 530 | (default | ||
| 531 | (format "%s (default %s)" prompt default)))) | ||
| 530 | (minibuffer-local-completion-map mh-range-completion-map) | 532 | (minibuffer-local-completion-map mh-range-completion-map) |
| 531 | (seq-list (if (eq folder mh-current-folder) | 533 | (seq-list (if (eq folder mh-current-folder) |
| 532 | mh-seq-list | 534 | mh-seq-list |
| @@ -536,7 +538,7 @@ should be replaced with: | |||
| 536 | (mh-seq-names seq-list))) | 538 | (mh-seq-names seq-list))) |
| 537 | (input (cond ((and (not ask-flag) unseen) (symbol-name mh-unseen-seq)) | 539 | (input (cond ((and (not ask-flag) unseen) (symbol-name mh-unseen-seq)) |
| 538 | ((and (not ask-flag) (not large)) "all") | 540 | ((and (not ask-flag) (not large)) "all") |
| 539 | (t (completing-read (format "%s: %s" prompt str) | 541 | (t (completing-read (format "%s: " prompt) |
| 540 | 'mh-range-completion-function nil nil | 542 | 'mh-range-completion-function nil nil |
| 541 | nil 'mh-range-history default)))) | 543 | nil 'mh-range-history default)))) |
| 542 | msg-list) | 544 | msg-list) |