From: Simon Ruderich Date: Mon, 23 Jul 2018 06:46:33 +0000 (+0200) Subject: mutt: remove unused handling of flagged mails X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=55aae3c270238749c131b9b800203db20568e47c;p=config%2Fdotfiles.git mutt: remove unused handling of flagged mails I want to see all mails by default and have disabled this snippet on all hosts for quite some time. --- diff --git a/mail/mutt/handling b/mail/mutt/handling index f82f113..92db261 100644 --- a/mail/mutt/handling +++ b/mail/mutt/handling @@ -1,6 +1,6 @@ # muttrc file for mail handling; stores macros and commands -# Copyright (C) 2007-2012 Simon Ruderich +# Copyright (C) 2007-2018 Simon Ruderich # # This file is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -21,9 +21,4 @@ bind attach view-attach # allow the use of 'i' to quit the attachment menu: bind attach i exit -# when opening the inbox or mailinglists display at first only flagged emails: -# f toggles between flagged/all mails -folder-hook "^(inbox$|lists/)" source ~/.mutt/handling-flagged -#folder-hook . source ~/.mutt/handling-unflagged # FIXME: this doesn't work - # vim: ft=muttrc diff --git a/mail/mutt/handling-flagged b/mail/mutt/handling-flagged deleted file mode 100644 index d1f4ecd..0000000 --- a/mail/mutt/handling-flagged +++ /dev/null @@ -1,27 +0,0 @@ -# muttrc file to toggle between flagged an unflagged mails -# when sourced display only flagged emails, next call to f toggles - -# Copyright (C) 2007-2012 Simon Ruderich -# -# This file is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This file is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this file. If not, see . - - -# display only flagged mails: -# un/set beep prevents warnings if there are no flagged messages -push "unset beep~Fset beep" - -# macro to display all mails: -macro index f "source ~/.mutt/handling-unflagged" - -# vim: ft=muttrc diff --git a/mail/mutt/handling-unflagged b/mail/mutt/handling-unflagged deleted file mode 100644 index 0a76453..0000000 --- a/mail/mutt/handling-unflagged +++ /dev/null @@ -1,27 +0,0 @@ -# muttrc file to toggle between flagged an unflagged mails -# when sourced display all emails, next call to f toggles - -# Copyright (C) 2007-2012 Simon Ruderich -# -# This file is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This file is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this file. If not, see . - - -# display all mails, also go to the next new/unread message: -# un/set beep prevents warnings with next-new-then-unread if there are no unread messages -push ".unset beepset beep" - -# macro to display only flagged mails: -macro index f "source ~/.mutt/handling-flagged" - -# vim: ft=muttrc