From ab3ec171e558e0dbfb6cd5dfc32fa0043dfb9afa Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Wed, 20 Oct 2021 19:08:42 +0200 Subject: [PATCH] =?UTF-8?q?[Emacs]=20Add=20mu4e.desktop=20to=20Emacs?= =?UTF-8?q?=E2=80=99=20org=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .local/share/applications/mu4e.desktop | 12 ------------ org/config/emacs.org | 22 +++++++++++++++++++--- 2 files changed, 19 insertions(+), 15 deletions(-) delete mode 100644 .local/share/applications/mu4e.desktop diff --git a/.local/share/applications/mu4e.desktop b/.local/share/applications/mu4e.desktop deleted file mode 100644 index 93a47c3..0000000 --- a/.local/share/applications/mu4e.desktop +++ /dev/null @@ -1,12 +0,0 @@ -[Desktop Entry] -Name=Mu4e -GenericName=Mu4e -Comment=Maildir Utils for Emacs -MimeType=x-scheme-handler/mailto; -Exec=/home/phundrak/.local/bin/emacsmail %U -Icon=emacs -Type=Application -Terminal=false -Categories=Network;Email;TextEditor -StartupWMClass=Gnus -Keywords=Text;Editor; diff --git a/org/config/emacs.org b/org/config/emacs.org index 7c14485..177da27 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -1278,9 +1278,6 @@ emailing, and quite straightforward. I tried a couple of other email clients for Emacs, and I even was for some time a Gnus user, but in the end, mu4e really works best for me. Below you’ll find my configuration for the ~mu4e~ package itself. - -Quick sidenote: on ArchLinux, you’ll need to install either ~mu~ or -~mu-git~ from the AUR in order to use mu4e. #+begin_src emacs-lisp (use-package mu4e :after all-the-icons @@ -1362,6 +1359,25 @@ Quick sidenote: on ArchLinux, you’ll need to install either ~mu~ or (find-file outfile)))) #+end_src +Quick sidenote: on ArchLinux, you’ll need to install either ~mu~ or +~mu-git~ from the AUR in order to use mu4e. I also have a ~.desktop~ file +so I can open mu4e directly from my program picker. It uses the shell +script ~emacsmail~ I’ve written [[file:bin.org::#Emacsmail-afffb7cd][here]]. +#+begin_src conf-desktop :tangle ~/.local/share/applications/mu4e.desktop +[Desktop Entry] +Name=Mu4e +GenericName=Mu4e +Comment=Maildir Utils for Emacs +MimeType=x-scheme-handler/mailto; +Exec=/home/phundrak/.local/bin/emacsmail %U +Icon=emacs +Type=Application +Terminal=false +Categories=Network;Email;TextEditor +StartupWMClass=Gnus +Keywords=Text;Editor; +#+end_src + ***** Basic configuration :PROPERTIES: :CUSTOM_ID: Packages-Configuration-Applications-Email-Mu4e-Basic-configurationfxy0fl6184j0