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.help Subject: Re: Too fine design granularity leads to numerous macro/function/command existed in Emacs. Date: Fri, 13 Aug 2021 22:47:41 +0200 Message-ID: References: <87czqh3b8u.fsf@zoho.eu> <87eeax6w9t.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26050"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 13 22:53:19 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1mEeB3-0006Wm-8o for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 13 Aug 2021 22:53:18 +0200 Original-Received: from localhost ([::1]:37220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEeB2-0002T8-8t for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 13 Aug 2021 16:53:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEeAe-0002Su-Sw for help-gnu-emacs@gnu.org; Fri, 13 Aug 2021 16:52:52 -0400 Original-Received: from mail-am7eur06olkn2081c.outbound.protection.outlook.com ([2a01:111:f400:fe10::81c]:3635 helo=EUR06-AM7-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 1mEeAa-0004f2-3Z for help-gnu-emacs@gnu.org; Fri, 13 Aug 2021 16:52:52 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q05RFZbXb1e3SoajPk6ZTFDTHPg0Yegd8ivgp6EbyL7RO2rEyLyUvCIF5JEtn/EMSLFF9ytrPcm7kynqAuWV4NQezmR5qh0lMTaBQaZl67Bf7ri9M00QfeJckGAifYUZouxl+CTlcdjagyNsTWnHqTT1pr3B0eFnH32zcDF6LdMTfQJvaKgbOOeQ0LF1PcR8hgsibs1ou5zSaa8tn9jTdiqmKoCCCS65SQWCCGkfgYbNhnCqt7ckegYNrq9/bZQUnSNAEJS9wivFAJE8rjn2T1+4zgsOaSFpRE86szG2QBwKLJQZUlNm27w0FzSK7Nv3LPS44g0P5p47cifhI6PPtA== 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=gZ7Cg3fBp6+uM/0hFvlEXOWiGoWC6Izev6f8vT4yyGo=; b=PCmS0Z5s+QAYy0F4dHH+N3Mufj0IczzWbpJaYvIQlXG74r4nRNgqnB1sInp20ENdXKsGY1XF8ustSArjUIKL1Hsxa8s9gk/WL/A30OoInkvcGBpH2L8dK1vHIQytFVtGmYeeg9fPHOSoVrvdLezhbqF5zddUYGWyZ4uA0MrDSc2H07DXdxRL2tV6wdbl9K3eOfPH67GkoX5tsl4AIemXfY6hA22OGU50mH3CoM2vE8ntMRkM5T0RoToxWY7FoDQ0qZx1Froiy7zB+jqtun3gqRcKRZkcPcuuob72egdilzyMDVAVp5ZD7lz2iyNzXoDJddT4U5trbsY2D7iT5mutLQ== 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=gZ7Cg3fBp6+uM/0hFvlEXOWiGoWC6Izev6f8vT4yyGo=; b=ktc6BfWrgq3y+NLTW5e049I8imxVT7TWZrut8dZap1zNXe79Wj48ZnN5qGDtTu1uzTuNy90SSgB300QPYwVWnjl1EC3tpvC99F8Tn6b4eTSoMuc3h6LFdyam7oN7GEUa0z+d/TpHecPVU1iqfnFNOf3DIUVMZonu07D5dxSuLkyO+JAh+vy2CMcRnC1faxBiU/4CdQtb4rM4gFs7h4gwsb8zm0rtltR9I68NR/0NwV0cbop0DnLIieu0P+CbIMD3Kf1InTZXa20n7N6tq+0ZjQ+WDptLIRP+JQSM+oTH2KXg3CaE2bLr2HuyjkAaNHIEM8JEJQTZObhz3PnUO5Ohww== Original-Received: from DB8EUR06FT031.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc35::41) by DB8EUR06HT138.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc35::102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.16; Fri, 13 Aug 2021 20:47:44 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2a01:111:e400:fc35::42) by DB8EUR06FT031.mail.protection.outlook.com (2a01:111:e400:fc35::112) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.16 via Frontend Transport; Fri, 13 Aug 2021 20:47:44 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:D9B6E6C630E8EABD455BDCAE14983406EF24C3E1559B7E2161AE0176C8D7BB37; UpperCasedChecksum:75B5B815101F2F58F354A9D52F7D8F6FE4574CF42F2B0B8AC13EDFE8BD8487CE; SizeAsReceived:7671; Count:45 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::6558:f201:6d1a:3f39]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::6558:f201:6d1a:3f39%2]) with mapi id 15.20.4415.021; Fri, 13 Aug 2021 20:47:44 +0000 In-Reply-To: <87eeax6w9t.fsf@zoho.eu> (Emanuel Berg via Users list for the's message of "Fri, 13 Aug 2021 20:21:18 +0200") X-TMN: [GBEl2bhHUyaqnzVFCjo/bT6FlLRlDqQQ] X-ClientProxiedBy: AM6P191CA0084.EURP191.PROD.OUTLOOK.COM (2603:10a6:209:8a::25) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <87zgtlrs0i.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (81.232.177.30) by AM6P191CA0084.EURP191.PROD.OUTLOOK.COM (2603:10a6:209:8a::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.13 via Frontend Transport; Fri, 13 Aug 2021 20:47:41 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 45 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 8128fdde-fa7f-49e8-7f9f-08d95e9b9854 X-MS-TrafficTypeDiagnostic: DB8EUR06HT138: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: E3nnejpt4tiglMAylRkXiR9/gHKDVwEYTsi7LFOUKVqRfatSeOq9UjfzV9Uy+mJAihBR2onmslaLkrXcCPe6U1AwOigcA/A8O9Hbxkx7GdRz7A3mhpGhKG615gOgvPKbTF+57yAAC4UdUfu6aO4GHqm5zxfsdyskG61o+Up2410N4X6NmkpLCzrhRJlzejzxUo1OlGtMiq0LL+NyKN13P9InLItKdiu9lO1DBfomlSdprmlSaKcDdRe8aD1a/Xpvdm7aSoKmmidJeyGl5ATe6roWTpkW/Se8pAUMgoRwgE2qvpRFFRXvoEhWn1joUnYfwR0ELt0Oy059As9o3Lgd5cITVEAE/dOyhBuDXkX4UzF/tT5karTFnVklIb18QQKU8S9R4lrGuXR7o0zuv3e4qCvL9wggvWrDFDlvPzcHVbS+V0DfrMzkfUSWeak2A1ho X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qo/GGZ7/mNIkmjVJue1lNJO70DDfsAO01OPc+eYyGEDB38OZeuv9aZjWI5BmljrshR+dGzM7Tflg8aiuTeNZSQDj+owaQWIyjTtWvxJP/4o34/rkbAHb7eP5QvQHPoP0gVAW+A4/Q4vLkVQxEtvRew== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8128fdde-fa7f-49e8-7f9f-08d95e9b9854 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Aug 2021 20:47:44.3003 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: DB8EUR06FT031.eop-eur06.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: DB8EUR06HT138 Received-SPF: pass client-ip=2a01:111:f400:fe10::81c; envelope-from=arthur.miller@live.com; helo=EUR06-AM7-obe.outbound.protection.outlook.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_05=-0.5, 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132510 Archived-At: Emanuel Berg via Users list for the GNU Emacs text editor writes: > Arthur Miller wrote: > >> learn relatively recently, say one year ago, but I find lisp >> much faster to code than shell. That what you coded there >> requires knowledge of zshell, awk, sort and tail. > > They are just basic building blocks the basic usage of which > is known to everyone, it is like building Lego or something, > meanwhile the below code requires both some general > programming fluency AND some inside knowledge how the > particulars work in Lisp and even Emacs/Elisp. You don't believe that programming shell script requires at least some programming fluency AND some inside knowledge hot the particular tools works, their options, streams etc? It just comes out of itself? :) > Everyone that writes it can also combine a bunch of shell > tools, but everyone who can combine a bunch of shell tools > can't write that - many of them can't program at > all, actually. I don't think I or anyone else claimed that "everyone who writes it" (it = shellscripts?) writes Elisp. That isn't the point. By the way, you do realize that we write this in context of Emacs and Elisp and not some random unix tooling context? Yes, unix command line tools and piping are like lego blocks, that was by design, it does not mean that *everyone* can write shell scripts. Everyone *can learn* to write shell scripts, but not everyone can write shellscripts. I hope you realize the difference. And that hypothetical *everyone* can also learn how to write elisp if they choose so. By the way you know what is also like lego blocks? Lisp functions :). Anyway I would even say that majority of computer users working in offices at hospitals, schools, municipals and other places, have never even seen a *nix system nor ever heard about zshell, tr, find, sort, grep or elisp. Saying that unix shell tools are easy for everyone would be like living in a dream world :). Shell scripts are easy for a certain audience just like lisp or elisp are easy for a certain audience too. Some people simply find writing lisp easier than writing shell scirpts, checkout gnu guix, don't take just my opinion.