From d41fc9c3caa8221817ca17764b1557d6841025c5 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Wed, 6 Apr 2022 19:52:42 +0200 Subject: [PATCH] [Emacs] Update mu4e filters --- org/config/emacs.org | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/org/config/emacs.org b/org/config/emacs.org index a23fbb1..033db28 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -1836,6 +1836,7 @@ match: - ~/ateliers.*emacs.*/~ - ~/emacs-.*@gnu.org/~ - ~/.*eshell-info-banner.*/~ +- ~/.*bzg/emacsfr@lists.sr.ht/~ #+name: mu4e-bookmarks-filter-emacs-list #+header: :tangle no :cache yes @@ -1843,8 +1844,8 @@ match: "<>" #+end_src -#+RESULTS[85c81cfd4ffc352893a3a2b06657c75c992e949f]: mu4e-bookmarks-filter-emacs-list -: list:/ateliers.*emacs.*/ OR t:/ateliers.*emacs.*/ OR f:/ateliers.*emacs.*/ OR contact:/ateliers.*emacs.*/ OR list:/emacs-.*@gnu.org/ OR t:/emacs-.*@gnu.org/ OR f:/emacs-.*@gnu.org/ OR contact:/emacs-.*@gnu.org/ OR list:/.*eshell-info-banner.*/ OR t:/.*eshell-info-banner.*/ OR f:/.*eshell-info-banner.*/ OR contact:/.*eshell-info-banner.*/ +#+RESULTS[c4adbc4e0becf0910e340d44e1d46aaf870d3a48]: mu4e-bookmarks-filter-emacs-list +: list:/ateliers.*emacs.*/ OR t:/ateliers.*emacs.*/ OR f:/ateliers.*emacs.*/ OR contact:/ateliers.*emacs.*/ OR list:/emacs-.*@gnu.org/ OR t:/emacs-.*@gnu.org/ OR f:/emacs-.*@gnu.org/ OR contact:/emacs-.*@gnu.org/ OR list:/.*eshell-info-banner.*/ OR t:/.*eshell-info-banner.*/ OR f:/.*eshell-info-banner.*/ OR contact:/.*eshell-info-banner.*/ OR list:/.*bzg/emacsfr@lists.sr.ht/ OR t:/.*bzg/emacsfr@lists.sr.ht/ OR f:/.*bzg/emacsfr@lists.sr.ht/ OR contact:/.*bzg/emacsfr@lists.sr.ht/ Another bookmark I wish to have is one dedicated to emails related to more general development topics, including issues and PRs from Github. @@ -1911,8 +1912,8 @@ And for the last string-generating code, let’s describe my main inbox: " AND NOT ") #+end_src -#+RESULTS[6176ce735521a1709aa6f77331f0b1f08c83b772]: mu4e-bookmarks-inbox-filters -: NOT flag:trashed AND (maildir:/Inbox OR maildir:/Junk) AND NOT (list:/.*LANG@LISTSERV.BROWN.EDU/ OR t:/.*LANG@LISTSERV.BROWN.EDU/ OR f:/.*LANG@LISTSERV.BROWN.EDU/ OR contact:/.*LANG@LISTSERV.BROWN.EDU/) AND NOT (f:/.*supran.fr/ OR c:/.*supran.fr/ OR t:/.*supran.fr/) AND NOT (list:/ateliers.*emacs.*/ OR t:/ateliers.*emacs.*/ OR f:/ateliers.*emacs.*/ OR contact:/ateliers.*emacs.*/ OR list:/emacs-.*@gnu.org/ OR t:/emacs-.*@gnu.org/ OR f:/emacs-.*@gnu.org/ OR contact:/emacs-.*@gnu.org/ OR list:/.*eshell-info-banner.*/ OR t:/.*eshell-info-banner.*/ OR f:/.*eshell-info-banner.*/ OR contact:/.*eshell-info-banner.*/) AND NOT (list:/.*\.github\.com/ OR t:/.*\.github\.com/ OR f:/.*\.github\.com/ OR contact:/.*\.github\.com/ OR list:stumpwm-devel@nongnu.org OR t:stumpwm-devel@nongnu.org OR f:stumpwm-devel@nongnu.org OR contact:stumpwm-devel@nongnu.org) AND NOT (f:/.*up8\.edu|.*univ-paris8.*/ OR c:/.*up8\.edu|.*univ-paris8.*/ OR t:/.*up8\.edu|.*univ-paris8.*/) +#+RESULTS[ad6f80f16c2deed97ca9dc0cf9a8566f4a1d5608]: mu4e-bookmarks-inbox-filters +: NOT flag:trashed AND (maildir:/Inbox OR maildir:/Junk) AND NOT (list:/.*LANG@LISTSERV.BROWN.EDU/ OR t:/.*LANG@LISTSERV.BROWN.EDU/ OR f:/.*LANG@LISTSERV.BROWN.EDU/ OR contact:/.*LANG@LISTSERV.BROWN.EDU/) AND NOT (f:/.*supran.fr/ OR c:/.*supran.fr/ OR t:/.*supran.fr/) AND NOT (list:/ateliers.*emacs.*/ OR t:/ateliers.*emacs.*/ OR f:/ateliers.*emacs.*/ OR contact:/ateliers.*emacs.*/ OR list:/emacs-.*@gnu.org/ OR t:/emacs-.*@gnu.org/ OR f:/emacs-.*@gnu.org/ OR contact:/emacs-.*@gnu.org/ OR list:/.*eshell-info-banner.*/ OR t:/.*eshell-info-banner.*/ OR f:/.*eshell-info-banner.*/ OR contact:/.*eshell-info-banner.*/ OR list:/.*bzg/emacsfr@lists.sr.ht/ OR t:/.*bzg/emacsfr@lists.sr.ht/ OR f:/.*bzg/emacsfr@lists.sr.ht/ OR contact:/.*bzg/emacsfr@lists.sr.ht/) AND NOT (list:/.*\.github\.com/ OR t:/.*\.github\.com/ OR f:/.*\.github\.com/ OR contact:/.*\.github\.com/ OR list:stumpwm-devel@nongnu.org OR t:stumpwm-devel@nongnu.org OR f:stumpwm-devel@nongnu.org OR contact:stumpwm-devel@nongnu.org) AND NOT (f:/.*up8\.edu|.*univ-paris8.*/ OR c:/.*up8\.edu|.*univ-paris8.*/ OR t:/.*up8\.edu|.*univ-paris8.*/) We can finally define our bookmarks! The code reads as follows: #+name: mu4e-bookmarks