Julien Cristau wrote:
> On Mon, Jul 21, 2008 at 18:16:39 +0200, Bastian Venthur wrote:
> 
>> Please give me a concrete example, so I can implement your idea. Please
>> test if it works with xdg-email and icedove. It also has to work
>> combined with python's command.getoutput or at least from within Python.
>>
> *sigh*
> 
> command="xdg-email ..."
> 
> if [ -d /usr/share/bug/$pkg ]; then
>         script=/usr/share/bug/$pkg/script
> else
>         script=/usr/share/bug/$pkg
> fi
> if [ -x $script ]; then
>         foo=$(mktemp)
>         /usr/share/reportbug/handle_bugscript $script $foo
>         command="$command --attach $foo"
> fi
> $command

*sigh*

Hmm ok, now we're starting to repeat ourself:

- A few mails ago, I already explained (and provided a bugnumber), that
  the --attach parameter of xdg-email doesn't work and that not every
  MUA supports attaching a file from the command line.
- You said, then the MUAs are broken.
- I said, that conclusion doesn't help to solve the problem.

The problem remains that I somehow have to get this info into the mail.
  I believe my current approach works good enough, but I'm of course
open to better solutions.


-- 
Bastian Venthur                                      http://venthur.de
Debian Developer                                 venthur at debian org




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to