From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#31927: 26.1; Fragment/bookmark part of URL omitted in default offered by `eww' Date: Thu, 21 Jun 2018 18:47:39 +0300 Message-ID: <83po0kqgys.fsf@gnu.org> References: <87zhzo41ue.fsf@moondust.localdomain> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1529595979 26819 195.159.176.226 (21 Jun 2018 15:46:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 21 Jun 2018 15:46:19 +0000 (UTC) Cc: 31927@debbugs.gnu.org To: nljlistbox2@gmail.com (N. Jackson) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 21 17:46:15 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fW1ml-0006oj-9P for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jun 2018 17:46:11 +0200 Original-Received: from localhost ([::1]:56170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fW1op-0006AX-Gj for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jun 2018 11:48:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fW1ob-00064w-73 for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 11:48:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fW1oY-0002tO-5I for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 11:48:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51404) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fW1oY-0002tI-1R for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 11:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fW1oX-0003HO-Qz for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 11:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Jun 2018 15:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31927 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31927-submit@debbugs.gnu.org id=B31927.152959606312581 (code B ref 31927); Thu, 21 Jun 2018 15:48:01 +0000 Original-Received: (at 31927) by debbugs.gnu.org; 21 Jun 2018 15:47:43 +0000 Original-Received: from localhost ([127.0.0.1]:59301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fW1oF-0003Gr-Kn for submit@debbugs.gnu.org; Thu, 21 Jun 2018 11:47:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37705) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fW1oD-0003Ge-S2 for 31927@debbugs.gnu.org; Thu, 21 Jun 2018 11:47:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fW1o5-0002jF-JH for 31927@debbugs.gnu.org; Thu, 21 Jun 2018 11:47:36 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fW1o5-0002j9-Fj; Thu, 21 Jun 2018 11:47:33 -0400 Original-Received: from [176.228.60.248] (port=1671 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fW1o4-0008RS-R5; Thu, 21 Jun 2018 11:47:33 -0400 In-reply-to: <87zhzo41ue.fsf@moondust.localdomain> (nljlistbox2@gmail.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:147708 Archived-At: > From: nljlistbox2@gmail.com (N. Jackson) > Date: Thu, 21 Jun 2018 11:05:13 -0400 > > > When `eww' is invoked interactively with point in an URL, that URL is > offered in the minibuffer as the default web page to open. However, if > the URL has a fragment (aka bookmark) part, the fragment part is ignored > by EWW. > > For example: > > 0. $ emacs -Q > > 1. In scratch type https://en.wikipedia.org/wiki/Midsummer#History > > 2. Move point back into the just-typed URL > > 3. M-x eww RET > > Expected result: > EWW offers https://en.wikipedia.org/wiki/Midsummer#History as the > default. > > Actual result: > EWW offers https://en.wikipedia.org/wiki/Midsummer as the default. You could customize eww-suggest-uris to add, say thing-at-point-url-at-point. I think this should give you what you want.