Hot answers tagged

6

Use wrapper shell script. Below please find trivial sample script checking connection status as reported by Unix/Linux NetworkManager. #!/bin/sh # exit if there is no internet connection /usr/bin/nm-online || exit /usr/bin/offlineimap -o Emacs fix (use wrapper instead of directly using offlineimap): (setq mu4e-get-mail-command "/home/me/bin/offlineimap-...


5

(Posting this Q&A combo since it took me a while to figure out, and it might save someone else the trouble.) Based on this answer to a question on how to test for an internet connection within elisp, we can call a shell command: (defun internet-up-p (&optional host) (= 0 (call-process "ping" nil nil nil "-c" "1" "-W" "1" (if ...


4

3.9.2 Thread Commands --------------------- ‘T k’ ‘C-M-k’ Mark all articles in the current (sub-)thread as read (‘gnus-summary-kill-thread’). If the prefix argument is positive, remove all marks instead. If the prefix argument is negative, tick articles instead. — (info "(gnus) Thread Commands") And please do not ask me, how should ...


3

I don't think that's specifically Emacs-related. Your problem seems to be that you only have access to ports 80/443, and Gmail doesn't provide IMAP access over those: they only have 993 open for IMAP/SSL See https://support.google.com/mail/troubleshooter/1668960 for reference So unless you can bypass your proxy (by means of an external gateway for example),...


2

I was able to find the solution after all. I figured out that the variable nnimap-shell-programm was always back to the default after starting gnus. And the process list showed ssh Mail imapd The Gnus manual was only partially helpful because it says this about nnimap-stream shell shell If you need to tunnel via other systems to connect to the server, ...


1

I'm not quite sure what you mean by "disappear". If they are still around, but not visible, when in the actual mail group you can hit / o - which is gnus-summary-insert-old-articles, and all the old articles will show up. If the old articles are being expired, you can change that as follows: In the gnus Group buffer, move to the mail group in question. Then ...


1

I realize I am answering my own question. But leaving it here so that it is helpful for someone in the future. It turns out it was a quirk with the IMAP server I was using. (URL in the question) I had to turn on "Expunge immediately" option in the Server settings for the changes from mu4e to reflect on the server.


1

Sorry, but there is no Emacs package presently available that can use the Mail.app database. The only option will be to have 2 separate databases. To save space, consider just downloading the headers only (some or all) and sparingly download attachments as needed. To see write-ups on several mail-related packages for Emacs, see: Reading and writing email ...


1

First, add your folder to Wanderlust: in the Folders buffer, say: m a .~/path/to/folder Then switch to the folder, and mark the whole summary buffer: M-< C-SPC M-> Mark all the messages for copying into the destination folder: r O %INBOX and execute the copy: x


1

Here is the code from https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/master/gnus-guide-en.org ;; @see http://www.gnu.org/software/emacs/manual/html_node/gnus/Expiring-Mail.html ;; press 'E' to expire email (nnmail-expiry-target "nnimap+gmail:[Gmail]/Trash") The mail will be moved to Trash folder.


1

In Gnus it's called "splitting" the mail. It's covered in section 6.4.3 of the Gnus manual. (run M-: (info "(gnus)Splitting Mail") to jump right to it. Here's an example from the manual: (setq nnmail-split-methods '(("mail.junk" "^From:.*Lars Ingebrigtsen") ("mail.crazy" "^Subject:.*die\\|^Organization:.*flabby") ("mail.other" ""))) You can see ...


1

Configure wl-biff-check-folder-list and the function wl will activate wl-biff-start when launching Wanderlust. There are other variables that begin with wl-biff-... that the original poster may wish to customize. To read where this configuration takes place, type: M-x find-function RET wl RET (after the wl library has been loaded, of course). The ...


1

You can do a generic scan for any Gnus backend. Look at gnus-group-get-new-news-this-group: gnus-group-get-new-news-this-group is an interactive compiled Lisp function in `gnus-group.el'. (gnus-group-get-new-news-this-group &optional N DONT-SCAN) Check for newly arrived news in the current group (and the N-1 next groups). The difference between N and ...


1

Unless your mail provider provides IMAP/SMTP access on ports 80/443, you are out of luck. No email client can be tuned to give access to a port that is being blocked by a firewall. When I am in these circumstances, I use a VPN such as OpenVPN (e.g. with a third party service provider) that CAN be accessed over these ports. Then, you can tunnel all of your ...


Only top voted, non community-wiki answers of a minimum length are eligible