]> git.eshelyaron.com Git - emacs.git/commitdiff
2005-09-24 Emilio C. Lopes <eclig@gmx.net>
authorRomain Francoise <romain@orebokech.com>
Sat, 24 Sep 2005 13:45:50 +0000 (13:45 +0000)
committerRomain Francoise <romain@orebokech.com>
Sat, 24 Sep 2005 13:45:50 +0000 (13:45 +0000)
* 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.

lisp/mh-e/ChangeLog
lisp/mh-e/mh-comp.el
lisp/mh-e/mh-mime.el
lisp/mh-e/mh-utils.el

index 631bc5cb6a332c701f99be41b53293df87e37481..e851b399ce0de68033bb4849cbd15a6eeaad4137 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 2005-09-19  Juanma Barranquero  <lekktu@gmail.com>
 
        * mh-print.el (mh-ps-print-msg-show): Fix misplaced parenthesis in
index 59111098bf141c52bd3161a91708753a65d5aed1..a99c05debeac26c7b1f987e7b890daced3cb5561 100644 (file)
@@ -1424,10 +1424,10 @@ not indent and do not delete headers.  Leaves the mark before the letter
 and point after it."
   (interactive
    (list (mh-prompt-for-folder "Message from" mh-sent-from-folder nil)
-         (read-input (format "Message number%s: "
+         (read-input (concat "Message number"
                              (if (numberp mh-sent-from-msg)
-                                 (format " [%d]" mh-sent-from-msg)
-                               "")))
+                                 (format " (default %d): " mh-sent-from-msg)
+                               "")))
          current-prefix-arg))
   (save-restriction
     (narrow-to-region (point) (point))
index 980942a0f478191515fc0c306dffef86b97f84c3..527d322c48a7320b880cb2ec9997f5ff150999f5 100644 (file)
@@ -81,10 +81,10 @@ If any of the optional arguments are absent, they are prompted for."
   (interactive (list
                 (read-string "Forw Content-description: ")
                 (mh-prompt-for-folder "Message from" mh-sent-from-folder nil)
-                (read-string (format "Messages%s: "
+                (read-string (concat "Messages"
                                      (if (numberp mh-sent-from-msg)
-                                         (format " [%d]" mh-sent-from-msg)
-                                       "")))))
+                                         (format " (default %d): " mh-sent-from-msg)
+                                       "")))))
   (if (equal mh-compose-insertion 'gnus)
       (mh-mml-forward-message description folder message)
     (mh-mhn-compose-forw description folder message)))
@@ -374,10 +374,10 @@ See also \\[mh-edit-mhn]."
   (interactive (list
                 (read-string "Forw Content-description: ")
                 (mh-prompt-for-folder "Message from" mh-sent-from-folder nil)
-                (read-string (format "Messages%s: "
+                (read-string (concat "Messages"
                                      (if (numberp mh-sent-from-msg)
-                                         (format " [%d]" mh-sent-from-msg)
-                                       "")))))
+                                         (format " (default %d): " mh-sent-from-msg)
+                                       "")))))
   (beginning-of-line)
   (insert "#forw [")
   (and description
index 522ccda088c678e8ff75211d031a983ebbc5bd79..0e608e520622cc69fe81c97cee128b091ae49da4 100644 (file)
@@ -2315,10 +2315,10 @@ non-nil then the function will accept the folder +, which means all folders
 when used in searching."
   (if (null default)
       (setq default ""))
-  (let* ((default-string (cond (default-string (format "[%s] " default-string))
+  (let* ((default-string (cond (default-string (format " (default %s)" default-string))
                                ((equal "" default) "")
-                               (t (format "[%s] " default))))
-         (prompt (format "%s folder: %s" prompt default-string))
+                               (t (format " (default %s)" default))))
+         (prompt (format "%s folder%s: " prompt default-string))
          (mh-current-folder-name mh-current-folder)
          read-name folder-name)
     (while (and (setq read-name (mh-folder-completing-read