From: gphilip@india.com
To: ding@gnus.org
Subject: Re: Getting rid of the Fcc: field, and other compose problems.
Date: Fri, 09 Sep 2011 00:26:54 +0530 [thread overview]
Message-ID: <87ehzqlv61.fsf@singlemalt.gphilip.net> (raw)
In-Reply-To: <87sjo7rn3v.fsf@topper.koldfront.dk> ("Adam =?utf-8?Q?Sj?= =?utf-8?Q?=C3=B8gren=22's?= message of "Thu, 08 Sep 2011 18:54:28 +0200")
Eric, Slackrat, Adam,
Thanks to you all for your replies. The "From:" field problem has been
solved (see the solution below), but the "Fcc:" field is stubborn and
I have given in to its demand.
asjo@koldfront.dk (Adam Sjøgren) writes:
> On Thu, 08 Sep 2011 14:59:36 +0530, G wrote:
>
>> 1. The "Fcc:" field is populated with a non-existant directory, and I am
>> prompted whether I want to create this maildir.
>
> What have you done to get an Fcc: field? I don't think you get one by
> default? (You probably get a Gcc: field for archiving sent messages,
> though).
The sad thing is that I do not know :( . I finally caved in and said
"yes" to the question "Create the maildir?", because I wanted to send
mail using Gnus. Now a copy of each mail I send using Gnus is written to
this new maildir 'sent' folder.
>
>> 2. The "From:" field is populated by a junk email id, constructed from
>> my username on the local machine and the local machine's hostname. I
>> have to edit this field also every time so that it is my proper email
>> address.
>
> Does it help to set the variables user-full-name and user-mail-address?
>
It helped to set these, but only as a static measure; these wouldn't
change depending on which mail I am replying to.
>> ;; (setq gnus-posting-styles
>> '(((header "to" "myfirstaddress@gmail.com")
>> (address "myfirstaddress@gmail.com"))
>
> I think you've got a level of parens too many there? (Comparing to the
> example in the Posting Styles node in the manual)
No, the parens are OK here.
After a bit of digging around the manuals and the source code of
gnus/message.el, I tried a hunch, and it worked! Here is what works:
(setq gnus-posting-styles
'(((header "to" "myfirstaddress@gmail.com")
(From "myfirstaddress@gmail.com"))
((header "to" "myotheraddress@gmail.com")
(From "myotheraddress@gmail.com"))))
That is, specifying "From" instead of "address" does the trick.
Thanks once again for your help.
Regards,
Philip
next prev parent reply other threads:[~2011-09-08 18:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-08 9:29 G Philip
2011-09-08 16:54 ` Adam Sjøgren
2011-09-08 18:56 ` gphilip [this message]
2011-09-08 19:07 ` Adam Sjøgren
2011-09-08 21:04 ` Richard Riley
2011-09-09 7:51 ` G Philip
2011-09-10 19:55 ` Lars Magne Ingebrigtsen
2013-05-05 21:44 ` Nat Makarevitch
[not found] <loom.20110908T115419-459@post.gmane.org>
2011-09-08 10:38 ` Eric S Fraga
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ehzqlv61.fsf@singlemalt.gphilip.net \
--to=gphilip@india.com \
--cc=ding@gnus.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.
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 NNTP newsgroup(s).