From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#31927: 26.1; Fragment/bookmark part of URL omitted in default offered by `eww' Date: Sun, 22 Jul 2018 15:10:42 +0200 Message-ID: References: <87zhzo41ue.fsf@moondust.localdomain> <83po0kqgys.fsf@gnu.org> <87k1qr4twk.fsf@moondust.localdomain> <83in6bqqp6.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1532264949 12555 195.159.176.226 (22 Jul 2018 13:09:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 22 Jul 2018 13:09:09 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: "N. Jackson" , 31927@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 22 15:09:05 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 1fhE6i-00039X-7R for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Jul 2018 15:09:04 +0200 Original-Received: from localhost ([::1]:55988 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhE8p-0000HA-22 for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Jul 2018 09:11:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhE8f-0000Gp-Tt for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2018 09:11:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhE8c-0003aq-Lh for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2018 09:11:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46615) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fhE8c-0003ak-Hg for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2018 09:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fhE8c-0007Bf-45 for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2018 09:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Jul 2018 13:11: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.153226504827597 (code B ref 31927); Sun, 22 Jul 2018 13:11:02 +0000 Original-Received: (at 31927) by debbugs.gnu.org; 22 Jul 2018 13:10:48 +0000 Original-Received: from localhost ([127.0.0.1]:51632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhE8O-0007B3-Dk for submit@debbugs.gnu.org; Sun, 22 Jul 2018 09:10:48 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:58228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhE8M-0007As-RZ for 31927@debbugs.gnu.org; Sun, 22 Jul 2018 09:10:47 -0400 Original-Received: from cm-84.212.221.165.getinternet.no ([84.212.221.165] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fhE8I-0001v7-VJ; Sun, 22 Jul 2018 15:10:45 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEXAAAGXEAD4AAO0Kwiu fBKHAwC+AAPyAAT/AAPnAAKPCQGrHgKdFwG2QBb/AAHIuikjHUF2AAACUElEQVQ4jW2SP2gTURzH bxTa5ZwkZOwQB1vkuiXZXqGI5Vrpq3AEBFfBwUUdREgLvaUvDh3qVIKE6mGH4ngBOdDJgEMaWuwd gUzPwSfIK2Ro+/y9f7mL9js87v0+7/v7xzmZUT+bluN5WVbX354nL5nXlx+OPOr1TF2Kcv4NKFW9 qhN7Qun5lOJ4AsIpzQD4tPSI88vx/yBeX0Fo6fQa0LjXyPAtHdjsV3KAf2CM36t7EyFdbOabBPcB aMcmQn4OBl8B7Kn7DkJoOU81AKBLbCFuQM84Vi3QDqbAeloAc+g0ZIzNdgFk2QA/MN16uxoox+fL 44EZA9ryQwbkiXQcniygeR2n0BahzNR4x32zKUJ+InTFZCrpWBPCrrD5cheNGQvJrHQE3y2gczAH AMoUwB+53a0c8IoC0SDwwwJYDgmlqQL4gwV6VyRcrAGoYhxUJmMgv0Jpk/fU2u1uQcdoBc6hMKnw TQu2374IybYQNQM2zICyZUpbXNS6GuAbBhAYLmwhkVpwkP8gNMxGt6sm1SQXJbDc8ejVmXXgx3aN jLT+jF7b4rpj+Rw0FIKf5eChfM8I7En+yWkOgj1FGPs1vrMz7OYAr8oo6DfnJ/uFGlBFgy3ItJ8m BXDAlGfhwheLSdERzCvH8FzwRqMI8FNl8QHghlsEG9IyQhfnfNAu1oDGnr1xRj7CPr875dD6kmIk jq4BSmslAD2QCyrDWWpH7VIURaUIQNztJUkZSOKW3bYLQReYE/fAAjFwuG47ijqRUsdRiRJ40wkC NWbQCSCO/wIWpHR9oJ9aPQAAAABJRU5ErkJggg== In-Reply-To: <83in6bqqp6.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 22 Jun 2018 09:29:41 +0300") 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:148807 Archived-At: Eli Zaretskii writes: >> 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. I think the behaviour of `url-get-url-at-point' is suboptimal here. Perhaps we should just make eww use `thing-at-point-url-at-point' instead? And mark `url-get-url-at-point' as obsolete, as it doesn't seem very actively maintained and duplicates thingatpt functionality. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no