On 23 Aug 2012, at 13:44, Eric Kow wrote:

> On 21 Aug 2012, at 18:39, Florent Becker wrote:
>> 
>> Maybe there should not be a
>> "default-configed-mailer-I-didn't-even-know-was-there". How about the
>> following UI (modulo wording)?
>> 
>> #darcs send -a
>> Creating patch to [destination repo]...
>> I see you haven't configured 'sendmail-command' in ~/.darcs/config
>> I don't know how to send this bundle, saving it as bundle.dpatch for now.
>> NOTE: You may use your mail client to send this bundle.
>> NOTE: If you want 'darcs send' to send a mail directly, add the line
>> send sendmail-command COMMAND
>> to your ~/.darcs/config


Do we want something like this?

$ darcs setup send

What command does your computer use to send email? [try to detect]
Please give me an email address to send a test message to [detect global darcs 
author]

Thanks! If all went well, you should receive a message with further 
instructions on
setting up darcs send

(email instructions would mention the darcs config steps)

Then the idea would be to direct people to darcs setup send instead of giving 
them config instructions.
I wonder if this sort of one-time setup mechanism generalises to other areas of 
darcs usage?

-- 
Eric Kow <http://erickow.com>

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to