From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 15083 invoked from network); 4 Mar 2022 08:02:08 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 4 Mar 2022 08:02:08 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nQ2t1-00A1GD-QB for ml@inbox.vuxu.org; Fri, 04 Mar 2022 02:02:03 -0600 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94.2) (envelope-from ) id 1nQ2t0-00578o-8r for ml@inbox.vuxu.org; Fri, 04 Mar 2022 02:02:02 -0600 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.94.2) (envelope-from ) id 1nQ2sx-00578f-JE for ding@lists.math.uh.edu; Fri, 04 Mar 2022 02:01:59 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nQ2st-00Gc4o-SI for ding@lists.math.uh.edu; Fri, 04 Mar 2022 02:01:59 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:References:Message-ID:Date:Subject: From:To:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=eozV7K9mdNPRNAkShpWXntJVdea3A/TiAwMdDm6TldQ=; b=ZJIcQduw6Spk32/QmvKIvjzuIb sZ2ld55MIrxT2tDfWhnm2qHO9hiY4Ib/mWb0bC6xz1XAorpruRNvCNvtT5ZKavmZHTusOerY+E3PQ cyBq0npB9vCP4Z2Z54NDdUr7nCqunDKIykF195JewCvOnan1EYXJd9rMckGduN9qGxH4=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nQ2sm-0001pi-Gd for ding@gnus.org; Fri, 04 Mar 2022 09:01:51 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nQ2sk-0007Vx-DA for ding@gnus.org; Fri, 04 Mar 2022 09:01:46 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Eric S Fraga Subject: Re: nnvirtual groups and article warping Date: Fri, 04 Mar 2022 08:01:42 +0000 Organization: On the Interweb somewhere Message-ID: <871qziw3h5.fsf@ucl.ac.uk> References: <87czj3x9gh.fsf@ucl.ac.uk> <8735jyygh2.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:BsBwROp/tOiE3gdcr+9Y1mkL/sM= X-Url: http://twitter.com/ericsfraga/ List-ID: Precedence: bulk Hi Eric, On Thursday, 3 Mar 2022 at 11:38, Eric Abrahamsen wrote: > So this function would instead have to do pretty much what > nnselect-warp-to-article does, namely: > > (deffoo nnvirtual-warp-to-article () > (let* ((cur (if (> (gnus-summary-article-number) 0) > (gnus-summary-article-number) > (error "Can't warp to a pseudo-article"))) > (group-art (nnvirtual-map-article cur))) > (gnus-summary-read-group-1 (car group-art) t t nil > nil (list (cdr group-art))))) > > Does that work? Works very well. And makes perfect sense. Thank you! -- Eric S Fraga with org 9.5.2 in Emacs 29.0.50 on Debian 11.2