From: "Robert J. Chassell" <bob@rattlesnake.com>
Cc: emacs-devel@gnu.org
Subject: Re: RMAIL settings [was: Re: w32 does not have emacsclient/server]
Date: Sun, 7 Aug 2005 01:38:07 +0000 (UTC) [thread overview]
Message-ID: <m1E1a75-0004QmC@rattlesnake.com> (raw)
In-Reply-To: <42F4FA90.9080600@student.lu.se> (message from Lennart Borgman on Sat, 06 Aug 2005 19:59:44 +0200)
> ;; Set this value so that the From field is correct
> (setq mail-host-address "bob@rattlesnake.com")
Thanks for the code. Could you give me a hint why the first should be
set?
Thank you for causing me to look into `mail-host-address' more
thoroughly. Actually, I am not sure why that expression has the user
name in it. It has been in my .emacs file for a long time. It is a
mistake.
The reason I set the value was that From fields have been wrong and
that string, which is the email address, has not caused me trouble.
But the documentation points out that it is only the name of the
machine.
Looking at the code in emacs/lisp/startup.el, the reason it has not
caused me trouble is that I also set `user-mail-address'. I am going
to change `mail-host-address' to get rid of the user name.
Indeed, if you let `user-mail-address' define itself using
`mail-host-address', that variable had better be only the part of the
address after the `@'. Otherwise, you will get a second user name and
`@' in the `user-mail-address'.
The code for `user-mail-address' is to
(concat (user-login-name) "@" (or mail-host-address (system-name)))
or else set the `user-mail-address' variable yourself.
On my system, `(system-name)' regularly gives a name I do not want;
and when I am running as `root' or some other user, (user-login-name)
also is undesired. So I cannot let `user-mail-address' be set
automatically.
As far as I can see, `mail-host-address' is irrelevant when
`user-mail-address' is set. Perhaps, I should just avoid setting it
at all.
Then the variables that that I think are salient to a .emacs file and
that should be the same regardless of operating system would be:
user-mail-address
mail-default-reply-to
rmail-delete-after-output
rmail-confirm-expunge
rmail-display-summary
rmail-pop-password-required
rmail-pop-password
rmail-preserve-inbox
--
Robert J. Chassell
bob@rattlesnake.com GnuPG Key ID: 004B4AC8
http://www.rattlesnake.com http://www.teak.cc
next prev parent reply other threads:[~2005-08-07 1:38 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-06 11:23 RMAIL settings [was: Re: w32 does not have emacsclient/server] Robert J. Chassell
2005-08-06 12:13 ` Juanma Barranquero
2005-08-06 17:29 ` Robert J. Chassell
2005-08-06 18:17 ` Juanma Barranquero
2005-08-06 23:09 ` Thien-Thi Nguyen
2005-08-06 23:26 ` Juanma Barranquero
2005-08-08 12:17 ` Thien-Thi Nguyen
2005-08-08 13:22 ` Juanma Barranquero
2005-08-08 19:25 ` Thien-Thi Nguyen
2005-08-06 23:42 ` Lennart Borgman
2005-08-07 1:47 ` Robert J. Chassell
2005-08-07 11:31 ` Juanma Barranquero
2005-08-07 20:51 ` Robert J. Chassell
2005-08-07 21:35 ` Lennart Borgman
2005-08-08 16:36 ` Robert J. Chassell
2005-08-08 17:56 ` Lennart Borgman
2005-08-09 0:26 ` Richard M. Stallman
2005-08-07 21:59 ` Eli Zaretskii
2005-08-07 23:05 ` Juanma Barranquero
2005-08-07 23:01 ` Juanma Barranquero
2005-08-07 17:15 ` Richard M. Stallman
2005-08-07 20:29 ` Juanma Barranquero
2005-08-09 0:26 ` Richard M. Stallman
2005-08-09 0:41 ` Juanma Barranquero
2005-08-06 17:59 ` Lennart Borgman
2005-08-07 1:38 ` Robert J. Chassell [this message]
2005-08-07 22:46 ` Lennart Borgman
2005-08-08 9:47 ` Stephan Stahl
2005-08-08 9:51 ` Lennart Borgman
2005-08-08 16:39 ` Robert J. Chassell
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=m1E1a75-0004QmC@rattlesnake.com \
--to=bob@rattlesnake.com \
--cc=emacs-devel@gnu.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).