From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/15723 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.gnus.general Subject: [Q] Enter a group, show an article -- how to? Date: 24 Jul 1998 18:40:46 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: <87ogufw6b5.fsf@slowfox.do.uunet.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035154710 23673 80.91.224.250 (20 Oct 2002 22:58:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:58:30 +0000 (UTC) Return-Path: Original-Received: from gwyn.tux.org (gwyn.tux.org [207.96.122.8]) by altair.xemacs.org (8.9.1/8.9.1) with ESMTP id KAA21363 for ; Fri, 24 Jul 1998 10:03:37 -0700 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by gwyn.tux.org (8.8.8/8.8.8) with ESMTP id MAA07741 for ; Fri, 24 Jul 1998 12:59:45 -0400 Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id LAS18795; Fri, 24 Jul 1998 11:30:32 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 24 Jul 1998 11:57:26 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id LAA14912 for ; Fri, 24 Jul 1998 11:57:13 -0500 (CDT) Original-Received: from waldorf.informatik.uni-dortmund.de (waldorf.informatik.uni-dortmund.de [129.217.4.42]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id MAA29611 for ; Fri, 24 Jul 1998 12:57:07 -0400 (EDT) Original-Received: from ramses.informatik.uni-dortmund.de (ramses.informatik.uni-dortmund.de [129.217.20.180]) by waldorf.informatik.uni-dortmund.de with SMTP id SAA08500 for ; Fri, 24 Jul 1998 18:57:05 +0200 (MES) Original-Received: by ramses.informatik.uni-dortmund.de id SAA22865; Fri, 24 Jul 1998 18:57:04 +0200 Original-To: ding@gnus.org X-Mailer: Gnus v5.6.24/Emacs 20.2 Original-Lines: 49 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:15723 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:15723 Given a group name and an article number, I would like to enter this group ephemerally and show exactly the given article plus the thread that contains this article. I am now doing the following: ,----- | (gnus-group-read-ephemeral-group | GROUP | BACKEND | t ; activate | (cons (current-buffer) | 'summary) ; window config | nil) | (gnus-summary-limit (list ARTICLE-NUMBER)) | (gnus-summary-refer-thread) `----- This has a few problems, though. For one thing, it is slow for large groups, as it has got to fetch all article headers (not much of a problem) and generate the complete summary buffer (this is the time-killer, right here!) before throwing most of it away. Is there a way that I can enter the group without generating a huge summary buffer first? (Or should I wait for a new Gnus version which will have a command for entering a group and displaying a specified set of articles?) The second problem with the above code is that it will ask the user how many articles to receive, if the group is large. An obvious workaround is to temporarily bind gnus-large-newsgroup. But is this a good solution, too? Oh, and another question: is the variable gnus-current-select-method the right way of finding out the backend that the current summary buffer belongs to? And yet another question: is the variable gnus-article-current the right way of finding the current article number? Does it point to the article that is being shown in the *Article* buffer or to the article under point? If the former, how to I find out the latter? How could I have found each or any of the above without asking? I tried the time-tried UTSL method but I was lacking understanding of what was going on... kai -- You cannot fix a machine by just power-cycling it with no understanding of what is going wrong. (Tom Knight)