From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: A proposal for a friendlier Emacs Date: Tue, 20 Oct 2020 15:07:40 +0200 Message-ID: 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> <20200929152104.GF383@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31372"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org, alexander.adolf@condition-alpha.com, drew.adams@oracle.com, rms@gnu.org To: Jean Louis Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 20 15:19:31 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 1kUrY2-00084K-U3 for ged-emacs-devel@m.gmane-mx.org; Tue, 20 Oct 2020 15:19:31 +0200 Original-Received: from localhost ([::1]:57298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUrY1-0005FQ-TA for ged-emacs-devel@m.gmane-mx.org; Tue, 20 Oct 2020 09:19:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUrMu-00065q-Bh for emacs-devel@gnu.org; Tue, 20 Oct 2020 09:08:00 -0400 Original-Received: from mail-oln040092064014.outbound.protection.outlook.com ([40.92.64.14]:19333 helo=EUR01-DB5-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 ) id 1kUrMl-000687-1R; Tue, 20 Oct 2020 09:07:59 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CC2gNHsZGShTIZwuto/NFHtR0bqkyr39HynPSe24J3ceFVbboDLYitRCCP52ClyaHKrxeo9zvkL4MTUl1jVP0xu+hSCldznczzKRCKwOJl5zMBZGqLUcqaVJELDzxcDflBot5Li7WU6cRa+01x5nTIVNh7z04OV1jPWD2jUil8DjgB1F/6jYWI5Nx/kDRjuTl2e3l5mp7htYNvbe80i83ZK2fQDotRTXED23oRMKrniZ6+7unndhfE8GFp1aB2RweQvPPnZ+R+CcZODl0QwUe+7EIcsqmzowu04JHCZmh76bxO363TEo9c6S/74+L3lbiYhbJ0e9pEUSZ12OdHl2oA== 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-SenderADCheck; bh=+fUD06A+IMwIXMPA8Z/rhONieAwZVvVrVRqdSbc5k7g=; b=Nh4SP07Wzei0ZcuMk+AvffQ1VJ8L79NaXkja8FXToNnZNcSIn96XgjBSLUActsSnDUbg1U7cf32gM2C2Sw41fEmCI+EqRFu3JwkpAllx+wjgSTEtQ77J7trrtfmnmVr1oVRt4ykkbgCMb/fY4GpVflvQJBNQc2PvlbnnrNoMFJ6q/5S6RpHAmophcEi1RqKtBz6uRpO2bq/MWY31fsg6Ju9wBHwvmvlN9qID4ZFCw7PFIzu8/PCJbDJPy0zvQUuKS7FDjfTmZoifVZ/hy+se1M6mLsfsS2APoFnZXCbN5PqxU/3SNZjSNKHUbAPGvs9pnAOF/TULNkJSwKbJgHE/ww== 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=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+fUD06A+IMwIXMPA8Z/rhONieAwZVvVrVRqdSbc5k7g=; b=ZKuo9fUKA6cps3pmGIVzTjyde5abYtoMnMB1DKNTOwbMOuxLXz5okAiwjcDy0dgE2DmwgBDXTXBMfytg7TNX2xFh31hj5vOyhhv2LfwmkVAYMEjV6V5KhxamFYgKjNe2W5Ns2o0+GPdc/Dh4D5cKojFfiS2Zvspe/+htLRDV07zgbjSIO8trCPJaqy5ke/Jlgb2/T4grn9SYwvo8S7fKs6TqMdxoJlv/6feL91qsTyhT2b9HG/IFaSu65iDKyf7YpOgmwF50fd3/g5FhWPegg6LtwlvB1griiXKMORYJvKjw7/rVHKZ5U6dqh087ZrlbOdbh0kJYbZY78VasGLY7cQ== Original-Received: from HE1EUR01FT017.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e18::52) by HE1EUR01HT202.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e18::112) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21; Tue, 20 Oct 2020 13:07:42 +0000 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:7e18::43) by HE1EUR01FT017.mail.protection.outlook.com (2a01:111:e400:7e18::166) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21 via Frontend Transport; Tue, 20 Oct 2020 13:07:42 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:78FEC0AFE40D00E9453F601B7190BA1963C3780CDE8023331AA1335488513C8A; UpperCasedChecksum:57A2019C687981E2DB45E0608C16D3EE9DC65B352809A81BC89E45C9C85FF9A4; SizeAsReceived:7901; Count:46 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::187b:196a:cb2d:adf1]) by VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::187b:196a:cb2d:adf1%5]) with mapi id 15.20.3477.028; Tue, 20 Oct 2020 13:07:42 +0000 In-Reply-To: <20200929152104.GF383@localhost> (Jean Louis's message of "Tue, 29 Sep 2020 18:21:04 +0300") X-TMN: [TD2eAU5MpJkUZnrvxLn4+qWBrMs1/VRE] X-ClientProxiedBy: AM5P194CA0004.EURP194.PROD.OUTLOOK.COM (2603:10a6:203:8f::14) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <87d01drqoz.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM5P194CA0004.EURP194.PROD.OUTLOOK.COM (2603:10a6:203:8f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.23 via Frontend Transport; Tue, 20 Oct 2020 13:07:41 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 411a4abf-4a60-40ab-f38a-08d874f920da X-MS-TrafficTypeDiagnostic: HE1EUR01HT202: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +yMYbkAss6N7UokBUuW0SptL+MsVq4XCnfpgoOipb8EujbjMNqBRR2gTy8bqJlrEwL03v39l+c6Zz5xKRsbm3eQrW5rNUzjRS4a8r59zIzFbfKhI23pgxGw4D6nv5jz62ZIuJ5Q1AGiDSsUC4JNVmYLtkQjFMukakj3f6/ArRiNmXW0OatQrRpQhsv8tEw0kAJhRNeAL5jhM0lPhCsJE8Q== X-MS-Exchange-AntiSpam-MessageData: 1SLhu+yL9klaN2bL3FgwrPv9LuJP9kGYi2YdO1rVzP3bzdiKoNq2FpbSE9C03fCGVxf1kEpxS5LYGm3uRF0Js9H9Ko0H5BbCOAOThjoHUWTrY0Cua/fyDl002GBEbvKlrMALNRKMjAG8CxVvw1bkpg== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 411a4abf-4a60-40ab-f38a-08d874f920da X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Oct 2020 13:07:42.4851 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: HE1EUR01FT017.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR01HT202 Received-SPF: pass client-ip=40.92.64.14; envelope-from=arthur.miller@live.com; helo=EUR01-DB5-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/20 09:07:43 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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:258188 Archived-At: Jean Louis writes: > * 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. I would like to have an easy to loookup dictionary from Lisp posibly for automatically translating of GUI ites. I have always thought of creating an sqlite database of "programming" dictionary where some common gui items are put together like (file, menu, cut, copy, paste, etc) and indexed for use in programms. In a Lisp program sqlite is not even needed. I have no idea how those dictionary servers work, never used one, but maybe it is something applications could use to translate software too; at least simpler part like some common GUI stuff.