From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85437 Path: news.gmane.org!not-for-mail From: Glyn Millington Newsgroups: gmane.emacs.gnus.general Subject: Re: fancy splitting interactively Date: Tue, 06 Jan 2015 07:27:14 +0000 Organization: Utterly lacking Message-ID: <87ppasgyi5.fsf@nowhere.org> References: <87fvbs6u4k.fsf@mat.ucm.es> <87lhlk168j.fsf@ucl.ac.uk> <871tncvulj.fsf@ericabrahamsen.net> <877fx37ob9.fsf@mat.ucm.es> <87k313utl5.fsf@ericabrahamsen.net> <874ms54ddy.fsf@ucl.ac.uk> <87mw5x70uw.fsf@ericabrahamsen.net> <87mw5x2qjb.fsf@ucl.ac.uk> <878uhhvxpd.fsf@topper.koldfront.dk> <877fx07l95.fsf@ericabrahamsen.net> <87r3v8o4j2.fsf@hope.eyrie.org> <87lhlgxvrn.fsf@ericabrahamsen.net> <87zj9wmmyx.fsf@hope.eyrie.org> Reply-To: glyn.millington@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1420529912 18335 80.91.229.3 (6 Jan 2015 07:38:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Jan 2015 07:38:32 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33679@lists.math.uh.edu Tue Jan 06 08:38:24 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y8OiK-0003pk-OI for ding-account@gmane.org; Tue, 06 Jan 2015 08:38:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Y8Ohu-0002s4-EV; Tue, 06 Jan 2015 01:37:38 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Y8Ohr-0002rs-00 for ding@lists.math.uh.edu; Tue, 06 Jan 2015 01:37:35 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1Y8Ohp-0002eP-PI for ding@lists.math.uh.edu; Tue, 06 Jan 2015 01:37:34 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1Y8Ohl-0006yc-JI for ding@gnus.org; Tue, 06 Jan 2015 08:37:29 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y8Ogq-0004bB-AZ for ding@gnus.org; Tue, 06 Jan 2015 08:36:32 +0100 Original-Received: from cust25-dsl91-135-3.idnet.net ([91.135.3.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Jan 2015 08:36:32 +0100 Original-Received: from glyn.millington by cust25-dsl91-135-3.idnet.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Jan 2015 08:36:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 76 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cust25-dsl91-135-3.idnet.net User-Agent: The great, the glorious Gnus X-Liturgical-Date: Optional Memorial: Blessed =?utf-8?Q?Andr=C3=A9?= Bessette, religious, A.D. 2015 X-Shakespeare: "What a piece of work is man! How noble in reason! How infinite in faculties! in form and moving, how express and admirable! in action how like an angel! in apprehension, how like a god! the beauty of the world! the paragon of animals!" -- Hamlet, II.2 Cancel-Lock: sha1:LDTTKtOecGxoYaCEepHhsiDSAdo= X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85437 Archived-At: Russ Allbery writes: > Eric Abrahamsen 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 I've never tried it! atb Glyn