unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* DOM manipulation functions
@ 2014-11-23 15:18 Lars Magne Ingebrigtsen
  2014-11-23 15:58 ` joakim
                   ` (4 more replies)
  0 siblings, 5 replies; 24+ messages in thread
From: Lars Magne Ingebrigtsen @ 2014-11-23 15:18 UTC (permalink / raw)
  To: emacs-devel; +Cc: Stefan Monnier

As part of the TLS management thing, it was suggested that Emacs display
visually certificate fingerprints:

http://sebsauvage.net/wiki/doku.php?id=php:vizhash_gd

I've started looking into this, and it seems like this would be really
easy to implement as SVG images -- SVG provides all the primitives
vizhash needs.

SVG is basically an XML DOM, and while constructing these it would be a
lot easier if Emacs had a DOM manipulation library.

So here's my two questions:

1) Would it be OK if I added a DOM manipulation/searching library to
Emacs?

2) Due to stupidity on my part I disregarded Chong's advice on how to do
the DOM manipulation things in shr.el, so we now basically have two DOMs
in Emacs -- the xml.el one and the one that shr uses.

I think it would be a good idea if I rewrote shr.el to just use the
xml.el DOM, like Chong said back then.  This will break any third-party
code that relies on shr internals, though.

So: New dom.el, and rewrite shr/eww to depend on dom.el.

Stefan, does this sound OK to you?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2014-11-26 20:00 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-23 15:18 DOM manipulation functions Lars Magne Ingebrigtsen
2014-11-23 15:58 ` joakim
2014-11-23 15:59 ` Rüdiger Sonderfeld
2014-11-23 16:01   ` Lars Magne Ingebrigtsen
2014-11-23 16:52     ` Steinar Bang
2014-11-24  0:26   ` Leo Liu
2014-11-25  9:12     ` mapping data formats imported from C libraries (was: DOM manipulation functions) Ted Zlatanov
2014-11-25 15:54       ` mapping data formats imported from C libraries Lars Magne Ingebrigtsen
2014-11-25 16:27         ` Ted Zlatanov
2014-11-25 16:32           ` Lars Magne Ingebrigtsen
2014-11-25 16:40             ` Ted Zlatanov
2014-11-25 17:06               ` Lars Magne Ingebrigtsen
2014-11-26 10:41                 ` Steinar Bang
2014-11-26 15:51                   ` Lars Magne Ingebrigtsen
2014-11-26 19:57                     ` Steinar Bang
2014-11-26 20:00                       ` Lars Magne Ingebrigtsen
2014-11-26 12:59                 ` Ted Zlatanov
2014-11-26 15:56                   ` Lars Magne Ingebrigtsen
2014-11-26 16:48                     ` Ted Zlatanov
2014-11-23 18:45 ` DOM manipulation functions raman
2014-11-25 11:01 ` Nicolas Richard
2014-11-26 18:44 ` Lars Magne Ingebrigtsen
2014-11-26 19:42   ` Ted Zlatanov
2014-11-26 19:44     ` Lars Magne Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).