From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58951 Path: main.gmane.org!not-for-mail From: Cheng Gao Newsgroups: gmane.emacs.gnus.general Subject: Re: Suggest to change gnus-sum.el -- deal with float number for Date: Thu, 21 Oct 2004 16:41:50 +0800 Organization: eqiao.com Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1098348387 18138 80.91.229.6 (21 Oct 2004 08:46:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Oct 2004 08:46:27 +0000 (UTC) Original-X-From: ding-owner+M7489@lists.math.uh.edu Thu Oct 21 10:46:15 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CKYaN-0003ZC-00 for ; Thu, 21 Oct 2004 10:46:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CKYZm-000322-00; Thu, 21 Oct 2004 03:45:38 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CKYZh-00031x-00 for ding@lists.math.uh.edu; Thu, 21 Oct 2004 03:45:33 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CKYZf-0008Jr-Tg for ding@lists.math.uh.edu; Thu, 21 Oct 2004 03:45:31 -0500 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id 4F1643A0026 for ; Thu, 21 Oct 2004 03:45:30 -0500 (CDT) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1CKYZe-0006CX-00 for ; Thu, 21 Oct 2004 10:45:30 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 21 Original-NNTP-Posting-Host: 218.2.140.88 Original-X-Trace: quimby.gnus.org 1098348330 23840 218.2.140.88 (21 Oct 2004 08:45:30 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Thu, 21 Oct 2004 08:45:30 +0000 (UTC) User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:M6M8yIhVM8IDe/4ThekK9QiLTcM= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58951 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58951 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=20 (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? --=20 =CF=E0=E5=A6=D2=D4=C4=AD=A3=AC=B2=BB=C8=E7=CF=E0=CD=FC=D3=DA=BD=AD=BA=FE=A1= =A3