X-Loop: help-debbugs@HIDDEN Subject: bug#59448: 29.0.50; URIs in Dictionary are not properly handled Resent-From: Gabriel <gabriel376@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 21 Nov 2022 14:53:02 +0000 Resent-Message-ID: <handler.59448.B.166904237619598 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 59448 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 59448 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.166904237619598 (code B ref -1); Mon, 21 Nov 2022 14:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Nov 2022 14:52:56 +0000 Received: from localhost ([127.0.0.1]:46019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ox8AJ-000561-Te for submit <at> debbugs.gnu.org; Mon, 21 Nov 2022 09:52:56 -0500 Received: from lists.gnu.org ([209.51.188.17]:45546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gabriel376@HIDDEN>) id 1ox8AI-00055u-Fv for submit <at> debbugs.gnu.org; Mon, 21 Nov 2022 09:52:54 -0500 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 <gabriel376@HIDDEN>) id 1ox8AI-0006cM-8w for bug-gnu-emacs@HIDDEN; Mon, 21 Nov 2022 09:52:54 -0500 Received: from mail-dm6nam10olkn2022.outbound.protection.outlook.com ([40.92.41.22] helo=NAM10-DM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <gabriel376@HIDDEN>) id 1ox8AG-00080N-14 for bug-gnu-emacs@HIDDEN; Mon, 21 Nov 2022 09:52:53 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zk4MZ8lfxiQUpBd5JQvP19PXnhA77ZvnzsbG6iL7o+4N8BvgjJBrCPusHvtwUwU7fhBLXi2Av/iJT5LqgLrFI+p7LYzIEXAP4BtcW4zPRjUYfoLLm0549KmX/jNaRHv2gFgTJUYujMKdVAro+J6mQi+Slh52svqS1Ps6kafu4FQkts5r8W0ZYveczpoqGkyXbqysMXPorjd1ZYGHlCWyvD61UG2738vCnv7SDU+6/XyGuZc2gXYo5d617OOZU8EUZEhSy0M0qPqbA08NlRsSb+XHHmAb69i5565Ax1KKEoIBNUV2AFA6OUCoiugQiV/NW3q4OC1vUcp/4DYcgqsy1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5MR8AkyEY1y4xCr2YZXO0g9ppmaQTy6sicKPikoYz4g=; b=Znw+hR2f536soOGt3JjMYj77BtNpSz5VdzjX83l69G1J4q6YHnvNLJME69+s7ia3e7Pu0cx+K7Pen0JT4KvXd9E9KUwBQL8lccMjA8USagbVKiTjldNjhSEyF43DDmxshPPBwNuwYJKaHYIsnbOumEnoRPI73NSkbSNT3nEOle5ap8i6B64617NVhpkLkvAoJ4p5mUXqaHgQ/JPVyFpekScixZT8gCEJwcDpBKc1Apw7UT7cd2r97BNpQC7O479Qpx86aZoLRKEs5fPhAuvGBdwzOMSR3zPoiczljJIVxY0YnDOM/qjVyyfPDTLrahxicStEd/27rTDe1+Y6KYD/xA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5MR8AkyEY1y4xCr2YZXO0g9ppmaQTy6sicKPikoYz4g=; b=N/SoDUb7HGEDjah9l7QQbViBEfWNPBY6XkjRbdOBkikh0f4OmiiwM6uJcU38mIiMuGtV7rZ8PMYUucrj3kpgVnyOjQOOw0aJpew4sDZ+GhmEyEycbx4UPfsWViJs0TjzJ/NwvT3U+/Zk6d1fgGVO4LuA3Pf1CCNmS2u4wNBodhQV/hpfX/CMNenRvCLONx1kHYEoEuT/aQZw0G270PFd7IJkgdg75jTAqXk+9vcPx01Ot0F7tMBGTFCs0LQCKxbUEUIQYTLaeXHZwZluvJ3IcW8Ep1EEPp0XXD+Dc2A6F6uhgnY+f72eeTS9vHEESp0FaNJ9lqzhWmdbJZNi2e0WRQ== Received: from SJ0PR06MB8609.namprd06.prod.outlook.com (2603:10b6:a03:40c::11) by MWHPR06MB2925.namprd06.prod.outlook.com (2603:10b6:300:11b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.9; Mon, 21 Nov 2022 14:52:48 +0000 Received: from SJ0PR06MB8609.namprd06.prod.outlook.com ([fe80::33ae:d3a7:24ae:5c6f]) by SJ0PR06MB8609.namprd06.prod.outlook.com ([fe80::33ae:d3a7:24ae:5c6f%4]) with mapi id 15.20.5857.017; Mon, 21 Nov 2022 14:52:48 +0000 From: Gabriel <gabriel376@HIDDEN> Date: Mon, 21 Nov 2022 11:52:42 -0300 Message-ID: <SJ0PR06MB860970E179F60D9E3FB536278B0A9@HIDDEN> Content-Type: text/plain X-TMN: [3LXBlsXVrALzdqWEngLw0P4/QC1Im7qoJRenUpEGP8x7cNyN8fuWeFZaZ3IS1ttM] X-ClientProxiedBy: CP0PR80CA0023.lamprd80.prod.outlook.com (2603:10d6:103:14::35) To SJ0PR06MB8609.namprd06.prod.outlook.com (2603:10b6:a03:40c::11) X-Microsoft-Original-Message-ID: <87pmdg8imd.fsf@HIDDEN> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR06MB8609:EE_|MWHPR06MB2925:EE_ X-MS-Office365-Filtering-Correlation-Id: 9f8d46c8-4c92-4231-45e5-08dacbd00de8 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KGznSiF60dUSQksJXFXwBWSxdMtptpnPSf+yoABbSjSKZbN21BBzk713BwbTfr6OWPhn1w2AwGgAajN4IUcOdnxKOJZt74iytzFs/MqGjMmxmk/Df8DuRW//jpTPaOb1XTRQ7whe/bXMTpDPWpsjGNp7MW0HNF+pB126FRXyzkEZ4lEED2G7ATcxZQ8OVq6mtZ5DDQtee+QLf1z651MIrijIjJl1IpXIQiQQpRkNO8mHXhtaBtcvK38JEsyjFk+YJoRIzJq6q7BgW9d00NYoLvOlm0i11yEjOYVUjjtKAOE2xCSvHArs7nvBFYtKmUVKvKuWmo/LlaFxjNEhlAyRCMCkbOFM61ZIhdLvnMYxdQGlOe1nKuZOm7js5/ek/ci7IeShrSFx9qKtMl+y7Z0HGM+otmndjHUahyzG2Ewoh1D7we/4/jCoaFMCXxPAPYqstL1iwkhKvQeLETITwT7Uk37u3Zq23Y8TbV26hcvt+IoJLEnxMU6MZummShykt6sG9MndfhEiVZ4YYJfRB8VXrOMg0XZ/WpY/NVnqtFKjgt33TIoAOqnssQvLI8tgW37f30Z1p/GXSGRG/HHSTgQp0Q== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: j36+1S+/+Yhu/fDLraZy7obCavUqmxZRpGPSsiTC/S7pq5oKb7cnM6WrGiwZRvPsupxs+BNiXjjbtsZcsqP7U3VB5Jbwj4fO8x3Xb1s+VDsw+I1ip6EOKROCAX7YCENqiVQkjhuPLJ1U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ltffui/lYuEyxw1udLeHNazGrKovam1OWw4GTfIhpr0d8B3y+Bsm/6auUV5lavob4n2oVa6EA6hEF4QgdIuCJdndX65Y//qSciwDu5StycC8Z7IAzTpfNIkUiq3HxQYxt0J6x0A== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-89723.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 9f8d46c8-4c92-4231-45e5-08dacbd00de8 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR06MB8609.namprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Nov 2022 14:52:48.2681 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR06MB2925 Received-SPF: pass client-ip=40.92.41.22; envelope-from=gabriel376@HIDDEN; helo=NAM10-DM6-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.1 (--) Severity: wishlist Description: 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. 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: emacs fsf w3c python ruby Actual result: despite some <a> tags seems to be broken, it's possible to follow the links (e.g.: follow "http://python.org/" when searching for "python"). Alternative: It seems that `goto-address-mode' can be enabled to help handling URIs in Dictionary buffers, which will find some URI patterns (using `goto-address-url-regexp' and `goto-address-mail-regexp'), allowing to follow URLs and composing emails with C-c RET (`goto-address-at-point'). Perhaps `goto-address-at-point' can be enabled by default in `dictionary-mode`? Other alternative is to handle URIs natively in `dictionary-mode'. For example, some proper URI handling in the action of `dictionary-link' button or in `dictionary-display-word-definition'. Nevertheless, I believe the default behavior of Dictionary could be improved, i.e., to avoid treating URIs as regular search words that will provide little to none value to users (since it will mostly fail to find results) and to provide a better integration with other Emacs features (e.g.: EWW to browse URLs or Gnus to compose emails). --- Gabriel
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Gabriel <gabriel376@HIDDEN> Subject: bug#59448: Acknowledgement (29.0.50; URIs in Dictionary are not properly handled) Message-ID: <handler.59448.B.166904237619598.ack <at> debbugs.gnu.org> References: <SJ0PR06MB860970E179F60D9E3FB536278B0A9@HIDDEN> X-Gnu-PR-Message: ack 59448 X-Gnu-PR-Package: emacs Reply-To: 59448 <at> debbugs.gnu.org Date: Mon, 21 Nov 2022 14:53:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 59448 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 59448: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D59448 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.