Gnus development mailing list
 help / color / mirror / Atom feed
From: Xavier Maillard <lists.emacs.gnus@xavier.maillard.im>
To: ding@gnus.org
Subject: [SOLVED] solution included (was: Reply-to with the same address as it was sent to)
Date: Mon, 16 Nov 2015 06:59:31 +0100	[thread overview]
Message-ID: <m0r3jq8oxo.fsf_-_@kcals.intra.maillard.im> (raw)
In-Reply-To: <87io55smq9.fsf@JUbuntu.dharma.lan> (Jeffrey DeLeo's message of "Fri, 13 Nov 2015 11:50:06 -0800")

Jeffrey DeLeo <jeffreydeleo@gmail.com> writes:

> Yes, I understand now.
>
> I seem to remember reading about something like this - where you could
> set up gnus to use the address email was sent to as the from address
> when replying. But I can't find the note about that at the moment. Don't
> give up! As Erik said though, when composing messages, you would need to
> be in the particular group to have the "from" set appropriately.
>
> Please do post whatever you come up with, thanks.

Ok, after some reading sessions and tests, here is what I came up with:

          ("\\(lists\\|pub\\).*"
           (address (downcase (format "%s@xavier.maillard.im" (gnus-replace-in-string gnus-newsgroup-name
                                                                            "^INBOX\." "")))))))

That works as expected. I just did not understand why `gnu-newsgroup-name' did
not have the select method included in his name.

Regards

-- Xavier.



  parent reply	other threads:[~2015-11-16  5:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-11 23:28 Reply-to with the same address as it was sent to lists.emacs.gnus
2015-11-12 20:50 ` Tassilo Horn
2015-11-12 22:57   ` Xavier Maillard
2015-11-13  2:16 ` Jeffrey DeLeo
2015-11-13  4:32   ` lists.emacs.gnus
2015-11-13  6:38     ` Erik Colson
     [not found]     ` <87io55smq9.fsf@JUbuntu.dharma.lan>
2015-11-16  5:59       ` Xavier Maillard [this message]
2015-11-18 18:48         ` [SOLVED] solution included Jeffrey DeLeo
2015-11-18 21:46           ` Xavier Maillard

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=m0r3jq8oxo.fsf_-_@kcals.intra.maillard.im \
    --to=lists.emacs.gnus@xavier.maillard.im \
    --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).