From: Dan Christensen <jdc+news@uwo.ca>
Cc: ding@gnus.org
Subject: Re: Question about mail archive
Date: 09 Apr 2001 21:18:22 -0400 [thread overview]
Message-ID: <87vgodv9gh.fsf@uwo.ca> (raw)
In-Reply-To: <m3y9t9bzqu.fsf@reason.gnu-hamburg> ("Georg C. F. Greve"'s message of "09 Apr 2001 22:10:49 +0200")
"Georg C. F. Greve" <greve@gnu.org> writes:
> By the way: I just wondered whether there is a way to have the summary
> buffer sorted in a way that articles marked as "expirable" normally
> don't show up at all or are at least all sorted out to the end of the
> summary even when entering a group with no new mail.
>
> This is something I always wanted to do but never found in the docs.
In the message I posted a week ago, I showed how I do this.
However, it has the problem that it generates the summary buffer
twice, so it is a little slow. I've included the message below.
Dan
From: Dan Christensen <jdc+news@uwo.ca>
Subject: not showing expirable articles
To: ding@gnus.org
Date: 02 Apr 2001 17:47:07 -0400
Message-ID: <87puevotyc.fsf@uwo.ca>
This was discussed a long time ago, but I don't know if a good
solution was ever proposed. I use auto-expire, or manually mark
articles as expirable. When I've done this, I would like it if
by default such articles didn't show up in the summary buffer
(unless I enter with `C-u RET' or something like that). And
that the expirable articles could be brought in with a keystroke
like `/ E'.
I accomplish this with the following code:
; This runs only when the summary is first prepared, and not after
; other limiting commands. Thus `/ w' pop's this limit, and others,
; as one would like it to.
(add-hook 'gnus-summary-prepared-hook
(lambda ()
(if (or (string-match "^nnfolder:" gnus-newsgroup-name)
(string-match "^nnvirtual:Both" gnus-newsgroup-name)
(string-match "^nnml:" gnus-newsgroup-name))
(jdc-gnus-summary-limit-exclude-unwanted))))
(defun jdc-gnus-summary-limit-exclude-unwanted ()
(interactive)
(gnus-summary-limit-to-marks "EG" t))
I also add the following to my summary-mode-hook:
(define-key gnus-summary-mode-map "/e" 'jdc-gnus-summary-limit-exclude-unwanted)
Then `/ w' shows me the expired articles when I choose to see them,
and `/ e' gets rid of them.
The only problem with this set-up is that entering a group is quite
slow, since the summary buffer gets generated twice, and the first
time tends to be a fair bit larger than the second time. So it is
usually more than a factor of two slower than necessary.
What I would like is a variable "gnus-summary-show-expirable". If
this is nil, then expirable articles aren't included by default,
but can be brought in with a new command. I would suspect that
many users would like this behaviour.
Any thoughts?
--
Dan Christensen
jdc+news@uwo.ca
next prev parent reply other threads:[~2001-04-10 1:18 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-07 11:48 Georg C. F. Greve
2001-04-07 14:54 ` Kai Großjohann
2001-04-07 15:04 ` Georg C. F. Greve
2001-04-07 15:30 ` Kai Großjohann
2001-04-07 15:56 ` Georg C. F. Greve
2001-04-07 17:34 ` Alex Schroeder
[not found] ` <m2snjksjem.fsf@snail.nowhere.ch>
2001-04-08 14:57 ` Georg C. F. Greve
2001-04-08 18:36 ` Kai Großjohann
2001-04-08 19:19 ` Alex Schroeder
2001-04-09 9:26 ` Georg C. F. Greve
2001-04-09 10:06 ` Kai Großjohann
2001-04-08 19:55 ` Georg C. F. Greve
2001-04-08 20:23 ` Kai Großjohann
2001-04-08 20:38 ` Georg C. F. Greve
2001-04-08 20:41 ` Kai Großjohann
2001-04-09 9:29 ` Georg C. F. Greve
2001-04-09 16:01 ` Dan Christensen
2001-04-09 18:39 ` Paul Jarc
2001-04-09 19:48 ` Kai Großjohann
2001-04-10 15:19 ` Paul Jarc
2001-04-14 21:51 ` Steinar Bang
2001-04-14 22:34 ` Kai Großjohann
2001-04-15 20:30 ` Steinar Bang
2001-04-15 3:52 ` Paul Jarc
2001-04-15 7:58 ` Kai Großjohann
2001-04-15 18:30 ` simon
2001-04-15 20:30 ` Steinar Bang
2001-04-15 23:25 ` Bjørn Mork
2001-04-09 20:10 ` Georg C. F. Greve
2001-04-09 20:36 ` Paul Jarc
2001-04-10 8:34 ` Georg C. F. Greve
2001-04-10 15:38 ` Paul Jarc
2001-04-09 20:50 ` Kai Großjohann
2001-04-10 8:35 ` Georg C. F. Greve
2001-04-10 9:42 ` Kai Großjohann
2001-04-10 9:54 ` Georg C. F. Greve
2001-04-10 9:20 ` nnmail-split-fancy-with-parent (Was: Question about mail archive) Mats Löfdahl
2001-04-10 9:44 ` Kai Großjohann
2001-04-10 10:00 ` Mats Löfdahl
2001-04-10 14:53 ` Kai Großjohann
2001-04-10 16:25 ` Mats Löfdahl
2001-04-10 17:20 ` Kai Großjohann
2001-04-10 14:02 ` Doug Alcorn
2001-04-10 14:55 ` Kai Großjohann
2001-04-11 3:21 ` Question about mail archive Samuel Padgett
2001-04-11 10:07 ` Kai Großjohann
2001-04-11 14:23 ` Paul Jarc
2001-04-13 15:58 ` Kai Großjohann
2001-04-10 1:18 ` Dan Christensen [this message]
2001-04-10 8:39 ` Georg C. F. Greve
2001-04-10 0:55 ` Karl Kleinpaste
2001-04-10 15:46 ` Paul Jarc
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=87vgodv9gh.fsf@uwo.ca \
--to=jdc+news@uwo.ca \
--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).