From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: Re: A proposal for a friendlier Emacs Date: Tue, 29 Sep 2020 18:21:04 +0300 Message-ID: <20200929152104.GF383@localhost> References: <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> <20200929054546.GA22699@protected.rcdrun.com> <831riklkyc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30400"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.14.2 (2020-05-25) Cc: alexander.adolf@condition-alpha.com, rms@gnu.org, drew.adams@oracle.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 20 13:34:27 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 1kUpuL-0007mO-W2 for ged-emacs-devel@m.gmane-mx.org; Tue, 20 Oct 2020 13:34:25 +0200 Original-Received: from localhost ([::1]:37650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUpuL-0001yW-0x for ged-emacs-devel@m.gmane-mx.org; Tue, 20 Oct 2020 07:34:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUpoJ-0004kj-BI for emacs-devel@gnu.org; Tue, 20 Oct 2020 07:28:11 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:40131) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUpoH-0001bs-M5; Tue, 20 Oct 2020 07:28:10 -0400 Original-Received: from localhost ([::ffff:41.202.241.51]) (AUTH: PLAIN securesender, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000005611D.000000005F8EC9C7.00000A94; Tue, 20 Oct 2020 04:28:07 -0700 Content-Disposition: inline In-Reply-To: <831riklkyc.fsf@gnu.org> Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/20 07:27:48 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: 15 X-Spam_score: 1.5 X-Spam_bar: + X-Spam_report: (1.5 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_96_XX=3.405, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:258185 Archived-At: * Eli Zaretskii [2020-09-29 17:25]: > > Date: Tue, 29 Sep 2020 08:45:46 +0300 > > From: Jean Louis > > Cc: emacs-devel@gnu.org, alexander.adolf@condition-alpha.com, > > rms@gnu.org, drew.adams@oracle.com > > > > > Btw, we have a similar functionality built in: try "M-s M-w" after > > > marking a word or a phrase. > > > > I did not know, that is good to search words online, it does not > > really define words, it searches for whatever is marked, that is > > good. It is not a dictionary though. > > First, what it does by default has an advantage of being able to look > up phrases, not just words. > > And second, you can customize eww-search-prefix in a way that will > search dictionaries: for example Google does that when the query > begins with "define:" Similar like that, yet, looking up word online would be a fallback. First would need to come local dictionaries, as majority of the world is offline. A student in East Africa is regarding online use very disabled. Majority of schools in this world are poor schools. Reality is quite different globally. Offline dictionaries need no network. If offline dictionaries are not available, then online would be used, that is done automatically by dict/dico clients, and then if none of clients exists, then the online lookup could ask for !define word in Duckduck.com or similar. > > There are hard coded settings for Google Chrome browser in {M-x customize-group RET browse-url RET} > > in Emacs, so why not have hard coded settings for dictionary features. > > That is a completely separate issue: you are talking about setting up > the dictionary _servers_ to which the client will talk, something that > IMO should be entirely up to the Emacs users. Yes, analogous is the Google Chrome browser, it is up to user to install it, but settings are available in Emacs. It would be up to user to install dict server, but settings could be, if possible, put in Emacs.