On Sat, Dec 31, 2005 at 04:33:24PM +0100, Vincent Lefevre wrote: > 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. Yes, as you knew, "wrapper" is actually "wrappee".
Is the problem specific to mozilla, or are there other things that will have this problem, that may or may not already have bugs filed against them? (I'm trying to do hurry and do my good deed for 2005 by anticipating possible bugs). -- Clear skies, Justin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

