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

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

bug#19106: M-x eww: use the current URI as the default; be bound to a ke


From: Ivan Shmakov
Subject: bug#19106: M-x eww: use the current URI as the default; be bound to a key
Date: Wed, 19 Nov 2014 13:31:34 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

>>>>> Tassilo Horn <tsdh@gnu.org> writes:
>>>>> Ivan Shmakov <ivan@siamics.net> writes:

 >> The patch MIMEd makes ‘eww’ use the currently browsed URI as the
 >> default while prompting.

 > It would also be neat if M-x eww RET would use the URL at point as a
 > default (at least in non-eww buffers).  I've not set up eww as
 > default browse-url browser, but for some URLs (e. g., in info docs or
 > emails) I'd like to have a quick way to browse them with eww instead
 > of my default browser.

        This also makes sense, indeed.  Perhaps we should either provide
        yet another user-settable option for that (what about
        eww-default-uri-hook – to be run -until-success – for
        instance?), or provide /two/ separate commands for these two
        behaviors.  Or even three, as it’s perfectly possible to stumble
        on the case where the text under point is a valid URI, but lacks
        an associated shr-url property (think of browsing a text/plain
        Web page, for instance), or has it different to the text itself.

        The eww-default-uri-hook solution seems reasonably easy to
        implement; I hope to suggest a possible patch later.

-- 
FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A





reply via email to

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