]> git.madduck.net Git - etc/mutt.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Attachment viewing in the background
authormartin f. krafft <madduck@madduck.net>
Sun, 12 Aug 2018 01:19:48 +0000 (13:19 +1200)
committermartin f. krafft <madduck@madduck.net>
Sun, 12 Aug 2018 01:26:50 +0000 (13:26 +1200)
This makes use of Mutt's internal mailcap handling to inject a script
before deferring to run-mailcap, saving the attachment to a temporary
file, backgrounding the viewer process, and then cleaning up the
temporary stuff after its return. Stdout/stderr are reported using
Awesome's naughty library, so this will not work on other window
managers for now.

text/html files are handled differently to address the issue that
Firefox would return to the shell before the remote process even
accessed the file (https://bugzilla.mozilla.org/show_bug.cgi?id=1482024)


No differences found