emacs-devel
[Top][All Lists]
Advanced

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

Re: eww and bookmarks


From: Stefan Monnier
Subject: Re: eww and bookmarks
Date: Mon, 25 May 2020 08:51:23 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> Those that like EWW would already be doing:
>>   (setq browse-url-browser-function 'eww-browse-url)
> Ok, so you would make the handler call `browse-url-browser-function',
> and not eww unconditionally.  I think I would prefer that behavior, too.

FWIW, I would like to use bookmarks for EWW, and I'd like those
bookmarks to *always* use EWW, and my `browse-url-browser-function` is
definitely not EWW but Firefox.

Emacs bookmarks don't just refer to a particular "page" but also
remember the place within that page (by remembering surrounding text)
and I think this part can only work if we go back with EWW.

Since the page was originally viewed in EWW the corresponding bookmark
*by default* should use EWW as well.  We can add a configuration option
to make it obey `browse-url-browser-function` if you want, but it should
not be the default behavior: a bookmark is supposed to bring you back to
where it was created, so if it was created in EWW it shouldn't send you
to Firefox.


        Stefan




reply via email to

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