]> git.madduck.net Git - etc/neomutt.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:

Fix repeated Re/Fw in subject
authormartin f. krafft <madduck@madduck.net>
Thu, 13 Mar 2025 10:44:43 +0000 (11:44 +0100)
committermartin f. krafft <madduck@madduck.net>
Thu, 13 Mar 2025 10:44:43 +0000 (11:44 +0100)
.config/neomutt/neomuttrc

index 41c34a6f33aaa0af0b9e18b42d1c0ba9345a6d5b..355c2af640d3434cfa8add8904aca60679daa360 100644 (file)
@@ -69,3 +69,6 @@ set my_markdown_extensions="admonition,codehilite,sane_lists,smarty,pymdownx.ext
 macro compose y "<enter-command> source '$my_confdir/buildmimetree.py --extensions $my_markdown_extensions --tempdir $tmpdir --css-file $my_confdir/htmlmail.css --domain madduck.net|'<enter><enter-command> source \$my_mdwn_postprocess_cmd_file<enter>" "Convert message into a modern MIME tree with inline images"
 macro compose Y "<enter-command> source '$my_confdir/buildmimetree.py --just-build --max-number-other-attachments 100 --extensions $my_markdown_extensions --tempdir $tmpdir --css-file $my_confdir/htmlmail.css --domain madduck.net|'<enter><enter-command> source \$my_mdwn_postprocess_cmd_file<enter>" "Convert message into a modern MIME tree with inline images"
 bind compose \Cy send-message
+
+subjectrx '((re|aw|sv):\s*)+' '%LRe: %R'
+subjectrx '((wg|fwd?):\s*)+' '%LFw: %R'