aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRomain Francoise2005-09-24 13:45:50 +0000
committerRomain Francoise2005-09-24 13:45:50 +0000
commitd88a70a010ef76c08f37497b551a4fc620059096 (patch)
tree945d68ccb7d849f9161f6567bd6ae6f9ab1898e7 /lisp
parent5b76833fd5dc63730baaa8a504aa3df4a4c8fc7a (diff)
downloademacs-d88a70a010ef76c08f37497b551a4fc620059096.tar.gz
emacs-d88a70a010ef76c08f37497b551a4fc620059096.zip
2005-09-24 Emilio C. Lopes <eclig@gmx.net>
* mh-mime.el (mh-compose-forward, mh-mhn-compose-forw): * mh-comp.el (mh-insert-letter): * mh-utils.el (mh-prompt-for-folder): Follow convention for reading with the minibuffer.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mh-e/ChangeLog7
-rw-r--r--lisp/mh-e/mh-comp.el6
-rw-r--r--lisp/mh-e/mh-mime.el12
-rw-r--r--lisp/mh-e/mh-utils.el6
4 files changed, 19 insertions, 12 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 631bc5cb6a3..e851b399ce0 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,3 +1,10 @@
12005-09-24 Emilio C. Lopes <eclig@gmx.net>
2
3 * mh-mime.el (mh-compose-forward, mh-mhn-compose-forw):
4 * mh-comp.el (mh-insert-letter):
5 * mh-utils.el (mh-prompt-for-folder):
6 Follow convention for reading with the minibuffer.
7
12005-09-19 Juanma Barranquero <lekktu@gmail.com> 82005-09-19 Juanma Barranquero <lekktu@gmail.com>
2 9
3 * mh-print.el (mh-ps-print-msg-show): Fix misplaced parenthesis in 10 * mh-print.el (mh-ps-print-msg-show): Fix misplaced parenthesis in
diff --git a/lisp/mh-e/mh-comp.el b/lisp/mh-e/mh-comp.el
index 59111098bf1..a99c05debea 100644
--- a/lisp/mh-e/mh-comp.el
+++ b/lisp/mh-e/mh-comp.el
@@ -1424,10 +1424,10 @@ not indent and do not delete headers. Leaves the mark before the letter
1424and point after it." 1424and point after it."
1425 (interactive 1425 (interactive
1426 (list (mh-prompt-for-folder "Message from" mh-sent-from-folder nil) 1426 (list (mh-prompt-for-folder "Message from" mh-sent-from-folder nil)
1427 (read-input (format "Message number%s: " 1427 (read-input (concat "Message number"
1428 (if (numberp mh-sent-from-msg) 1428 (if (numberp mh-sent-from-msg)
1429 (format " [%d]" mh-sent-from-msg) 1429 (format " (default %d): " mh-sent-from-msg)
1430 ""))) 1430 ": ")))
1431 current-prefix-arg)) 1431 current-prefix-arg))
1432 (save-restriction 1432 (save-restriction
1433 (narrow-to-region (point) (point)) 1433 (narrow-to-region (point) (point))
diff --git a/lisp/mh-e/mh-mime.el b/lisp/mh-e/mh-mime.el
index 980942a0f47..527d322c48a 100644
--- a/lisp/mh-e/mh-mime.el
+++ b/lisp/mh-e/mh-mime.el
@@ -81,10 +81,10 @@ If any of the optional arguments are absent, they are prompted for."
81 (interactive (list 81 (interactive (list
82 (read-string "Forw Content-description: ") 82 (read-string "Forw Content-description: ")
83 (mh-prompt-for-folder "Message from" mh-sent-from-folder nil) 83 (mh-prompt-for-folder "Message from" mh-sent-from-folder nil)
84 (read-string (format "Messages%s: " 84 (read-string (concat "Messages"
85 (if (numberp mh-sent-from-msg) 85 (if (numberp mh-sent-from-msg)
86 (format " [%d]" mh-sent-from-msg) 86 (format " (default %d): " mh-sent-from-msg)
87 ""))))) 87 ": ")))))
88 (if (equal mh-compose-insertion 'gnus) 88 (if (equal mh-compose-insertion 'gnus)
89 (mh-mml-forward-message description folder message) 89 (mh-mml-forward-message description folder message)
90 (mh-mhn-compose-forw description folder message))) 90 (mh-mhn-compose-forw description folder message)))
@@ -374,10 +374,10 @@ See also \\[mh-edit-mhn]."
374 (interactive (list 374 (interactive (list
375 (read-string "Forw Content-description: ") 375 (read-string "Forw Content-description: ")
376 (mh-prompt-for-folder "Message from" mh-sent-from-folder nil) 376 (mh-prompt-for-folder "Message from" mh-sent-from-folder nil)
377 (read-string (format "Messages%s: " 377 (read-string (concat "Messages"
378 (if (numberp mh-sent-from-msg) 378 (if (numberp mh-sent-from-msg)
379 (format " [%d]" mh-sent-from-msg) 379 (format " (default %d): " mh-sent-from-msg)
380 ""))))) 380 ": ")))))
381 (beginning-of-line) 381 (beginning-of-line)
382 (insert "#forw [") 382 (insert "#forw [")
383 (and description 383 (and description
diff --git a/lisp/mh-e/mh-utils.el b/lisp/mh-e/mh-utils.el
index 522ccda088c..0e608e52062 100644
--- a/lisp/mh-e/mh-utils.el
+++ b/lisp/mh-e/mh-utils.el
@@ -2315,10 +2315,10 @@ non-nil then the function will accept the folder +, which means all folders
2315when used in searching." 2315when used in searching."
2316 (if (null default) 2316 (if (null default)
2317 (setq default "")) 2317 (setq default ""))
2318 (let* ((default-string (cond (default-string (format "[%s] " default-string)) 2318 (let* ((default-string (cond (default-string (format " (default %s)" default-string))
2319 ((equal "" default) "") 2319 ((equal "" default) "")
2320 (t (format "[%s] " default)))) 2320 (t (format " (default %s)" default))))
2321 (prompt (format "%s folder: %s" prompt default-string)) 2321 (prompt (format "%s folder%s: " prompt default-string))
2322 (mh-current-folder-name mh-current-folder) 2322 (mh-current-folder-name mh-current-folder)
2323 read-name folder-name) 2323 read-name folder-name)
2324 (while (and (setq read-name (mh-folder-completing-read 2324 (while (and (setq read-name (mh-folder-completing-read