From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88347 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Command for browsing article URLs? Date: Thu, 31 Jan 2019 09:18:12 -0800 Message-ID: <87sgx8hhkb.fsf@ericabrahamsen.net> References: <878szwwdjw.fsf@ericabrahamsen.net> <87a7k8wg9k.fsf@ericabrahamsen.net> <87wonbts5s.fsf@ucl.ac.uk> <87fttzc4lo.fsf@ericabrahamsen.net> <87sgxpzvsr.fsf@ericabrahamsen.net> <87r2d8c3az.fsf@ucl.ac.uk> <874la1yjjo.fsf@ericabrahamsen.net> <87pnso9rzp.fsf@ericabrahamsen.net> <87sgxak1gz.fsf@ucl.ac.uk> <87r2culzju.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="247996"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: ding@gnus.org Original-X-From: ding-owner+M36556@lists.math.uh.edu Thu Jan 31 18:19:15 2019 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gpFzf-0012MG-AO for ding-account@gmane.org; Thu, 31 Jan 2019 18:19:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.91) (envelope-from ) id 1gpFyx-0000A5-Vz; Thu, 31 Jan 2019 11:18:32 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.91) (envelope-from ) id 1gpFys-00006q-1d for ding@lists.math.uh.edu; Thu, 31 Jan 2019 11:18:26 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1gpFyq-0002bR-FS for ding@lists.math.uh.edu; Thu, 31 Jan 2019 11:18:25 -0600 Original-Received: from [195.159.176.226] (helo=blaine.gmane.org) by quimby.gnus.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gpFym-0000yG-VS for ding@gnus.org; Thu, 31 Jan 2019 18:18:22 +0100 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1gpFyl-0011HV-3N for ding@gnus.org; Thu, 31 Jan 2019 18:18:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:KjdlexrQnSJMmYexxmdGFoDEgdI= List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88347 Archived-At: Eric S Fraga writes: > On Wednesday, 30 Jan 2019 at 11:23, Eric Abrahamsen wrote: >> Not at all, thanks for testing. I'll probably add this as it is, then, >> and fix further bugs as they arise. > > I modified your code. If the target is an http link, I explicitly ask to > browse the url instead of activating the widget. I found that doing the > latter would simply create a new buffer and not display it (I use eww > for browsing the web). I probably should have used funcall but I'm not > sure when one would or would not use such... I have much to learn about > elisp. > > Alternatively, it may be that the final bit of your code could be > adjusted as it may be that we should check for article as well as > summary buffers? Sometimes, I will invoke the url browsing when viewing > just the article buffer, especially on a small device. Oh, I hadn't tested it with eww, I should have. If you just click on the http url in the article buffer with your mouse (ie, don't use this function at all), what behavior do you get? I think you're right that the best approach is to modify how the windows are manipulated afterwards (or just drop that bit of the code altogether). I'd like this to behave exactly as if you'd clicked the mouse, and would rather not put special-casing in there. Thanks again, Eric