info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to access HTML DOM/source of MIME part?


From: Tim Landscheidt
Subject: Re: How to access HTML DOM/source of MIME part?
Date: Tue, 16 Jun 2020 15:34:28 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

I wrote:

> […]

> *But* your pointer gave me the idea that I could iterate
> over shr's buttons like gnus-collect-urls does, test if
> their URLs match Item_x_Link_B's typical pattern and then
> offer to browse them.  This would require that
> Item_x_Link_B's pattern is (relatively) stable; I have to
> check whether that will work reasonably well.  Thanks!

It's not that simple :-(.  For starters, some of my newslet-
ters shorten all URLs, putting them into the same format.

But more importantly, with Emacs 26.3, (forward-button 1) in
an HTML mail will always move point to the beginning of the
*Article* buffer because (button-start button) returns
(point-min) for some reason.  (In my use case, I can proba-
bly work around that by calling next-button directly.)

Is this a bug?  What is the best way to create a minimal re-
producible example?

Tim



reply via email to

[Prev in Thread] Current Thread [Next in Thread]