From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53069 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: emacs.gnus Date: Mon, 09 Jun 2003 19:34:23 +0200 Organization: University of Duisburg, Germany Sender: ding-owner@lists.math.uh.edu Message-ID: <84u1azm9y8.fsf@lucy.is.informatik.uni-duisburg.de> References: <84of182xjx.fsf@lucy.is.informatik.uni-duisburg.de> <84znkrk3vr.fsf@lucy.is.informatik.uni-duisburg.de> <84ptln1ik5.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1055180015 4733 80.91.224.249 (9 Jun 2003 17:33:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 9 Jun 2003 17:33:35 +0000 (UTC) Original-X-From: ding-owner+M1613@lists.math.uh.edu Mon Jun 09 19:33:31 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19PQW6-0001D4-00 for ; Mon, 09 Jun 2003 19:33:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19PQY4-0004Li-00; Mon, 09 Jun 2003 12:35:12 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19PQXv-0004La-00 for ding@lists.math.uh.edu; Mon, 09 Jun 2003 12:35:03 -0500 Original-Received: (qmail 27223 invoked by alias); 9 Jun 2003 17:35:03 -0000 Original-Received: (qmail 27217 invoked from network); 9 Jun 2003 17:35:03 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by sclp3.sclp.com with SMTP; 9 Jun 2003 17:35:03 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 19PQpX-0000RY-00 for ; Mon, 09 Jun 2003 19:53:15 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 59 Original-NNTP-Posting-Host: pd951f354.dip.t-dialin.net Original-X-Trace: quimby.gnus.org 1055181194 1707 217.81.243.84 (9 Jun 2003 17:53:14 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 9 Jun 2003 17:53:14 GMT Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:0spHiy04GfDv+Tt2haE5GWiyPkQ= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53069 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53069 Hanak David writes: > On Mon, 09 Jun 2003, Kai Großjohann wrote: > >> Hanak David writes: >> >>> That sounds perfectly reasonable. But what do I have to do to assign all >>> copyrights to the FSF? (I've checked the FSF homepage, but haven't found >>> the HOW, only the WHY.) >> >> Sent by private mail. > > Thanks, request submitted, waiting. (Boy, this is complicated!) Wait till you find out about German bureaucracy.... >> I think that it is okay for the function to return t. The Gnus >> manual also has some stuff on how the nnchoke-request-foo functions >> work. In particular, see the node (gnus)Back End Interface, which > > Ah. I must remember to RTFM before asking stupid questions and making even > more stupid suggestions. It's not easy to RTFM because it's long. >> I think the right thing to do is to use the existing function. > > Yep, we agree. Although this way we loose efficiency, because first we > print the article list into the nntp buffer and then reparse this buffer > and convert it back to a list. Yes, it appears inconvenient, but consider the other backends. In particular, NNTP. Hm. We could still offer two alternative functions, nnchoke-request-group-articles and nnchoke-get-group-articles-list, say. Then gnus-get-group-articles could call the latter if it exists, and the former if not. Sounds like a plan. WDYT? A remark on the code: you could try to delete junk from the beginning and the end of the buffer, giving you just the list of numbers. Then you add "(" at the beginning and ")" at the end (sans quotes). Then you go to the "(" and invoke `read', and lo! there's your list. The Emacs Lisp reader is not quite as powerful as the Common Lisp reader, but still it's a nifty tool, not to be underestimated. > P.S.: I'm begginning to think that it would have taken you less time to > implement the idea yourself than to instruct me how to do it. ;-) Thanks > for "investing" in me. Thank YOU for contributing! -- This line is not blank.