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: Thu, 24 Nov 2022 13:45:48 +0200 Message-ID: <83leo0wp77.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28809"; 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 Thu Nov 24 12:46:22 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 1oyAgQ-0007Ia-El for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Nov 2022 12:46:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyAgB-0002On-NH; Thu, 24 Nov 2022 06:46:07 -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 1oyAg7-0002M3-7A for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2022 06:46:04 -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 1oyAg6-000428-US for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2022 06:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oyAg6-00005w-FL for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2022 06:46: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: Thu, 24 Nov 2022 11:46: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.1669290353343 (code B ref 59448); Thu, 24 Nov 2022 11:46:02 +0000 Original-Received: (at 59448) by debbugs.gnu.org; 24 Nov 2022 11:45:53 +0000 Original-Received: from localhost ([127.0.0.1]:57558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyAfw-00005T-H5 for submit@debbugs.gnu.org; Thu, 24 Nov 2022 06:45:52 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyAfu-00005C-2o for 59448@debbugs.gnu.org; Thu, 24 Nov 2022 06:45:51 -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 1oyAfl-000405-Tt; Thu, 24 Nov 2022 06:45:44 -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=pYrTpdIbo3LiUhI52+wC+oR2soaaXqkiiKWxJ8xQP04=; b=QMr1yNmZ+gLJ MFXaBYkav1T/fQ9kc9zBUlZAZET5bfjpxYZgzxC7kL+ms5IZwQQsx06D2PaJg48LXMGGOkwNhcYns SqYBO+4a5F0ezQ37KBjOXQ+1fZ+nw7DFWErqisdtmgGqRzU3CqF9PuDmJ1tQndlcYdBs53yKqFbKi cW2mvxpW2xJXFfqvudD5Sm20JR5miblrekkF6PbDAP7v6T9q9/VrXYSS7aQjSNqoWX/fs1OrzO9p6 7dARK5hWbKpZtSf90Q8KPXrJOWEDdaJekLDyGqq7sqO8WlqGso/8m5IXvSu1haHi/y+xYSx7gcYty m3pBu780RZkTuZvyzn+DhA==; 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 1oyAfY-0004yk-96; Thu, 24 Nov 2022 06:45:28 -0500 In-Reply-To: (message from Gabriel on Mon, 21 Nov 2022 11:52:42 -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:248858 Archived-At: > From: Gabriel > Date: Mon, 21 Nov 2022 11:52:42 -0300 > > URIs (http, mail, news, ftp etc) in Dictionary are not properly handled. > It means that URIs are treated like a regular search phrase, which is > not really useful for `dictionary-search' (since most will not return > any results) and no default mechanism is available to follow such URIs. > > Steps: > > 1) emacs -q (master "6b0179f7908c658342d1e642e5444e3d2e1cd997") > > 2) Run `dictionary-search' with some search word whose results contains > URIs in dict.org, for example: > > M-x dictionary-search RET emacs RET > M-x dictionary-search RET fsf RET > M-x dictionary-search RET w3c RET > M-x dictionary-search RET python RET > M-x dictionary-search RET ruby RET > > Actual result: URIs are treated like a regular search phrase, in which > RET will execute `dictionary-new-search' will not find any results. Sorry, I'm not following. I tried "emacs", "fsf", and "w3c", and I seem to get reasonable results. For example, here's what I see for "w3c": [Back] [Search definition] [Matching words] [Quit] [Select dictionary] [Select match strategy] 2 definitions found From V.E.R.A. -- Virtual Entity of Relevant Acronyms (February 2016) [vera]: W3C World Wide Web Consortium (WWW, org.) From The Free On-line Dictionary of Computing (30 December 2018) [foldoc]: World Wide Web Consortium W3C W3 Consortium (W3C) The main standards body for the web. W3C works with the global community to establish international standards for client and server protocols that enable on-line commerce and communications on the Internet. It also produces reference software. W3C was created by the Massachusetts Institute of Technology (MIT) on 25 October 1994. Netscape Communications Corporation was a founding member. The Consortium is run by MIT LCS and INRIA, in collaboration with CERN where the web originated. W3C is funded by industrial members but its products are freely available to all. The director is Tim Berners-Lee who invented the web at the Center for European Particle Research (CERN). (http://w3.org/). (1996-11-03) What exactly is wrong with that? What am I missing? And how is handling of URIs related to this? > Compare with EWW behavior: > > 1) emacs -q (master "6b0179f7908c658342d1e642e5444e3d2e1cd997" > > 2) M-x eww RET > > 3) Search for some search word whose results contains URIs, for example: Search how? what do you type at the prompt of "M-x eww"? And what do you type afterwards to search for some word? Thanks.