[Portland] RE: xdg-email BCC

Kevin Krammer kevin.krammer at gmx.at
Tue Jun 6 00:17:46 PDT 2006


On Saturday 03 June 2006 01:08, Bastian, Waldo wrote:
> Yes.. I think there is no doubt about the required capabilities. It's
> more an issue of how to expose those capabilities in the command line
> interface. Which of the following three forms should be supported?
>
> 1) xdg-email 'mailto:jwhite at codeweavers.com?subject=Logo contest&' \
>           'body=Attached you find the logo for the contest.&' \
>           'attachment=/tmp/logo.png&bcc=bastian at kde.org'
>
> 2) xdg-email --attachment /tmp/logo.png -bcc bastian at kde.org \
>           'mailto:jwhite at codeweavers.com?subject=Logo contest&' \
>           'body=Attached you find the logo for the contest.'
>
> 3) xdg-email --attachment /tmp/logo.png -bcc bastian at kde.org \
>           --subject 'Logo contest' \
>           --body 'Attached you find the logo for the contest.' \
>           jwhite at codeweavers.com

I have thought about these options as well and while I personally think that 
explicit commandline options for each part would be nice, it gets us into the 
business of encoding.

IMHO it boils down to how many dependencies we want to drag into xdg-utils.
Right now they are relatively simple scripts, mostly forwarding their input to 
the desktop environments commandline tools.

Recoding any arbitrary input into an URI suitable for passing on might not be 
possible within the limits of the currently used script interpreter/tools.
If someone knows a way to do this within our scope, I'm in favor of (3) as it 
would allow things like

xdg-email --to person1 at domain.com --to person2 at domain.com --cc 
someone_less_important at otherdomain.com

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer at gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtcentre.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/portland/attachments/20060606/46f7f6be/attachment.pgp


More information about the Portland mailing list