]> git.madduck.net Git - etc/mutt.git/blobdiff - .mutt/hooks

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:

mark new/seen =store messages read on entry
[etc/mutt.git] / .mutt / hooks
index 14bfe2347720ffd3293f5fbb53f2e0e8905980d2..080960b85985b66caf6f678d3ed71dd23f9daef7 100644 (file)
@@ -21,9 +21,11 @@ send-hook '~C git@vger\.kernel\.org' 'unset followup_to'
 #macro index L '<enter>L'
 # NOTE: using M-F-T from procmail for now
 
-folder-hook spam push '<limit>~N|~O<enter><sort-mailbox>p<first-entry>'
+folder-hook spam push '<tag-pattern>~O<enter><tag-prefix><set-flag>n<tag-prefix><clear-flag>*<limit>~N<enter><sort-mailbox>p<first-entry>'
 
 folder-hook . 'set pager_index_lines=5'
 folder-hook feeds|mass 'set pager_index_lines=10'
 
+folder-hook store push '<tag-pattern>~O|~N<enter><tag-prefix><clear-flag>n<tag-prefix><clear-flag>*<last-entry>'
+
 # vim:ft=muttrc