On Donnerstag, 29. August 2013 20:46:32 CEST, Pali Rohár wrote:
On Thursday 22 August 2013 12:49:08 Jan Kundrát wrote:
On Thursday, 22 August 2013 12:46:34 CEST, Pali Rohár wrote: ...

Not only from command line, but also used by external applications/scripts.

Case a) I doubt any one will interactively invoke trojitá from the commandline 
and pass complex mailto syntax there - you'd usually pass the minimum command 
to get a composer and fill in address (from addresbook), subject and body there.
Case b) Invocation from scripts: either you read RFC6068 or use eg. 
http://www.mailto.co.uk/ to get you the syntax you want (and later figure to better read 
RFC6068 because of reserved chars ;-) or you do it the UNIX™ way, ie. "one tool, one 
job" - where the question is still, why one would operate on a non-default 
mailclient from a script and also on a non specified/standardized parameter set.
If there was this explicit demand (trojitá + custom mailto generation), there should be 
an explicit tool (ie. a wrapper process, eventually operating on a maitlo generator) - 
which could then on operate actually any mailclient supporting a "mailto:"; 
parameter.

Cheers,
Thomas

Reply via email to