From: Ivan Shmakov <ivan@siamics.net>
To: 19106@debbugs.gnu.org
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 [thread overview]
Message-ID: <87k32r5nbd.fsf@violet.siamics.net> (raw)
In-Reply-To: <87r3wzbd0c.fsf@thinkpad-t440p.tsdh.org> (Tassilo Horn's message of "Wed, 19 Nov 2014 13:17:39 +0100")
>>>>> 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
next prev parent reply other threads:[~2014-11-19 13:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-19 12:01 bug#19106: M-x eww: use the current URI as the default; be bound to a key Ivan Shmakov
2014-11-19 12:17 ` Tassilo Horn
2014-11-19 13:31 ` Ivan Shmakov [this message]
2014-11-19 14:37 ` Ivan Shmakov
2014-11-19 17:31 ` Lars Magne Ingebrigtsen
2014-11-19 20:07 ` Ivan Shmakov
2014-11-19 20:27 ` Lars Magne Ingebrigtsen
2014-11-19 20:40 ` Ivan Shmakov
2014-11-22 19:20 ` bug#19106: M-x eww: provide default URIs; " Ivan Shmakov
2014-11-23 15:55 ` Lars Magne Ingebrigtsen
2014-11-19 17:09 ` bug#19106: M-x eww: use the current URI as the default; " Mark Oteiza
2014-11-20 13:45 ` Ivan Shmakov
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=87k32r5nbd.fsf@violet.siamics.net \
--to=ivan@siamics.net \
--cc=19106@debbugs.gnu.org \
/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.