bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#58302: 29.0.50; browse-url-emacs is extremely slow (and I think alwa


From: Lars Ingebrigtsen
Subject: bug#58302: 29.0.50; browse-url-emacs is extremely slow (and I think always has been?)
Date: Wed, 12 Oct 2022 13:33:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Phil Sainty <psainty@orcon.net.nz> writes:

> Undoubtedly so; but making the existing approach more efficient might
> also bring the same benefits to other functionality?
>
> E.g.:
>
> (url-handler-mode 1)
>
> (trace-function 'url-retrieve-synchronously "*trace-output*"
>               (lambda () (format " [%s]" url-request-method)))
>
> (find-file "http://www.example.com";)

That's true, but I kinda feel that this stuff is something that nobody
uses -- it's a fun trick, but you can't do much with it.  That is, you
can load "http://www.example.com"; as a file, but you can't save it, so...

It's a fun toy and a demonstration of how you can hook into the Emacs
file machinery.  But if you're writing code that's actually going to be
used (like browse-url-emacs), it's the worst way.





reply via email to

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