From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Julien Cubizolles Newsgroups: gmane.emacs.help Subject: Re: eww-wont-follow-link... Date: Mon, 24 Aug 2015 13:53:54 +0200 Message-ID: <87d1ycoqb1.fsf@free.fr> References: <8737zyb7q9.fsf@free.fr> <87fv3ayx8e.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1440431989 23131 80.91.229.3 (24 Aug 2015 15:59:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Aug 2015 15:59:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 24 17:59:41 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZTu9s-00036w-I9 for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Aug 2015 17:59:40 +0200 Original-Received: from localhost ([::1]:54219 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTu9s-0008O9-1Q for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Aug 2015 11:59:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTqKE-0007Om-A8 for help-gnu-emacs@gnu.org; Mon, 24 Aug 2015 07:54:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTqKB-0006sE-4z for help-gnu-emacs@gnu.org; Mon, 24 Aug 2015 07:54:06 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:42042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTqKA-0006s2-Ty for help-gnu-emacs@gnu.org; Mon, 24 Aug 2015 07:54:03 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZTqK9-0004aJ-4u for help-gnu-emacs@gnu.org; Mon, 24 Aug 2015 13:54:01 +0200 Original-Received: from gas45-3-82-244-252-119.fbx.proxad.net ([82.244.252.119]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Aug 2015 13:54:01 +0200 Original-Received: from j.cubizolles by gas45-3-82-244-252-119.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Aug 2015 13:54:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: gas45-3-82-244-252-119.fbx.proxad.net User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:1/7yxfQDp4OhlglywYU3kcwOhvU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106797 Archived-At: Alexis writes: > > 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. I found out I just needed to use the browse-url function and configure the variable browse-url-browser-function. Thanks for your reply. Julien.