From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: eww Date: Fri, 21 Jun 2013 01:52:25 +0300 Organization: JURTA Message-ID: <874ncszbza.fsf@mail.jurta.org> References: <87d2rkb1pi.fsf@fleche.redhat.com> <87y5a755e4.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1371769746 5960 80.91.229.3 (20 Jun 2013 23:09:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Jun 2013 23:09:06 +0000 (UTC) Cc: emacs-devel To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 21 01:09:08 2013 Return-path: Envelope-to: ged-emacs-devel@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 1UpnyV-0001uK-QM for ged-emacs-devel@m.gmane.org; Fri, 21 Jun 2013 01:09:07 +0200 Original-Received: from localhost ([::1]:37697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpnyV-00084K-AV for ged-emacs-devel@m.gmane.org; Thu, 20 Jun 2013 19:09:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpnyQ-0007xl-71 for emacs-devel@gnu.org; Thu, 20 Jun 2013 19:09:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpnyP-0002FU-AA for emacs-devel@gnu.org; Thu, 20 Jun 2013 19:09:02 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:58210 helo=ps18281.dreamhostps.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpnyP-0002FK-4t for emacs-devel@gnu.org; Thu, 20 Jun 2013 19:09:01 -0400 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 969DA258B9E915; Thu, 20 Jun 2013 16:08:58 -0700 (PDT) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Wed, 19 Jun 2013 09:34:19 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 69.163.218.105 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:160792 Archived-At: >> Also while trying to customize `browse-url-browser-function' to eww, >> it fails to browse links. Perhaps, this should be fixed by creating a new >> function `browse-url-eww' similar to other `browse-url-...' functions? > > It should have been `eww-browse-url' instead of the plain `eww' > command. I'll fix that. Thanks. Now there is another problem - when `browse-url-browser-function' is customized to `eww-browse-url', typing `M-x webjump RET duckduckgo RET C-x C-q RET' visits the URL https://duckduckgo.com/?q=C%2Dx+C%2Dq with the information about Emacs keybindings and commands. Or to get more relevant results prepend the query with the keyword "emacs", e.g. https://duckduckgo.com/?q=emacs+C%2Dx+C%2Dq The problem is that the header line is broken - it doesn't handle % in the URL. This could be fixed the same way as `Info-set-mode-line' replaces a single % with double %%.