Gnus development mailing list
 help / color / mirror / Atom feed
From: Angel de Vicente <angelv@iac.es>
To: ding@gnus.org
Subject: Re: Something like gnus-posting-styles for new mails?
Date: Wed, 14 Mar 2012 16:25:40 +0000	[thread overview]
Message-ID: <yeghaxrywsb.fsf@carro.ll.iac.es> (raw)
In-Reply-To: <smusjhb181h.fsf@linuxpal.mit.edu>

Hi,

Greg Troxel <gdt@work.lexort.com> writes:

> Angel de Vicente <angelv@iac.es> writes:
>
>> Hi,
>>
>> Tassilo Horn <tassilo@member.fsf.org> writes:
>>>> I have modified gnus-posting-styles so that I will use an alternative
>>>> mail address when replying to a certain mailing list and it works
>>>> fine, but I would like that when I compose a new mail to that list the
>>>> From header is also "automagically" modified to that alternative mail
>>>> address. I didn't find anything obvious in the gnus-posting-styles
>>>> section in the manual (or surroundings). Is there an easy way to
>>>> acomplish that?
>>>
>>> Simply set point on the group whose posting style you want to use, and
>>> then hit `C-u m' instead of only `m'.  Or hit `C-u 1 m', and Gnus will
>>> query you for the group whose posting style you want to use.
>>
>> This is for a mailing list, not a newsgroup. I get the mails through my
>> regular IMAP mail, and when replying the From address is changed OK,
>> thanks to the following rule in my gnus-posting-styles
>>
>> ((header "to" ".*visit-users.*") (address "angel.....@gmail.com"))
>>
>> So I don't think your idea would work? In any case, even for a post to a
>> newsgroup, I don't seem go get the headers modified if I use C-u m or
>> C-u 1 m
>
> I read lists in IMAP, with them pre-filtered into IMAP folders.  So they
> are also 'groups' in gnus.

Ah, OK, I see. With a rule like

(".*VisIt" (address "angel.......@gmail.com"))

then C-u 1 m or C-u m work as explained, but I was hoping for a way of
firing this rule when I start a new message (command 'm') from anywhere
in my group buffer, after completion of the line To: includes something
like .*visit-users.* (or just starting a mail from within BBDB (command
'm'), which I regularly use for composing mails).

Any ideas?

Thanks,
-- 
Ángel de Vicente
http://angel-de-vicente.blogspot.com/




  reply	other threads:[~2012-03-14 16:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-14 15:35 Angel de Vicente
2012-03-14 15:39 ` Tassilo Horn
2012-03-14 15:58   ` Angel de Vicente
2012-03-14 16:06     ` Greg Troxel
2012-03-14 16:25       ` Angel de Vicente [this message]
2012-03-14 15:41 ` Greg Troxel
2012-03-14 15:59   ` Angel de Vicente
2012-03-15  3:56 ` XeCycle
2012-03-19  0:17 ` 황병희
2012-03-19  0:34 ` Dave Goldberg

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=yeghaxrywsb.fsf@carro.ll.iac.es \
    --to=angelv@iac.es \
    --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).