Hi Darel,

Returning to this question:

>   Q. Why is send not checking ~/.mh_profile to ascertain the
> 'Draft-Folder' setting and prefixing it to the message number? The
> Draft-Folder should be a default as well.

No, it should not.  There are seven possible usage patterns (in the
discussion below "$(Path)" stands for the value of Path variable from
~/.mh_profile):

1. send
(no arguments).  In this case the behavior is:

1.a) If Draft-Folder is set: open that folder and use its "cur" message
as a draft; ask the user if it's ok.

1.b) If Draft-Folder is not set: use $(Path)/draft ad a draft;
ask the user if it's ok.

2. send -draft

Use $(Path)/draft without prompting.

3. send FILE

Use $(Path)/MSG as a draft, without prompting.

4. send -draftmessage FILE

Same as (3).

5. send -draftfolder DIR

Use the "cur" message from folder DIR as a draft.

6. send -draftfolder DIR MSG

Use MSG from folder DIR.

7. send -draftfolder DIR -draftmessage MSG

Same as (6).

As you see, Draft-Folder is used only in scenario (1).

Regards,
Sergey

_______________________________________________
Bug-mailutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to