[Emacs] Change HTML metadata, fix mu4e filter

The Mu4e filter for my university emails wasn’t working properly, so I
fixed it.
This commit is contained in:
Lucien Cartier-Tilet 2020-09-17 12:30:30 +02:00
parent d5c5d2cc02
commit d7c01752cc
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -1,9 +1,9 @@
#+title: Emacs Configuration #+title: Emacs Configuration
#+setupfile: headers #+setupfile: headers
#+OPTIONS: auto-id:t #+OPTIONS: auto-id:t
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundraks Spacemacs Configuration" /> #+HTML_HEAD_EXTRA: <meta name="description" content="Phundraks Emacs Configuration" />
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundraks Spacemacs Configuration" /> #+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundraks Emacs Configuration" />
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the Spacemacs configuration of Phundrak" /> #+HTML_HEAD_EXTRA: <meta property="og:description" content="Phundraks Emacs Configuration Detailed" />
#+PROPERTY: header-args: :mkdirp yes #+PROPERTY: header-args: :mkdirp yes
* Introduction * Introduction
@ -3114,9 +3114,9 @@
which gets updated with the ~mbsync~ command from ~isync~. It has a lot of which gets updated with the ~mbsync~ command from ~isync~. It has a lot of
neat features, but I guess my favorite ones are: neat features, but I guess my favorite ones are:
1. the search query feature 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 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. command and how frequently I want my emails to be refreshed.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
@ -3152,7 +3152,9 @@
(,(s-join " " (,(s-join " "
'("maildir:/Inbox" '("maildir:/Inbox"
"AND NOT flag:trashed" "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) "University" ?u)
(,(s-join " " (,(s-join " "
'("maildir:/Inbox" '("maildir:/Inbox"