We’re rewarding the question askers & reputations are being recalculated! Read more.

Hot answers tagged

30

Switching from docview to pdf-tools happens 'automatically' when you install pdf-tools. Once you've done this, any time Emacs tries to open a pdf in Emacs, it will use pdf-tools. However, some packages will call out to the operating system, or use different config within Emacs, to decide if they should use Emacs or another program to open a pdf. So there is ...


18

Open the directory in dired with C-x 4 d and type M-x turn-on-gnus-dired-mode. Then mark the required files with m (or whatever) and type C-c RET C-a. The files can now be attached to an already opened message buffer or assigned to a new one.


9

There is, you need to: ; Activate delayed messages: (gnus-delay-initialize) And this is also handy: ; Remove date, so delayed messages (C-c C-j) don't get a date until ; sent <mailman.1180.1266014215.14305.info-gnus-english@gnu.org>: (setq message-draft-headers '(References From)) automated sending is activated by this (otherwise it will be sent ...


8

You'll want to look at Gnus Demon. From gnus-demon.el you'll probably want gnus-demon-scan-mail or gnus-demon-add-scanmail [Defaults to 120, 60: Scan every 2 hours if idle for 1 hour]. This is probably closer to the standard 5-minute scan on phones/applications: (gnus-demon-add-handler 'gnus-demon-scan-mail 5 t) EmacsWiki has a comparison of Gnus ...


6

Maybe org-mime.el by Eric Schulte. ;; WYSWYG, html mime composition using org-mode ;; ;; For mail composed using the orgstruct-mode minor mode, this ;; provides a function for converting all or part of your mail buffer ;; to embedded html as exported by org-mode. Call `org-mime-htmlize' ;; in a message buffer to convert either the active region or the ;; ...


5

Move the cursor over the link, and press "u". This calls shr-copy-url, and copies the url into the kill-ring. You can paste it then in any browser.


5

Certainly, this is Emacs ! :) (bbdb-initialize 'gnus 'message) (bbdb-mua-auto-update-init 'message) ;; use 'gnus for incoming messages too (setq bbdb-mua-auto-update-p 'query) ;; or 'create to create without asking This will parse fields in outgoing messages, and suggest creation of corresponding BBDB entries


5

If Gnus doesn't see some or all mail in your mail directory, even though the files are there, it may be for 2 reasons. You miss or have corrupted an .overview file. An .overview file is called a NOV database, Gnus uses this file to track your mail. Call nnml-generate-nov-databases-directory, enter directory containing your mail. Or, call nnml-generate-nov-...


5

Google Mail uses a proprietary—it doesn't appear to be standardised nor used anywhere else—SASL extension named XOAUTH2 to support OAuth 2.0 tokens for SMTP/IMAP authentication. See IMAP and SMTP for more information about these extensions. These OAuth tokens are supplied by the Google Identity Platform API which—among other things—provides the familiar ...


5

According to the package database, you can find gnus.info.gz in emacs24-common-non-dfsg and /usr/share/info/emacs-25/gnus.info.gz, along with a lot of other info manuals.


4

I located a package called muse-message, which does exactly what I was hoping for. I have not ever used Muse, but it's a markup system similar to markdown. Muse-message allows for using Muse markup, and then M-x muse-message-markup turns the message buffer into a multipart MIME message with an HTML component.


4

Make sure that each Emacs instance runs a daemon with a unique name. Set the variable server-start to choose the server name, for example emacs --daemon & # Normal instance with the default server name ("server") emacs --daemon=gnus & # Instance for GNUS only From one instance, you can execute code in another instance with the function ...


4

Set the variable gnus-use-full-window to nil. The manual warns against doing so: Setting this variable to nil kinda works, but there are glitches. Use at your own peril. But I haven't seen anything I'd call "glitches" related to that.


4

The problem is (nnimap-server-port "imaps") on Windows it should be (nnimap-server-port 993) The former works on GNU/Linux because /etc/services provides a known port to work with, whereas Windows doesn't have a similar mechanism.


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 ...


4

Why is dovecot necessary? Dovecot is not necessarily necessary; it depends on your setup, needs and preferences. Can one just read a maildir directly into gnus? Of course one can, using the nnmaildir select method. See also the group parameters it recognises and a comparison of Gnus mail backends. Here is an example of my previous configuration: (setq ...


3

I found a solution! I had to tell it where to find gnutls. (setq message-send-mail-function 'smtpmail-send-it smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil)) smtpmail-auth-credentials '(("smtp.gmail.com" 587 "email@example.com" nil)) smtpmail-default-smtp-server "smtp.gmail.com" smtpmail-smtp-server "smtp.gmail.com" ...


3

This is not really a gnus question, but the problem is 2 factor authentication in gmail. https://productforums.google.com/forum/#!topic/gmail/WUaXHSdI3WM explains the issue and how to fix it (you need to create an application specific password).


3

I've got an answer at #gnus IRC channel. I suspected there has to be a description of this tag, but didn't know what it's called, so here: MML Definition, the part I needed was recipients=some@email


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),...


3

You can set the variable gnus-summary-expunge-below to control below which score not to show. I have set it to -9999 and I score articles I don't want to even appear in the Summary buffer -10000. Articles I want automatically read, but still shown in the Summary, I usually score at -5000.


3

My ~/News/ folder holds (at least) drafts, cache, score-files, and the file "suppression" containing gnus-dup-list. I think you can configure Gnus to put the folder somewhere else, but some of the things stored there are integral parts of a news reader, so I don't think you can do without it completely.


3

It's basically very simple: Just type M-x bbdb RET RET. You'll end up in an empty contacts list, a BBDB buffer. Then start inserting contacts :-). Have a look at the menu. That should get you started. Once you have some contacts you can search for them, print or export them, use completion with them when sending mail, refer to them in org-mode buffers or ...


3

Set the group parameter large-newsgroup-initial to 500 for "All" (default is nil), and you should get what you want - a prompt if there are more than gnus-large-newsgroup unread articles, where the prompt defaults to 500 (instead of the number of unread articles).


3

I actually get a slightly different error on GNU Emacs 27.0.50 (build 4, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2018-02-03 with Gnus v5.13: Contacting host: emacs.stackexchange.com:443 open-network-stream: www.syndic8.com/80 Name or service not known This is because the function nnrss-discover-feed tries to access syndic8 when all other RSS ...


2

I don't have automatic but if you wanted to have it in a quick one key here how you can have that : (defun my-gnus-bbdb-snarf-sender () (interactive) (gnus-with-article-buffer (let ((from (mail-fetch-field "from"))) (bbdb-snarf from 'mail)))) and add in a hook for gnus-summary-hook to a key, like for example : (defun my-gnus-summary-mode-...


2

I had the same problem. Could send mail from home but not at university. I struggle with it for days. I was already using but I was using the port 587. Then changing to port 465 did the job. So may be you only have to add (setq smtpmail-stream-type 'ssl) Make sure you don't have any port number specified in your .authinfo file, it might override the ...


2

Gnus splitting does not work across servers. I would recommend instead to treat your company IMAP server as a mail source, as described in https://www.gnu.org/software/emacs/manual/html_node/gnus/Mail-Source-Specifiers.html You can still keep using it in your gnus-secondary-select-methods as far as I know.


2

You can use / t to limit the article in a *Summary* to a number of days: / t runs the command gnus-summary-limit-to-age, which is an interactive compiled Lisp function in `gnus-sum.el'. It is bound to / t, . (gnus-summary-limit-to-age AGE &optional YOUNGER-P) Limit the summary buffer to articles that are older than (or equal) AGE ...


2

If your Emacs is compiled with gnutls support, I think Gnus automatically does StartTLS by itself, and you don't need any special configuration. I don't use Windows, so take it with a pinch of salt, but I am configuring gnus-secondary-select-methods to include: (nnimap "gmail" (nnimap-address "imap.gmail.com")) and in my ~/.authinfo.gpg I ...


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