From d7c01752cc64a0701efb5af1b2c4f830268b4200 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Thu, 17 Sep 2020 12:30:30 +0200 Subject: [PATCH] [Emacs] Change HTML metadata, fix mu4e filter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Mu4e filter for my university emails wasn’t working properly, so I fixed it. --- org/config/emacs.org | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/org/config/emacs.org b/org/config/emacs.org index 603bda4..26db53d 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -1,9 +1,9 @@ #+title: Emacs Configuration #+setupfile: headers #+OPTIONS: auto-id:t -#+HTML_HEAD_EXTRA: -#+HTML_HEAD_EXTRA: -#+HTML_HEAD_EXTRA: +#+HTML_HEAD_EXTRA: +#+HTML_HEAD_EXTRA: +#+HTML_HEAD_EXTRA: #+PROPERTY: header-args: :mkdirp yes * Introduction @@ -3114,9 +3114,9 @@ which gets updated with the ~mbsync~ command from ~isync~. It has a lot of neat features, but I guess my favorite ones are: 1. the search query feature - 2. being able to send an HTML email either to the browser + 2. rendering an HTML email in the browser - Due to mu sitting on top of a Maildir, I need to tell mu4e where said maildir + Due to mu sitting on top of a maildir, I need to tell mu4e where said maildir is, and point it the trash, archive, and sent folders as well as the refresh command and how frequently I want my emails to be refreshed. #+BEGIN_SRC emacs-lisp @@ -3152,7 +3152,9 @@ (,(s-join " " '("maildir:/Inbox" "AND NOT flag:trashed" - "AND f:/.*up8\.edu|.*univ-paris8.*/")) + "AND (f:/.*up8\.edu|.*univ-paris8.*/" + "OR c:/.*up8\.edu|.*univ-paris8.*/" + "OR t:/.*up8\.edu|.*univ-paris8.*/)")) "University" ?u) (,(s-join " " '("maildir:/Inbox"