![]() Text/html /usr/bin/xdg-open %s copiousoutput v with evil) opens an attachment with associations defined in. Notmuch-search-show-thread ( RET) opens the thread under the cursor. It may be useful to look through emacs tips at the official site and notmuch man pages, in particular syntax for notmuch queries. UI, commands and keybindings are self-descriptive, all the options can be configured with the build-in customize interface. I should note that notmuch frontend for Emacs is the most user-friendly Emacs app I have seen so far. All the syncronized messages should be present. ![]() Running notmuch-poll-and-refresh-this-buffer ( gR with evil bindings) will run the notmuch new command and refresh the buffer. Now run M-x notmuch and the notmuch-hello page should appear. If you use evil-mode, you also should enable the evil-collection mode for notmuch. The only notable observation here is that display-line-numbers-mode seems to break formatting of the notmuch-hello page. :config ( add-hook 'notmuch-hello-mode-hook ( lambda () ( display-line-numbers-mode 0)))) ( use-package notmuch :ensure nil :commands ( notmuch) ![]() ![]() You may instead use venv or even the system-wide installation of Python and omit the conda clauses, but in my experience Anaconda makes life easier in that regard. Because of its usage of Gmail API instead of IMAP, there are no problems with duplicating emails in different labels, etc.Īs I need to use multiple versions of Python & Node.js for other reasons, I manage my installations of them with Anaconda (Miniconda, to be precise). Lieer (formerly gmailieer) is a program that uses Gmail API to download email and synchronize Gmail labels with notmuch tags. If you use two-factor auth, generate an app password.Īlso, make sure your labels do not contain whitespaces because if they do, you will have to type them in quotes all the time. Setting up Gmailīefore we start, some setup is required for the Gmail account.įirst, as there is no way to enable SMTP without IMAP on Gmail, you have to set “Enable IMAP” in the “Forwarding and POP/IMAP” tab in the settings. In any case, what follows is a description of my current workflow with instructions of varying levels of precision of how to get there. Notmuch’s tags are just as advanced as Gmail’s labels, so I have basically the same mail structure accessible from Emacs, Gmail Android client and even the web UI when I don’t have access to the first two.Īlso, I think the setup I describe here is pretty straightforward and less complex than many I encountered, but my impression is not the most reliable source of such knowledge. So, I found an alternative in Emacs+notmuch+lieer and ditched one more proprietary app (the last big one I can’t let go of is DataGrip). However, it has a feature to deploy spy pixels on emails (and offers no protection from them, obviously), the client is Electron-based with a mouse-driven interface, and the sync engine was closed-source at the time. For example, a message can be read in one label and unread in another.įor a few years, my solution was Mailspring, which provides first-class support for labels. My messages are often assigned multiple labels, and I also like to keep only a bunch of messages in the inbox.Īlthough, in my opinion, Gmail web UI was and still is leagues ahead of many of its competitors and even allows keyboard-centric workflow, it’s awkward to use with a keyboard-driven browser, and for no money on Earth I would enable browser notifications.Īny classical IMAP/SMTP client is hard to use in my case, because a message with multiple labels is copied to IMAP folders for each of the label plus the inbox folder, and the copies look like different messages from the client-side. I am a long time Gmail user, and my decade-old account has a somewhat formidable quantity of labels and filters. Multiple Gmail accounts & labels with Emacs Introįor quite some time, e-mail seemed like an anomaly in my workflow.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |