From: Jack Vinson <jvinson@chevax.ecs.umass.edu>
Subject: Re: Help - specialities entering a group
Date: Tue, 22 Dec 1998 14:29:09 -0600 [thread overview]
Message-ID: <wkemprj4yy.fsf@chevax.ecs.umass.edu> (raw)
In-Reply-To: Frangois Pinard's message of "Tue, 22 Dec 1998 08:53:30 -0500"
>>>>> "FP" == Frangois Pinard <pinard@iro.umontreal.ca> writes:
FP> I usually read my mailgroups threaded. I would like that, when
FP> entering the `i18n.incoming' mailgroup, and only that one, threading be
FP> automatically suspended, and the equivalent of `C-u C-c C-s C-d' done,
FP> so messages be sorted most recent first.
You can do this in your gnus-select-group-hook as Dave Goldberg indicated.
Or in the group parameters as Jason Tibbitts indicated. I don't like the
latter because I have to remember to do this for each group where the
gnus-select-group-hook and gnus-group-generate-hook can let me do things
based on regexps and the like.
I use something like this (below) as my gnus-group-generate-hook. This
hook is specifically used just before generating the *Summary* buffer and
is perfect for setting gnus-thread variables.
(defun jmv-gnus-prepare-groups ()
;; My mail groups
(cond
;; My personal archives and
;; The Gnus outgoing mail/news archives
((string-match "^nnfolder\\+archive" gnus-newsgroup-name)
(setq gnus-thread-hide-subtree t)
(setq gnus-thread-sort-functions '(gnus-thread-sort-by-number
gnus-thread-sort-by-date)))
;; Tandem or ntemacs mailing lists
;; Ding mailing list. Treat as a newsgroup with scores.
((string-match "tandem\\|ntemacs\\|ding" gnus-newsgroup-name)
(setq gnus-thread-hide-subtree t)
(setq gnus-thread-sort-functions '(gnus-thread-sort-by-number
gnus-thread-sort-by-subject
gnus-thread-sort-by-total-score)))
;; Any other nnml mail groups
((string-match "nnml" gnus-newsgroup-name)
(setq gnus-thread-hide-subtree t)
(setq gnus-thread-sort-functions '(gnus-thread-sort-by-number
gnus-thread-sort-by-date
gnus-thread-sort-by-total-score)))
;; Gnus draft group
((string-match "nndraft" gnus-newsgroup-name)
(setq gnus-thread-hide-subtree t)
(setq gnus-thread-sort-functions '(gnus-thread-sort-by-date)))
;; All the rest (nntp)
(t
(setq gnus-thread-hide-subtree t)
(setq gnus-thread-sort-functions '(gnus-thread-sort-by-number
gnus-thread-sort-by-subject
gnus-thread-sort-by-total-score)))
)
)
--
Jack Vinson <jvinson@chevax.ecs.umass.edu> http://www.cis.upenn.edu/~vinson/
Zippy: .. are the STEWED PRUNES still in the HAIR DRYER?
prev parent reply other threads:[~1998-12-22 20:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-22 13:53 François Pinard
1998-12-22 11:10 ` François Pinard
1998-12-22 17:18 ` Jason L Tibbitts III
1998-12-22 17:40 ` David S. Goldberg
1998-12-22 20:29 ` Jack Vinson [this message]
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=wkemprj4yy.fsf@chevax.ecs.umass.edu \
--to=jvinson@chevax.ecs.umass.edu \
/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).