[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eww/shr "inspector"
From: |
Lars Ingebrigtsen |
Subject: |
Re: eww/shr "inspector" |
Date: |
Mon, 10 Feb 2020 06:34:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Derek Davies <address@hidden> writes:
> So for any character position in an *eww* buffer one can find the stack
> of dom references, , leaf to root, that produced the character at the
> buffer position in question..
>
> I've been hacking on this, but only since I haven't found this
> functionality in any emacs package. Please let me know if it exists.
> If not, I'm happy to discuss if and how this might be implemented and
> implement it.
I haven't seen anybody implementing anything like that. It should be
possible to implement by just putting all the tags in
shr-external-rendering-functions and then doing whatever marking is
necessary.
But shr doesn't do anything like this itself because I think it won't be
generally that useful, and because it'll make HTML rendering slower, and
it's already slower than it should be.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no