From: Cheng Gao <chenggao@gmail.com>
Subject: Re: Suggest to change gnus-sum.el -- deal with float number for
Date: Thu, 21 Oct 2004 16:41:50 +0800 [thread overview]
Message-ID: <u7jpkcvjl.fsf@news.eqiao.com> (raw)
In-Reply-To: <v9sm88r1ho.fsf@marauder.physik.uni-ulm.de>
Say a NG has 5000 articles.
When you press SPC on it, you are prompted to input articles to read.
1. If you input "10abcd", 10 articles will be displayed as does by
(setq select (if (stringp select) (string-to-number select) select))
2. If you input "10.11", you get error message, and no articles
displayed.
The code
(setq select (if (floatp select) (round select) select))
can solve this.
I think since case 1 is addressed in Gnus for error tolerance and
user-friendliness, why not going a little further?
--
相濡以沫,不如相忘于江湖。
next prev parent reply other threads:[~2004-10-21 8:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-21 2:01 Suggest to change gnus-sum.el -- deal with float number for article number to read Cheng Gao
2004-10-21 7:09 ` Suggest to change gnus-sum.el -- deal with float number for Reiner Steib
2004-10-21 8:41 ` Cheng Gao [this message]
2004-10-21 10:34 ` Reiner Steib
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=u7jpkcvjl.fsf@news.eqiao.com \
--to=chenggao@gmail.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).