From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#31927: 26.1; Fragment/bookmark part of URL omitted in default offered by `eww' Date: Sun, 29 Jul 2018 11:57:21 -0400 Message-ID: <87bmaq2fxa.fsf@gmail.com> References: <87zhzo41ue.fsf@moondust.localdomain> <83po0kqgys.fsf@gnu.org> <87k1qr4twk.fsf@moondust.localdomain> <83in6bqqp6.fsf@gnu.org> <83wotnwd1d.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1532879771 30564 195.159.176.226 (29 Jul 2018 15:56:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 29 Jul 2018 15:56:11 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: nljlistbox2@gmail.com, Lars Ingebrigtsen , 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 29 17:56: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 1fjo3C-0007rD-8I for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Jul 2018 17:56:06 +0200 Original-Received: from localhost ([::1]:48832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fjo5J-0008BS-3X for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Jul 2018 11:58:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fjo57-0008B4-QR for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2018 11:58:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fjo54-0002gW-9Y for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2018 11:58:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57227) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fjo54-0002gG-5g for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2018 11:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fjo53-0000EM-Uk for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2018 11:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Jul 2018 15:58: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.1532879857850 (code B ref 31927); Sun, 29 Jul 2018 15:58:01 +0000 Original-Received: (at 31927) by debbugs.gnu.org; 29 Jul 2018 15:57:37 +0000 Original-Received: from localhost ([127.0.0.1]:34012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fjo4c-0000DY-4A for submit@debbugs.gnu.org; Sun, 29 Jul 2018 11:57:37 -0400 Original-Received: from mail-it0-f50.google.com ([209.85.214.50]:34756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fjo4X-0000DJ-Jv for 31927@debbugs.gnu.org; Sun, 29 Jul 2018 11:57:33 -0400 Original-Received: by mail-it0-f50.google.com with SMTP id d70-v6so7061323ith.1 for <31927@debbugs.gnu.org>; Sun, 29 Jul 2018 08:57:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ovYh5u40evALnunKb7rLg5AJwXrfoB8q3BF3Eq3ddwM=; b=F9s5ckNxHfUK9XvYMkvYh0k7hLiHapKywOyiK8qijNzF0FgcJ/9SG5bF36DcH8tmX1 8C2rSivFSoApvalI9pkivjzFpKCKvvV8p0PvgpE125yYI/6hABq8NpuHa1fELWKoh/sQ B0RzfuTrZJoyaacf5Stxz+2drs1VRyeteT6sr2X26GVHm5fIV4PvXXWBpjlAzpH1Zw0z x/GgBuTp2j4M82A8XU0ple6KL5P5FDbDhbVBy4GCTA/JZJDujHZeCy5koK0hgedvv6us 2fh4XLO9z6CfyRc6MjeTHZJYOBbV/0yWZHa+7yBq7MbcG8A7y0gkBFSTmNiRp6bdEv4A K+kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=ovYh5u40evALnunKb7rLg5AJwXrfoB8q3BF3Eq3ddwM=; b=neQMtyF41KKgNASWGrHJQpxBSQCG2mpKzDLxRpsOxArcVajbGGv+6QnRq5CCkXxT// jt67MvOmazjWvmC4OAqBA15e6nH6BiQHM6zfcgZKMnUv+SCPNaRLU5txgKfX/JB2TqmS 7H5JETlEOrkXvRM4sy2T1kODR2hkyzEvyiNmgGiqFvuuteOb8ObhWDYodiiqChH1AVi+ 8HXWB0dSivSfAF4KLQNmeYZBVky2cKp5Uu05n5Xun9+I4+xD9gbMuP0VnfDeOaWvP+2d 1yhLQtx5dZlDBZDMJLlBm2CNsEcG36dWSiuxhqA4HHHZXerTg53ntIh3gv1Xn4iY13kn SG2A== X-Gm-Message-State: AOUpUlEhyr8hksy2E9jera7MqcBX2/SFtzUZsxJ0e48ZaoHw2ujYcgad XtfNxlv1jz6/rGk60zwNUNekOXU/ X-Google-Smtp-Source: AAOMgpd2Jsxvzg15JTzSDfSWpLUgYCU9gA31fzujulC510A2WnAd+sAHiYnv3ABnIBdUYd1isIfGLQ== X-Received: by 2002:a24:818a:: with SMTP id q132-v6mr12024868itd.51.1532879843724; Sun, 29 Jul 2018 08:57:23 -0700 (PDT) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id b27-v6sm4907591itd.2.2018.07.29.08.57.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 29 Jul 2018 08:57:23 -0700 (PDT) In-Reply-To: <83wotnwd1d.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 22 Jul 2018 17:38:54 +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:149052 Archived-At: Eli Zaretskii writes: >> From: Lars Ingebrigtsen >> Cc: nljlistbox2@gmail.com (N. Jackson), 31927@debbugs.gnu.org >> Date: Sun, 22 Jul 2018 15:10:42 +0200 >> >> >> 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. > > Probably. Unless some functionality really needs to ignore the parts > after the hash, for some reason. If it's really needed, then it's probably better to parse the url and explicitly remove unwanted parts. I notice this bug is pretty similar to Bug#898 "ffap -> emacs-w3m dropping of #anchor"; it seems pretty clear that dropping the part after the hash is the wrong thing in web browsing contexts.