From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: [External] : Re: Package cl is deprecated
Date: Mon, 2 Aug 2021 08:50:32 +0800 [thread overview]
Message-ID: <CAGP6POKm+Gk4jk8RWUmS=JorD0mVJ-G70monbSGw3+uYE1C85w@mail.gmail.com> (raw)
In-Reply-To: <87eebclnsz.fsf@web.de>
On Mon, Aug 2, 2021 at 7:59 AM Michael Heerdegen
<michael_heerdegen@web.de> wrote:
>
> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
>
> > But, BTW, I haven't done any configuration for gnus [1], but instead,
> > I noticed the following `custom-set-variables' setting in my
> > `~/.emacs.d/init.el':
> >
> > '(send-mail-function 'mailclient-send-it)
> >
> > If I want to use gnus to do the job through my Gmail account, what
> > adjustments should I make?
>
> If you don't get satisfying answers here, emacs.gnus.user and
> emacs.gnus.general are Gnus specific groups to ask.
Are these newsgroups or mailing lists? I can't find them on:
<https://www.gnus.org/resources.html>.
> I am using Gnus. M-x emacs-bug-report still doesn't start Gnus, I get a
> buffer in message-mode instead. You get the same when starting to
> compose a new message from within Gnus.
>
> You might want to start with one of the tasks (1) sending Email from
> Emacs and (2) reading Email and News using Gnus.
>
> For sending mail, AFAIR you need a sendmail program installed (or did
> this change...? I don't reacall). I installed esmtp since it's easy to
> configure it. I have a ~/.authinfo.gpg with servers, usernames and
> passwords (including the smtp-Server I use for sending mails), and, I
> guess, that's already all I config needed outside Emacs.
>
> Then some basic setup like
>
> (setq-default
> send-mail-function #'smtpmail-send-it
> mail-user-agent 'gnus-user-agent
> user-mail-address ... )
>
> You will want to store Email addresses somewhere, there are multiple
> solutions for that (EBDB, BBDB, Org, probably more).
>
> For basic stuff, i.e. unless you want to use Gnus more or less as your
> one and only mail reader, you can also choose a more lightweight
> approach inside Emacs, instead of Gnus.
>
> If you do want to use Gnus, there is some more setup involved, but it is
> not harder to setup than other mail readers if you are used to Emacs.
>
> There is a cool gnus-mock called package for testing purposes available
> in Gnu Elpa that always starts with the same basic but functional setup,
> if you just want to try out how it looks like, and try out first
> settings.
Thank you for letting know this interesting tool [1].
[1] https://elpa.gnu.org/packages/gnus-mock.html
> Gnus then has its own `gnus-init-file', that's where your Gnus specific
> settings would go.
>
> Some variables you probably want to set:
>
> #+begin_src emacs-lisp
> (setq-default
> mail-sources '((file :path "/var/mail/my-user-name")) ;"system" mail
> gnus-message-archive-method ;where stuff is saved
> '(nnml "archive"
> (nnml-directory "~/Mail/archive/")
> (nnml-active-file "~/Mail/archive/active")
> (nnml-newsgroups-file "~/Mail/archive/newsgroups"))
> gnus-message-archive-group "sent" ;your sent mails go there
> mail-archive-file-name nil ;have forgotten why I have this
> gnus-article-save-directory (expand-file-name "~/Mail/archive/read/")
> nntp-authinfo-file (expand-file-name "~/.authinfo.gpg"); see above
> message-directory (expand-file-name "~/Mail/")
>
> epa-file-cache-passphrase-for-symmetric-encryption t
>
> gnus-secondary-select-methods
> '((nnimap "Michael_Heerdegen@web.de"
> (nnimap-address "imap.web.de"))
> (nntp "Gmane" (nntp-address "news.gmane.io"))
> (nntp "news.gnus.org"))
> gnus-select-method (car gnus-secondary-select-methods)
>
> gnus-default-article-saver #'gnus-summary-save-in-folder
>
> gnus-blocked-images #'gnus-block-private-groups)
> #+end_src
>
> Could be that there are some redundancies, and you want to use your own
> Email addresses (I guess).
>
> That's the answer to the question what you would have to do. There are
> probably lots of good "How to get started" manuals out there, and the
> Gnus manual itself is written in a nice and funny way, don't hesitate to
> read at length.
Thank you very much again for your helpful and exhaustive explanations.
> Michael.
Regards
--
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province
next prev parent reply other threads:[~2021-08-02 0:50 UTC|newest]
Thread overview: 101+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-28 9:23 Package cl is deprecated Hongyi Zhao
2021-07-28 9:28 ` Jean Louis
2021-07-28 9:33 ` Thibaut Verron
2021-07-28 9:46 ` Hongyi Zhao
2021-07-28 9:54 ` Thibaut Verron
2021-07-28 10:03 ` Jean-Christophe Helary
2021-07-28 11:20 ` Leo Butler
2021-07-28 13:41 ` Hongyi Zhao
2021-07-28 13:56 ` Eli Zaretskii
2021-07-28 14:07 ` Hongyi Zhao
2021-07-28 14:21 ` Leo Butler
2021-07-28 14:48 ` Hongyi Zhao
2021-07-28 18:26 ` Eli Zaretskii
2021-07-29 2:18 ` Hongyi Zhao
2021-07-29 6:17 ` Eli Zaretskii
2021-07-29 7:22 ` Hongyi Zhao
2021-07-28 18:31 ` Eli Zaretskii
2021-07-29 2:27 ` Hongyi Zhao
2021-07-29 6:16 ` Eli Zaretskii
2021-07-29 14:26 ` [External] : " Drew Adams
2021-07-30 3:04 ` Hongyi Zhao
2021-07-30 4:03 ` Drew Adams
2021-07-30 5:33 ` Hongyi Zhao
2021-07-30 15:56 ` Drew Adams
2021-07-31 0:35 ` Hongyi Zhao
2021-07-31 0:58 ` Hongyi Zhao
2021-07-31 21:15 ` Drew Adams
2021-07-31 22:39 ` Michael Heerdegen
2021-07-31 22:59 ` Drew Adams
2021-08-01 1:42 ` Hongyi Zhao
2021-08-01 1:41 ` Hongyi Zhao
2021-07-31 1:34 ` Michael Heerdegen
2021-07-31 4:06 ` Hongyi Zhao
2021-07-31 4:39 ` Michael Heerdegen
2021-07-31 5:18 ` Hongyi Zhao
2021-07-31 5:26 ` Hongyi Zhao
2021-07-31 21:09 ` Drew Adams
2021-08-01 1:36 ` Hongyi Zhao
2021-08-01 2:28 ` Drew Adams
2021-08-01 2:46 ` Hongyi Zhao
2021-08-01 2:49 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-31 1:04 ` Hongyi Zhao
2021-07-31 21:14 ` Drew Adams
2021-08-01 1:55 ` Hongyi Zhao
2021-08-01 2:30 ` Drew Adams
2021-08-01 4:13 ` Hongyi Zhao
2021-08-01 5:16 ` Drew Adams
2021-08-01 23:58 ` Michael Heerdegen
2021-08-02 0:50 ` Hongyi Zhao [this message]
2021-08-02 1:10 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-02 1:16 ` Michael Heerdegen
2021-08-02 1:38 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-02 2:05 ` Hongyi Zhao
2021-08-02 2:23 ` Michael Heerdegen
2021-08-02 2:25 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-02 2:24 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-02 2:42 ` Hongyi Zhao
2021-08-02 3:28 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-02 3:57 ` Michael Heerdegen
2021-08-02 19:50 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-02 4:29 ` Hongyi Zhao
2021-08-02 19:53 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-02 21:05 ` gnutls and `erc-tls' (was: Re: [External] : Re: Package cl is deprecated) Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-02 22:02 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-03 1:16 ` [External] : Re: Package cl is deprecated Hongyi Zhao
2021-08-03 1:29 ` Drew Adams
2021-08-03 1:31 ` Hongyi Zhao
2021-08-03 1:36 ` Drew Adams
2021-08-03 1:59 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-02 21:33 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-08-03 1:14 ` Hongyi Zhao
2021-08-03 3:56 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-08-02 1:03 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-02 1:46 ` Michael Heerdegen
2021-08-02 2:18 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-01 4:23 ` Michael Heerdegen
2021-08-01 4:58 ` Hongyi Zhao
2021-08-01 5:08 ` Hongyi Zhao
2021-08-01 5:45 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-01 5:56 ` Hongyi Zhao
2021-08-01 6:29 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-01 6:36 ` Hongyi Zhao
2021-08-01 7:15 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-01 7:57 ` Hongyi Zhao
2021-08-01 13:23 ` Hongyi Zhao
2021-07-30 19:59 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-07-28 13:03 ` Hongyi Zhao
2021-07-28 13:23 ` Thibaut Verron
2021-07-28 13:33 ` Hongyi Zhao
2021-07-28 13:36 ` Hongyi Zhao
2021-07-28 14:04 ` Thibaut Verron
2021-07-28 14:15 ` Hongyi Zhao
2021-07-28 14:23 ` Thibaut Verron
2021-07-28 14:25 ` Thibaut Verron
2021-07-28 14:30 ` Hongyi Zhao
2021-07-28 14:36 ` [External] : " Drew Adams
2021-07-28 14:55 ` Hongyi Zhao
2021-07-29 15:26 ` Arthur Miller
2021-07-30 2:23 ` Hongyi Zhao
2021-07-28 18:11 ` Marcin Borkowski
2021-07-29 2:38 ` Hongyi Zhao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAGP6POKm+Gk4jk8RWUmS=JorD0mVJ-G70monbSGw3+uYE1C85w@mail.gmail.com' \
--to=hongyi.zhao@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=michael_heerdegen@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).