retitle 278990 firefox: adds a buggy entry to /etc/mailcap (needs a wrapper to 
copy the file)
thanks

On 2005-12-31 10:11:39 -0500, Justin Pryzby wrote:
> This problem still exists, so this bug report should remain open,
> however cloned, reassigned, retitled, blocked, or tagged.  If the file
> should be copied, so that mutt doesn't remove or zero it, then let us
> implement that as necessary in mailcap or some wrapper thereof.

OK, I didn't think you were refering to the system mailcap.
Indeed, I have here:

text/html; /usr/bin/firefox '%s'; description=HTML Text; test=test -n 
"$DISPLAY";  nametemplate=%s.html
text/xml; /usr/bin/firefox '%s'; description=XML Text; test=test -n "$DISPLAY"; 
  nametemplate=%s.xml

which is not correct (as my previous mail explained). The bug title
should now clearly say what the bug is.

But IMHO, the wrapper should be generic and be provided by Mutt.
Something like:

text/html; /usr/bin/view-attach /usr/bin/firefox '%s'; description=HTML Text; 
test=test -n "$DISPLAY";  nametemplate=%s.html

where view-attach would do the copy, call the command and unlink the
file. Firefox should also have an option so that the command quits
whether Firefox was already running or not.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


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

Reply via email to