On 2010-04-03 10:00, martin f krafft <madd...@debian.org> wrote:
> also sprach Philipp Weis <pw...@pweis.com> [2010.04.03.0000 +0200]:
> > On top of that, mailto-mutt doesn't handle body specifications
> > properly.
> > 
> >   /usr/lib/mutt/mailto-mutt 'mailto:test?body=test'
> > 
> > doesn't do anything,
> 
> Works fine for me, but if mailto-mutt is really no longer necessary,
> then that's good. It should be replaced with a script that shows
> a deprecation warning along with instructions or a pointer to
> instructions on how to migrate the setup.

Strange, on my machine I just see a new terminal for a fraction of a
second.

> Want to take a shot at a patch?

Sure, attached is a minimal wrapper that I believe should replace the
current version.

By the way, upstream mutt just changed the way mailto: URLs are
handled. With the next release, only the subject and header attributes
will be honored, everything else is ignored for security reasons,
mostly because of "attach". There will be a configuration option to
have more attributes honored.

Philipp


#!/bin/sh
#
# mailto-mutt -- wrapper to use mutt as mailto handler from Iceweasel
#
# If you want Iceweasel 3.x to use this wrapper for mailto URLs, go to Edit >
# Preferences > Applications, and set "mailto" to "/usr/lib/mutt/mailto-mutt".

exec x-terminal-emulator -e mutt "$@"

Attachment: signature.asc
Description: Digital signature

Reply via email to