From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: nnvirtual groups and article warping
Date: Fri, 04 Mar 2022 07:45:00 -0800 [thread overview]
Message-ID: <87a6e53eo3.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <871qziw3h5.fsf@ucl.ac.uk>
Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> 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!
Cool! I'll think about adding some more error checking and cleanups,
then push it in a few days.
next prev parent reply other threads:[~2022-03-04 15:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-03 16:54 Eric S Fraga
2022-03-03 19:38 ` Eric Abrahamsen
2022-03-03 23:15 ` Andrew Cohen
2022-03-04 17:28 ` Eric Abrahamsen
2022-03-05 3:02 ` Andrew Cohen
2022-03-05 6:49 ` Andrew Cohen
2022-03-06 12:49 ` Eric S Fraga
2022-03-06 13:04 ` Andrew Cohen
2022-03-07 15:35 ` Eric S Fraga
2022-03-07 23:07 ` Andrew Cohen
2022-03-08 8:59 ` Eric S Fraga
2022-03-06 13:11 ` Andrew Cohen
2022-03-04 8:01 ` Eric S Fraga
2022-03-04 15:45 ` Eric Abrahamsen [this message]
2022-03-04 15:56 ` Eric S Fraga
2022-03-04 17:16 ` Eric Abrahamsen
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=87a6e53eo3.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=ding@gnus.org \
/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).