all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Derek Davies <ddavies@ddavies.net>
Cc: emacs-devel@gnu.org
Subject: Re: eww/shr "inspector"
Date: Mon, 10 Feb 2020 06:34:43 +0100	[thread overview]
Message-ID: <87d0anhuoc.fsf@gnus.org> (raw)
In-Reply-To: <87a75udt14.fsf@ddavies.net> (Derek Davies's message of "Fri, 07 Feb 2020 15:47:03 -0500")

Derek Davies <ddavies@ddavies.net> 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



      reply	other threads:[~2020-02-10  5:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-07 20:47 eww/shr "inspector" Derek Davies
2020-02-10  5:34 ` Lars Ingebrigtsen [this message]

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=87d0anhuoc.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=ddavies@ddavies.net \
    --cc=emacs-devel@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.