From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: fancy splitting interactively
Date: Fri, 09 Jan 2015 11:01:56 +0800 [thread overview]
Message-ID: <87y4pcmzbv.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87ppasgyi5.fsf@nowhere.org>
Glyn Millington <glyn.millington@gmail.com> writes:
> Russ Allbery <eagle@eyrie.org> writes:
>
>> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>>
>>> Right, that's pretty much what I meant -- if I want to send an email as
>>> Eric Abrahamsen, International Man of Mystery, complete with custom
>>> headers and signature, I don't want to have to navigate to the "Man of
>>> Mystery" group and compose from there. There probably isn't such a
>>> group, and even if there were, that's not really what I *mean*.
>>
>> Yeah, that makes sense.
>>
>>> We'd have to figure out how these identities would interact with
>>> composing from a group, but that could actually be interesting. A
>>> group's posting styles could say "use identity B when composing from
>>> this group", for example.
>>
>> ...but this is how Gnus already works now. Or am I missing something?
>>
>>> In short, in several cases I have gone through multiple groups and set
>>> the same headers on all those groups' posting styles. It would make more
>>> sense to me to specify that all these groups use the same identity.
>>
>> Oh, I think you're just missing the fact that this is Gnus, so you don't
>> need to be mucking about in the properties of individual groups and can
>> just use elisp. :)
>>
>> (setq gnus-posting-styles
>> '(("."
>> (address "eagle@eyrie.org")
>> (name "Russ Allbery")
>> (organization "The Eyrie")
>> (signature-file "~/docs/sigs/eyrie")
>> (eval
>> (setq gnus-message-archive-group (rra-archive-group "mail"))))
>>
>> ((or (string-match "^comp\\.lang\\.perl" gnus-newsgroup-name)
>> (string-match "^nnml:project\\.perl" gnus-newsgroup-name))
>> (address "rra@cpan.org")
>> (signature-file "~/docs/sigs/perl"))
>>
>> ((and (string= "news.software.nntp" gnus-newsgroup-name)
>> (message-news-p))
>> (signature-file "~/docs/sigs/help-newsgroup"))
>>
>> ((string= "nnml:project.inn" gnus-newsgroup-name)
>> (signature-file "~/docs/sigs/help-list"))))
>>
>> and so forth. All matching settings are applied in order, so put more
>> specific entries later.
>>
>> https://www.gnu.org/software/emacs/manual/html_node/gnus/Posting-Styles.html
>>
>> But you're right that mine is based on my current group, so I have to
>> navigate to the appropriate group to use a particular style. Although
>> note the documentation of gnus-posting-styles: you can run arbitrary elisp
>> to figure out what style to use, among other things. So if you can figure
>> out some other piece of information Gnus has available to select on, you
>> can already use that to determine the posting style.
>>
>> But I don't think there's an easy way to give you something like Gmail's
>> drop-down list of identities to pick from right now.
>
>
> Isn't this what Gnus-alias does?
>
> http://www.emacswiki.org/emacs/GnusAlias
Yes, I mentioned very package early on, as doing pretty much exactly
what I had in mind.
Does anyone have any particular opinions about maybe making that part of
message.el?
Eric
next prev parent reply other threads:[~2015-01-09 3:01 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-03 10:22 Uwe Brauer
2015-01-03 10:39 ` Glyn Millington
2015-01-03 10:57 ` Eric S Fraga
2015-01-03 13:53 ` Eric Abrahamsen
2015-01-03 17:43 ` Uwe Brauer
2015-01-04 3:12 ` Eric Abrahamsen
2015-01-05 12:31 ` Eric S Fraga
2015-01-05 14:34 ` Eric Abrahamsen
2015-01-05 15:30 ` Eric S Fraga
2015-01-05 19:23 ` Adam Sjøgren
2015-01-06 1:25 ` Eric Abrahamsen
2015-01-06 5:35 ` Russ Allbery
2015-01-06 6:34 ` Eric Abrahamsen
2015-01-06 6:39 ` Russ Allbery
2015-01-06 7:27 ` Glyn Millington
2015-01-09 3:01 ` Eric Abrahamsen [this message]
2015-01-09 3:00 ` Eric Abrahamsen
2015-01-06 18:05 ` Eric S Fraga
2015-01-06 18:20 ` Eric S Fraga
2015-01-07 1:28 ` Eric Abrahamsen
2015-01-07 6:21 ` Julien Cubizolles
2015-01-07 10:12 ` Eric Abrahamsen
2015-01-14 10:27 ` Julien Cubizolles
2015-05-25 16:14 ` Julien Cubizolles
2015-01-07 19:46 ` Adam Sjøgren
2015-01-14 10:27 ` Julien Cubizolles
2015-01-03 14:48 ` Adam Sjøgren
2015-01-03 17:38 ` Uwe Brauer
2015-01-03 17:51 ` Adam Sjøgren
2015-01-03 22:49 ` Uwe Brauer
2015-01-04 14:56 ` [bug] (was: fancy splitting interactively) Uwe Brauer
2015-01-26 3:15 ` [bug] Lars Ingebrigtsen
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=87y4pcmzbv.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--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).