From: Rui Zhu <sprache@iname.com>
Subject: Non-intuitiveness of `/ t' in summary buffer.
Date: 01 Aug 1999 00:27:52 +0200 [thread overview]
Message-ID: <87iu70v4if.fsf@cs.tu-berlin.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 199 bytes --]
`C-u / t' always asks me "Old than...", it may be the limitation of
`interactive' (or not? I'm not very familiar with elisp). Here is my
patch for that, hoping it is useful.
Regards,
Rui
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch for `gnus-summary-limit-to-age' --]
[-- Type: text/x-patch, Size: 914 bytes --]
--- gnus-sum.el.dist Fri Jul 9 21:16:21 1999
+++ gnus-sum.el Sun Jul 25 02:40:06 1999
@@ -6174,7 +6174,21 @@
"Limit the summary buffer to articles that are older than (or equal) AGE days.
If YOUNGER-P (the prefix) is non-nil, limit the summary buffer to
articles that are younger than AGE days."
- (interactive "nLimit to articles older than (in days): \nP")
+ (interactive
+ (let ((younger current-prefix-arg)
+ (days-got nil)
+ days)
+ (while (not days-got)
+ (setq days (if younger
+ (read-string "Limit to articles within (in days): ")
+ (read-string "Limit to articles old than (in days): ")))
+ (when (> (length days) 0)
+ (setq days (read days)))
+ (if (numberp days)
+ (setq days-got t)
+ (message "Please enter a number.")
+ (sleep-for 1)))
+ (list days younger)))
(prog1
(let ((data gnus-newsgroup-data)
(cutoff (days-to-time age))
reply other threads:[~1999-07-31 22:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=87iu70v4if.fsf@cs.tu-berlin.de \
--to=sprache@iname.com \
/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).