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: Fri, 22 Jun 2018 09:29:41 +0300 Message-ID: <83in6bqqp6.fsf@gnu.org> References: <87zhzo41ue.fsf@moondust.localdomain> <83po0kqgys.fsf@gnu.org> <87k1qr4twk.fsf@moondust.localdomain> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1529648890 10721 195.159.176.226 (22 Jun 2018 06:28:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 22 Jun 2018 06:28:10 +0000 (UTC) Cc: 31927@debbugs.gnu.org To: nljlistbox2@gmail.com (N. Jackson), Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 22 08:28:06 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 1fWFYE-0002eq-2n for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Jun 2018 08:28:06 +0200 Original-Received: from localhost ([::1]:59581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWFaJ-0001Hq-F7 for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Jun 2018 02:30:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWFa8-0001Fd-4Z for bug-gnu-emacs@gnu.org; Fri, 22 Jun 2018 02:30:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWFa7-0003G5-70 for bug-gnu-emacs@gnu.org; Fri, 22 Jun 2018 02:30:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51704) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fWFa7-0003FV-3w for bug-gnu-emacs@gnu.org; Fri, 22 Jun 2018 02:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fWFa6-0002Hj-R6 for bug-gnu-emacs@gnu.org; Fri, 22 Jun 2018 02:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Jun 2018 06:30:02 +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.15296489868739 (code B ref 31927); Fri, 22 Jun 2018 06:30:02 +0000 Original-Received: (at 31927) by debbugs.gnu.org; 22 Jun 2018 06:29:46 +0000 Original-Received: from localhost ([127.0.0.1]:59601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWFZp-0002Gr-0k for submit@debbugs.gnu.org; Fri, 22 Jun 2018 02:29:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWFZn-0002Ge-3s for 31927@debbugs.gnu.org; Fri, 22 Jun 2018 02:29:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWFZd-00032o-2b for 31927@debbugs.gnu.org; Fri, 22 Jun 2018 02:29:37 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWFZc-00032k-VG; Fri, 22 Jun 2018 02:29:33 -0400 Original-Received: from [176.228.60.248] (port=2513 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fWFZc-00016p-E7; Fri, 22 Jun 2018 02:29:32 -0400 In-reply-to: <87k1qr4twk.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:147724 Archived-At: > From: nljlistbox2@gmail.com (N. Jackson) > Cc: 31927@debbugs.gnu.org > Date: Thu, 21 Jun 2018 19:11:23 -0400 > > So the question is, why does `thing-at-point-url-at-point' pick up the > fragment/bookmark part or the URL but `url-get-url-at-point' does not? > > That is, removing EWW from the picture altogether: > > 0. $ emacs -Q > > 1. On a new line in scratch type https://en.wikipedia.org/wiki/Midsummer#History > > 2. C-a ; Move point to beginning of the just-typed URL. > > 3. M-: (thing-at-point-url-at-point) RET > => https://en.wikipedia.org/wiki/Midsummer#History > > 4. M-: (url-get-url-at-point) RET > => https://en.wikipedia.org/wiki/Midsummer > > Is it expected for these two functions to behave differently here? Yes, that's the question. I hope Lars (CC'ed) could comment on that.