From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59448: 29.0.50; URIs in Dictionary are not properly handled Date: Sun, 27 Nov 2022 11:45:00 +0200 Message-ID: <83wn7gpw83.fsf@gnu.org> References: <83leo0wp77.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17810"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59448@debbugs.gnu.org To: Gabriel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 27 10:45:21 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ozEDw-0004Nj-WE for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Nov 2022 10:45:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozEDf-0002SW-Vl; Sun, 27 Nov 2022 04:45:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozEDe-0002SH-NT for bug-gnu-emacs@gnu.org; Sun, 27 Nov 2022 04:45:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ozEDe-0003j9-Ec for bug-gnu-emacs@gnu.org; Sun, 27 Nov 2022 04:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ozEDe-0000CM-1J for bug-gnu-emacs@gnu.org; Sun, 27 Nov 2022 04:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Nov 2022 09:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59448 X-GNU-PR-Package: emacs Original-Received: via spool by 59448-submit@debbugs.gnu.org id=B59448.1669542284742 (code B ref 59448); Sun, 27 Nov 2022 09:45:02 +0000 Original-Received: (at 59448) by debbugs.gnu.org; 27 Nov 2022 09:44:44 +0000 Original-Received: from localhost ([127.0.0.1]:42110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozEDL-0000Bu-Tf for submit@debbugs.gnu.org; Sun, 27 Nov 2022 04:44:44 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozEDH-0000Bm-IB for 59448@debbugs.gnu.org; Sun, 27 Nov 2022 04:44:42 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozEDB-0003hZ-Jh; Sun, 27 Nov 2022 04:44:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=mK90gcIo9f6LfRiVp1muN9vHtyRYmi1meXv8j08HJX0=; b=Ay6PZATer1MT ETSVGHvheGpgR2Sty7V8JdL0Lc8BhTnGddOaHM9n1hg0moF5RPiKAPCHG8lqTkq/lMtuhhug/Ot+n mYWj5fq5+oBxZqGiTDWZT7xGUS2wS691+4zFTdP+yabhzvi7Li9kr87CmPYrtcC9+lUz75gbEA44B 11dBWhz6e4UDy/f8HFdqopnIk0N3fpzOle19LnlCWKWWOT66mOyfZTDdUfMG5nKGV7BoLco/rKG1d Ed3RkGRrWx2SVP0jGq56kh7NbceDaevSxN5uzIL7d8+2/r5EdrSHOXApG0cbTfHdSxg35+mzwHik9 6vhksE87UIb68tjgMK+/1A==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozEDB-0007DN-20; Sun, 27 Nov 2022 04:44:33 -0500 In-Reply-To: (message from Gabriel on Sun, 27 Nov 2022 05:27:06 -0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:249195 Archived-At: > From: Gabriel > Date: Sun, 27 Nov 2022 05:27:06 -0300 > > However, URIs (e.g.: "http://cs.pdx.edu/~trent/gnu/", > "http://delorie.com/gnu/" etc) will also be treated as "keywords", > creating `dictionary-link-button'. By pressing RET on these buttons, a > `dictionary-new-search' will be executed, and no results will be found > (because there are not results for "http://cs.pdx.edu/~trent/gnu/"). > > If we open the dictionary result page for "fsf" in any browser (e.g.: > Firefox, EWW etc), clicking on "keywords" (e.g.: "GNU", "free software", > "Richard Stallman", "Emacs" etc) will display a new dictionary result > page and clicking on URIs (e.g.: "http://cs.pdx.edu/~trent/gnu/", > "http://delorie.com/gnu/" etc) will open the URI. > > The intention of this bug report is to discuss the possibility of > enhancing the default behavior of dictionary to property identify and > handle URIs (i.e., to not treat URIs as ordinary dictionary keywords). > See previous threads for more details. OK, thanks. So I think adding discovery of URLs to dictionary.el is the better alternative. Patches are welcome.