"submit" command naming - just "bundle" preferred?
John Arbash Meinel
john at arbash-meinel.com
Thu Jul 19 19:12:31 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Pool wrote:
> On 7/19/07, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
>> Ian Clatworthy wrote:
>> > Aaron Bentley wrote:
>> >> Ian Clatworthy wrote:
>> >>> Aaron Bentley wrote:
>> >>> I've been a little uneasy about introducing 'submit' as a new command
>> >>> name for a few weeks now. I haven't spoken up because I didn't have a
>> >>> better alternative, I hoped someone else would, and I had other
>> things I
>> >>> needed to get done first. My concern boils down to this: we aren't
>> >>> actually submitting anything - we're just preparing something to
>> submit.
>> >> In this version, yes. I expect that it will be able to send email in
>> >> the future.
>> >
>> > Do you see sending being the default in the future?
>>
>> I'm not sure. We may use "send" for that.
>
> It's a good question. It seems to me that producing a bundle is kind of
> an implementation detail - when I do this, it's almost always because I'm
> going to send it, and it's just an implementation limit that we don't
> nicely invoke the mail client yet. On the other hand it's nice to expose
> small composable operations so people can make up new things.
>
I think the biggest thing for not using submit/send to me is that you really
want to write a comment on it in the email.
We could do that by having you fire up $EDITOR, write the comment (possibly
with the diff below for review), and then send the rest ourselves.
Otherwise, I think we will need something like MAPI support on Windows, and I'm
not sure about Mac.
I tested that "open mailto:john at arbash-meinel.com" does indeed open my
preferred mail program (T-bird), and compose an email to that address. But I
don't know any way to set the subject or an attachment, which is at least as
important for it to be a "smooth" process.
I think you've mentioned how to do it for mutt, I looked into it a bit for
T-bird, but it seems difficult at best. Also it seems that it has bugs in
T-bird 1.5 (which require 2.0 or 1.6). And it doesn't work if you already have
T-bird running, and I *always* have it running.
Because of all this, right now the easiest way is to spawn $EDITOR. Because
they have a pretty well defined interface, and have for a long time. Versus the
numerous mail programs in existence.
Not to mention, that you would have to have a way to have users define their
preferred mail program on all platforms, which they have probably already done.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGn6mOJdeBCYSNAAMRAkZAAJ9xqgaLfVdFnrENQAIeacqbf0y7cwCeIrzJ
rKbi2lZcX/YVnvwYY8Ylv60=
=Q3q9
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list