madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://<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 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://"]
  insteadOf = madduck:

pdftool integration in foreground for filing & processing
authormartin f. krafft <>
Tue, 19 Apr 2022 17:49:55 +0000 (19:49 +0200)
committermartin f. krafft <>
Tue, 19 Apr 2022 17:50:04 +0000 (19:50 +0200)

index 32a648763731617f2e54b17173cfb2cc6bc29671..e32c1b2b0d0625508bf6c3fd23e9fa24a0ba9158 100644 (file)
@@ -74,7 +74,8 @@ macro index,pager     \el     "<enter-command> set my_editor=\$editor<enter><enter-comma
 # override F6 from notmuch-mutt
 macro index            <F6>    "<enter-command><enter>" "do nothing"
-macro attach   e       "<enter-command> set my_mailcap_path=\$mailcap_path<enter><enter-command> set mailcap_path=$my_confdir/mailcap.editing<enter><view-mailcap><enter-command> set mailcap_path=\$my_mailcap_path<enter>" "edit temporary file of attachment"
+macro attach   e       "<enter-command> set my_mailcap_path=\$mailcap_path<enter><enter-command> set mailcap_path=$my_confdir/mailcap.editing<enter><view-mailcap><enter-command> set mailcap_path=\$my_mailcap_path<enter>" "Call pdftool to file attachment"
+macro attach   E       "<enter-command> set my_mailcap_path=\$mailcap_path<enter><enter-command> set mailcap_path=$my_confdir/mailcap.editing<enter><print-entry><enter-command> set mailcap_path=\$my_mailcap_path<enter>" "Call pdftool to process & file attachment"
 macro index,pager      M       "<enter-command> set my_weed=\$weed<enter><enter-command> set noweed<enter><pipe-message>formail -czx X-RSS-URL: | xargs sensible-browser<enter><enter-command> set weed=\$my_weed<enter>"
index 4935e63afbacd24c26f770bbcaafa1da2ec0fc24..85f5870be53954451d9374ed7eb87c66cba3dfaa 100644 (file)
@@ -1,3 +1,3 @@
-application/pdf; ~/.config/mutt/bgview -t %t -v 'pdftool --file'
+application/pdf; pdftool --file -f %s; print=pdftool --proc -f %s
 application/*; ~/.config/mutt/bgview -t %t
 image/*; ~/.config/mutt/bgview -t %t