all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ams@gnu.org (Alfred M. Szmidt)
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: michael_heerdegen@web.de, orontee@gmail.com, npostavs@gmail.com,
	drew.adams@oracle.com, emacs-devel@gnu.org
Subject: Re: eww and bookmarks
Date: Mon, 25 May 2020 11:03:23 -0400	[thread overview]
Message-ID: <E1jdEdP-0003ar-Q2@fencepost.gnu.org> (raw)
In-Reply-To: <jwvmu5wgp02.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Mon, 25 May 2020 08:51:23 -0400)

   >> 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.

Wouldn't defadvice with browse-url-browser-function bound to
eww-browse-url over browse-url-bookmark-jump be sufficient?

   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.

That sounds like confusing behaviour, you would never know what your
bookmark jump would jump too -- somtimes it is EWW, somtimes it is
Firefox, sometimes it might be a third thing?



  parent reply	other threads:[~2020-05-25 15:03 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-20 11:48 eww and bookmarks Matthias Meulien
2020-05-20 16:29 ` Drew Adams
2020-05-20 16:35   ` Noam Postavsky
2020-05-20 16:40     ` Drew Adams
2020-05-20 20:13     ` Matthias Meulien
2020-05-23 22:56       ` Michael Heerdegen
2020-05-24  8:44         ` Matthias Meulien
2020-05-24 14:14           ` Alfred M. Szmidt
2020-05-24 19:06             ` Karl Fogel
2020-05-25  4:35             ` Michael Heerdegen
2020-05-25  5:26               ` Alfred M. Szmidt
2020-05-26  2:17                 ` Michael Heerdegen
2020-06-10 15:39                   ` Lars Ingebrigtsen
2020-06-10 20:03                     ` Drew Adams
2020-05-25 12:51               ` Stefan Monnier
2020-05-25 13:52                 ` Marcin Borkowski
2020-05-25 15:03                 ` Alfred M. Szmidt [this message]
2020-05-25 15:24                   ` Stefan Monnier
2020-05-25 23:40                   ` Michael Heerdegen
     [not found]                 ` <e23432dd-212b-4bf0-8e8c-185988c653f0@default>
2020-05-26  1:04                   ` Michael Heerdegen
2020-05-27  5:10                     ` Drew Adams
2020-05-25  4:28           ` Michael Heerdegen
2020-05-25 14:35             ` T.V Raman
2020-05-20 22:14     ` Michael Heerdegen
2020-06-07 15:09       ` Michael Heerdegen
2020-06-07 15:30         ` Basil L. Contovounesios
2020-06-07 16:13           ` Michael Heerdegen
2020-06-07 16:36             ` Tomas Hlavaty
2020-06-07 18:23             ` Basil L. Contovounesios
2020-06-08 14:49               ` Michael Heerdegen
2020-06-08 16:54                 ` Basil L. Contovounesios
2020-06-10 12:01                   ` Michael Heerdegen
2020-06-07 16:36           ` Lars Ingebrigtsen
2020-06-07 18:23             ` Basil L. Contovounesios
2020-06-08 14:42           ` Michael Heerdegen
2020-06-08 16:58             ` Basil L. Contovounesios
2020-06-10 12:06               ` Michael Heerdegen
2020-10-26 18:15                 ` Adam Porter
2020-10-26 18:33                   ` Drew Adams
2020-10-26 18:43                   ` Lars Ingebrigtsen
2020-10-26 19:05                     ` Adam Porter
2020-10-26 19:26                   ` Karl Fogel
2020-06-07 16:31         ` Clément Pit-Claudel
  -- strict thread matches above, loose matches on Subject: below --
2020-05-27  7:18 Boruch Baum
2020-05-27 14:40 ` Drew Adams

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=E1jdEdP-0003ar-Q2@fencepost.gnu.org \
    --to=ams@gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=michael_heerdegen@web.de \
    --cc=monnier@iro.umontreal.ca \
    --cc=npostavs@gmail.com \
    --cc=orontee@gmail.com \
    /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.