help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Email Help


From: Leo Butler
Subject: Re: Email Help
Date: Thu, 26 Aug 2021 06:39:59 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Jason Sanroma <jason@sanroma.net> writes:

>>> Do you know of a good resource to help install it? I could
>>> give the Wiki another try.

Hi Jason,
Welcome to Emacs. I hope that we can help you setting up Gnus (which
should be included in your emacs installation).

>
> I just tried installing it. So I just make a file in ~ named .gnus and
> I added this content (attached file) would this be correct?

There is a syntax error at the end of that file.

Here is an extract from my gnus.el that works (ignore the lines
beginning with #):

#+begin_src emacs-lisp
(setq gnus-select-method '(nntp "news.gmane.io"))

(setq gnus-secondary-select-methods '(
                                      (nnimap "GoogleMail"
                                              (nnimap-authinfo-file 
"~/.authinfo.gpg")
                                              (nnimap-address "imap.gmail.com")
                                              (nnimap-server-port 993)
                                              (nnimap-stream ssl))))
#+begin_src

This tells Gnus to *read* from the news.gmane.io news site and from
gmail. The only tricky part is the encrypted authinfo file. To get
started, I suggest changing "~/.authinfo.gpg" to the unencrypted
"~/.authinfo". The format of .authinfo is documented in the Gnus manual:
each line is of the form

machine <email-server> login <username> password <password> port <port>

E.g.

machine imap.gmail.com login someone@gmail.com password myweakpassword port 993

Try that and get back to us.

We can discuss sending email once reading it is working.


>
> I am very new to Emacs so I do not know much about it. One thing I do
> not get is when something says to "type this in" like M-x or something
> where do I go to type this in?

M-x in emacs-speak means hit the Modifier key (usually the Esc key),
then hit the x key. In most cases, you can also press and hold the Alt
key and the x key (on a US keyboard, you would use your left or right
thumb to press Alt and left index finger to press x). You will see the
illuminated cursor jumps to the bottom line of the emacs window (the
mini-buffer), positioned to the right of "M-x" and emacs waits for more
typing. E.g.

M-x info RET

(RET means press the Enter or Return key).

Similarly C-h t means press the Control and h keys together, then press
the t key. That will take to the emacs tutorial, which I recommend you
work through.

>
> Also, how would I get to 'mhtml-mode'?

M-x find-file RET my.html RET
M-x mhtml-mode RET

The first line creates a buffer named my.html, the second line sets the
mode (if it is not already set; you likely won't need to do it).

>
> If that ~/.gnus file is correct what is the next step?

Get back to us when your Gnus can read email and news.

Again, welcome to Emacs.

Best,
Leo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]