From: Alexis <flexibeast@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: eww-wont-follow-link...
Date: Sun, 23 Aug 2015 23:01:53 +1000 [thread overview]
Message-ID: <87fv3ayx8e.fsf@gmail.com> (raw)
In-Reply-To: <8737zyb7q9.fsf@free.fr>
Julien Cubizolles <j.cubizolles@free.fr> writes:
> I can't get eww to work anymore, every call to eww-follow-link
> fails with "no link under point".
>
> I tried it for instance on the following google url, in a emacs
> -Q scratch buffer:
>
> --8<---------------cut
> here---------------start------------->8--- (require 'eww')
> http://www.google.com --8<---------------cut
> here---------------end--------------->8---
Reading the relevant code, it seems to me that `eww-follow-link`
probably expects to be called on a link in text that's been
rendered by `shr`, which would have put the text property
`shr-url` on URLs in the text. Thus,
* the documentation for `eww-follow-link` needs to note this, so
that
users don't expect to be able to use this command outside of
`eww` or `shr`-rendered text; or
* the code for `eww-follow-link` should be modified to use a
method of
obtaining the URL at point that doesn't involve a text property
having been set.
Either way, it might be worth filing a bug about this, using the
`report-emacs-bug` command.
Alexis.
next prev parent reply other threads:[~2015-08-23 13:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-05 5:54 eww-wont-follow-link Julien Cubizolles
2015-08-23 13:01 ` Alexis [this message]
2015-08-24 11:53 ` eww-wont-follow-link Julien Cubizolles
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=87fv3ayx8e.fsf@gmail.com \
--to=flexibeast@gmail.com \
--cc=help-gnu-emacs@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.