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.devel Subject: Re: A proposal for a friendlier Emacs Date: Fri, 02 Oct 2020 09:59:57 +0300 Message-ID: <83wo09f6z6.fsf@gnu.org> References: <91bb3e347d5caed9487a2cd8e6d0db04@condition-alpha.com> <4deb019b-8034-4f18-9bd6-98424a0f09ee@default> <916af7e9-961b-44e5-ab11-0f128f52a8fe@default> <39133459-6582-4772-b2bf-03eb123cb22b@default> <20200928220307.GD18207@protected.rcdrun.com> <83ft71l3cf.fsf@gnu.org> <20200929041613.GH18207@protected.rcdrun.com> <833630ll5x.fsf@gnu.org> <87h7rfn0wz.fsf@mail.linkov.net> <835z7vhxsi.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16840"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ghe@sdf.org, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 02 09:01:07 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kOF3z-0004DL-Rn for ged-emacs-devel@m.gmane-mx.org; Fri, 02 Oct 2020 09:01:07 +0200 Original-Received: from localhost ([::1]:38948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOF3y-00054q-RA for ged-emacs-devel@m.gmane-mx.org; Fri, 02 Oct 2020 03:01:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kOF38-0004Aj-Dl for emacs-devel@gnu.org; Fri, 02 Oct 2020 03:00:14 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41790) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOF37-0007zM-5h; Fri, 02 Oct 2020 03:00:13 -0400 Original-Received: from [176.228.60.248] (port=2682 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kOF2v-0004uB-3S; Fri, 02 Oct 2020 03:00:01 -0400 In-Reply-To: (message from Richard Stallman on Thu, 01 Oct 2020 23:51:10 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:256928 Archived-At: > From: Richard Stallman > Cc: eliz@gnu.org, emacs-devel@gnu.org > Date: Thu, 01 Oct 2020 23:51:10 -0400 > > > What is missing in dictionary.el? It is implemented in Emacs Lisp, I just > > tried it (apt-get install elpa-dictionary), and it seems to work fine. > > How does it work? Similar to smtpmail.el: connects to a server (whose URL is customizable) and talks to it using the DICT protocol. > > The default server is dict.org, port 2628, > > We should not refer people to someone else's server as the first, > recommended way of looking up words in a dictionary. > > The first option should be referring to a dictionary > on your own machine. It should support the formats that > are widely used. We could implement an initialization function that tests whether there's a local DICT server, and if there is, use that. That could be triggered by a special value of the defcustom that names the server.