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, 27 Oct 2020 05:32:00 +0100 Message-ID: References: <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> <20201020153220.GA6994@t400> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4988"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Jean Louis Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 27 05:32:49 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 1kXGfA-0001Ca-AU for ged-emacs-devel@m.gmane-mx.org; Tue, 27 Oct 2020 05:32:48 +0100 Original-Received: from localhost ([::1]:57468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXGf9-0007O9-9Q for ged-emacs-devel@m.gmane-mx.org; Tue, 27 Oct 2020 00:32:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXGeW-0006vq-VZ for emacs-devel@gnu.org; Tue, 27 Oct 2020 00:32:08 -0400 Original-Received: from mail-vi1eur05olkn2078.outbound.protection.outlook.com ([40.92.90.78]:4576 helo=EUR05-VI1-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 1kXGeU-0006tV-5C for emacs-devel@gnu.org; Tue, 27 Oct 2020 00:32:08 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Px4tPIRC7ViI3RzHyZh7QYq+xvJhD6pwV189rfLP5cvxMWyfgrjTQEWetDge/1ttf6F+EQ+nUhzK41WUVh7c8jMnJVpHu0SMMJKfP+ncICU3I2DOF4Fi3OhOyNU2G4JnWen0GPcHjjHG+A3kd32Zo3ZVfGWVxk1neaXClhoHtu1TwHrC5GnwqoyuBUynN3KRmBp1/BlruOrD/WHLHBYk0OgxctHI/iSTQ36dXrkikZZ52P+pXhbdN2hEAAUefanPY9Ap4GrW3EhIMb8FoGxt7BXXbcMUARQ7J5n3rAVelASB0asZvJCNMmpI4ZmrvuL3HpWrHLMUvIm3yN7FrU0UKw== 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=6F8uYPCyaMY1ynGK1/hnXwUYQjKDCiOvv4g20ed+38Q=; b=YHrn+bnFewzc8N8Q3uYLjgkebX33DVczkQ7FXj0T8SFzSdbRYhMlAHxBm69VgjUGu3v8dA1PAv4nOzFszoky7wLdgReWnpk37G/JL1F8pR/dsTCR52tNtvLtHyazKLxFnVwdebwKk5G2ftdWApxu0+GtDLFzcY0+O3P6a66tQAu4zv1HSV3WBso1rPPgQhDOsODfvmjTK8Yr8dM6u0yTwn/Ef+W1OgOgMhJCtYbeN7+qrOpxQE8N1pnUm+91pxOHiumh4/w1a5ftywhtSrHuxD/5cRdRn6kJRrWw68fcXa+xqNEhM1xPPFHAFAxL2NHe7/716McB/PA/y7emtuO9eA== 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=6F8uYPCyaMY1ynGK1/hnXwUYQjKDCiOvv4g20ed+38Q=; b=UnBYBZv8qb8q4gMo64YYRfre4vyr4kLqNYbJJg0hDhkUur7ueE0Ev+rgGmPYUqjF6SlWtkv/kc4xjQR3Uzx+2uPqbrG6pbYG2lA/wP5dkxyncNVhAvTz8awMmQW/hXHcg3lQwit6HtyYUPZ+NlYzGYxsHxLVl7oUMwRKfoezPcvF+6s2an9djrzeUxK+Z7gaM3lHNyHyH+3+8KjirP4CfYgKncxbg9SkIhryPY3wUrD+2vP8oB9nwiAqZKf4DeNEEExWCx1+F81Vm89TM5LC5gQsXCnF6yQ0oKrTS4BIC3Bbhw3uAne7i9E2aMBGX0+LJjOPXNYBnG+JLtEmj5m5fQ== Original-Received: from VI1EUR05FT022.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc12::41) by VI1EUR05HT033.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc12::342) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18; Tue, 27 Oct 2020 04:32:01 +0000 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:fc12::48) by VI1EUR05FT022.mail.protection.outlook.com (2a01:111:e400:fc12::130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18 via Frontend Transport; Tue, 27 Oct 2020 04:32:01 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:F129BC1931FAC9E519BAC7CFEA5D4CCBBD04CC196FEC6DC995BB35F44F1DF561; UpperCasedChecksum:49AE24393FBFD7FA58099EAF71FBDDDE7D3322989D0EC95DAACF1F0569BA18DB; SizeAsReceived:7813; 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, 27 Oct 2020 04:32:01 +0000 In-Reply-To: <20201020153220.GA6994@t400> (Jean Louis's message of "Tue, 20 Oct 2020 18:32:20 +0300") X-TMN: [oQ3XFXBE/gbOJF3NJfs44lBGAhqlyt09] X-ClientProxiedBy: AM6P195CA0034.EURP195.PROD.OUTLOOK.COM (2603:10a6:209:81::47) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <87pn54l267.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM6P195CA0034.EURP195.PROD.OUTLOOK.COM (2603:10a6:209:81::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.19 via Frontend Transport; Tue, 27 Oct 2020 04:32:01 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: f217d1a5-ec77-47cc-e155-08d87a313fbc X-MS-TrafficTypeDiagnostic: VI1EUR05HT033: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FKf369IdKgHPCwCuOAHHxnkCGcNQ1NoRWiRoOBbv6igDuUj/8CH7M8NILDOnDyBgrUX2OYvNvkX3GmFf5SMIFmbihYM3UZeN/XmFjzw58zAf6YsqQXwR7XbicTgcOcJ+oH++dtp7QJICd1gkEgdl5Xf9lL4NdBHnaClo/PmAcSlDHWQD0EF5sAGpE6BbpsEjhE37kSOCUfCrEdrTpy5RIQ== X-MS-Exchange-AntiSpam-MessageData: W0hmxIGeAWEL2WPxmvOyc5ysOYrwzaTUPIzV4BgblMftIgpm69m9tg7Dbxx8Iw2DJf8XsmjQ3/JnRYSx9KSq2R4BGk0bJAV48J3nNfyoxd9rbM43bAdw4dw8VHnoxzcfYJSXhiaolUO4tYpnWLHnNg== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: f217d1a5-ec77-47cc-e155-08d87a313fbc X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2020 04:32:01.7902 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VI1EUR05FT022.eop-eur05.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: VI1EUR05HT033 Received-SPF: pass client-ip=40.92.90.78; envelope-from=arthur.miller@live.com; helo=EUR05-VI1-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/27 00:32:02 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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:258492 Archived-At: Jean Louis writes: > * Arthur Miller [2020-10-20 16:08]: >> 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. > > You mean very simple and common words? Yes, like: File, Open, Close, Cut, Copy, Paste ... > If there are not too many, Lisp structure is enough, that is how I am > using it in some CGI scripts for multi languages. I know; sqlite db is a bit more portable; think C++; but for Lisp programs a hash map or even list are fine. > Emacs Lisp package could then just find if such word exists, if it > does not exist, it could ask you to translate, and it could fetch > definitions from dictionary to help you. Long time ago, I was thinking of such a dictionary for programming only; so there would be a db with 'en_US' column and a column for each locale that has translation. That is very simplified dictionary I had in mind. But while reading discussion about dictionaries on this list, I am just wondering if one could look up words from a GUI directly in a say English-Someotherlang dictionary, without have a specialized kind of dictionary. > There is wordnut package for looking up into Wordnet dictionary, it is > free as in freedom dictionary, it is fast, and pressing enter on words > leads you to new words. Always wanted to look up wordnet, but never got to it; one day .... >> 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. > > Not automatically if you mean that, it is not translation word by word. I know; it is never word by word. I mean one could write program to look up a list of words; maybe save it and then use the saved translation as a base for a human to finish the translation?