unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Gabriel <gabriel376@hotmail.com>
Cc: 59448@debbugs.gnu.org
Subject: bug#59448: 29.0.50; URIs in Dictionary are not properly handled
Date: Thu, 24 Nov 2022 13:45:48 +0200	[thread overview]
Message-ID: <83leo0wp77.fsf@gnu.org> (raw)
In-Reply-To: <SJ0PR06MB860970E179F60D9E3FB536278B0A9@SJ0PR06MB8609.namprd06.prod.outlook.com> (message from Gabriel on Mon, 21 Nov 2022 11:52:42 -0300)

> From: Gabriel <gabriel376@hotmail.com>
> 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

     <web, body> (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.





  parent reply	other threads:[~2022-11-24 11:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-21 14:52 bug#59448: 29.0.50; URIs in Dictionary are not properly handled Gabriel
2022-11-22  7:54 ` Juri Linkov
2022-11-22 21:11   ` Gabriel
2022-11-27  7:20     ` Eli Zaretskii
2022-11-24 11:45 ` Eli Zaretskii [this message]
2022-11-27  8:27   ` Gabriel
2022-11-27  9:45     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83leo0wp77.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=59448@debbugs.gnu.org \
    --cc=gabriel376@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).