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 16:42:20 +0200 Message-ID: References: <831r6xctwu.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32359"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 13 16:42:52 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 1mEYOZ-0008EF-74 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 13 Aug 2021 16:42:51 +0200 Original-Received: from localhost ([::1]:44158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEYOY-0001bS-8v for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 13 Aug 2021 10:42:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEYOA-0001bD-3E for help-gnu-emacs@gnu.org; Fri, 13 Aug 2021 10:42:26 -0400 Original-Received: from mail-db8eur06olkn2094.outbound.protection.outlook.com ([40.92.51.94]:37217 helo=EUR06-DB8-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 1mEYO8-000547-8p; Fri, 13 Aug 2021 10:42:25 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iUi0X5Q45t6Oa7d9kWx6kv9YJG0TF/BCfoYBCjH+ycX4KRc7W6LFLevEOAcKo9ewwnSBp7hdnz5/mg8tCiAkeK/Do8J+loRQXTr9b9644ULoqA2aenYXT+opPeEXQn8EGOBoOopZBa3+avIaO1HQJweoPvWeOZVUP6ZDkKliD98K9bttqfnG3csp6esWEuDeXF+3GRBF7FdtBI4jU/BdaD7oivf65EMndnPaJNoVM8LKgaHHB5C8RJtrPaCgMDojHJ+1RyZEcTZ3qtG7fgqWFbOs8erN8hfc2PQJr22hsYMBhG2ORSOvlTKzrOPwlHuh+O5Rsrn8LKRLQ5Mf1ICL2Q== 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=jmyvQhZMrDJuzqYKnpWNRUH0kSISwwlLvwXwTzKaRxo=; b=mQ5RUwarIrE+v3jtXlR7OU6957HcYmjphtcIZbXAs1Hfdysq/48mPspWk8+lMaTuU7i7OdGJZUI7Mlriq+MJm+QUM8fSRmTuSsmOIeIQHpEdqFIyiwgCOPTmCwRnZ9DXIhNAuZBJbBVni6pt+v5XFh3wAFTjWBRoOd8mwUl/84Cbontyv4xpUZx2ik6o7JJ2VpXOgX/3yvhX5hrZ+g/bfXU+mshe4pVxICVOpilkl6OB7txhKqIEaldqOZbn+Nx8zYTse+q6wimzUCuyfzG+zEts6zP8Og9+dwAlnANWbEVFz/IqMuKy33g0HgLJxyji7O+1A5lMKkZmd78Lz6nTDA== 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=jmyvQhZMrDJuzqYKnpWNRUH0kSISwwlLvwXwTzKaRxo=; b=Y64OvkFxKxQunjf0CDZltXaz5QP/xaw8tR8Q/Ohb18Gz63S8HtnnDeeUvPZqh8xbzvoUq4/XWyAp9aI00Bq8TtCrXKnl7+PBYILiWRQH0MIgCQCQcSJYHsPTfFiRws+xir113xM5Ap5rTYkcrK2OpygToDavHtwXUxNPs/GASntAcwtGJ7ivGo/fkxXKc6C+g+ymnmly5AEjFyig7bod2IZTW8SmfT+aw443O8G/r8QdEW2b1sZG4kjbyVS5BsTy4pEm08KK21pNh2Jhg6skwpR1Xo6c5Cc1YhP7Nd/lQn6Z6iwVNLCPCTBKnLkOwmrRdEQtEUImeygXMMcKJDnbRw== Original-Received: from VI1EUR06FT048.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc37::44) by VI1EUR06HT034.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc37::372) 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 14:42:21 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2a01:111:e400:fc37::48) by VI1EUR06FT048.mail.protection.outlook.com (2a01:111:e400:fc37::110) 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 14:42:21 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:A85B4D57B2FE3A28FC38CCF35A32623A3C5404212DE4668F142F3E9E915DB97E; UpperCasedChecksum:130829099533548368D3FC89FBAA962B7FA511E91F49DB23A42F799F7E738A66; SizeAsReceived:7573; Count:46 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.019; Fri, 13 Aug 2021 14:42:21 +0000 In-Reply-To: <831r6xctwu.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 13 Aug 2021 17:15:45 +0300") X-TMN: [bzHOdXMUEN3EtBMTDu1rBuWBx5FpE1BV] X-ClientProxiedBy: AM6P193CA0054.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:8e::31) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <87k0kpwgmr.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (81.232.177.30) by AM6P193CA0054.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:8e::31) 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 14:42:21 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 8bf447b9-87ae-4a42-b7ba-08d95e688e95 X-MS-TrafficTypeDiagnostic: VI1EUR06HT034: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PeVcF/svmuODHnwBwMrr3vJiFuEAX7yuTCiJVQPyiRBssecTY2uUvUSdRqdnBD5kDNVUm7rVA9fHLLIq/itTOBTU44PxosH+WV8332fPDbTB+8bSpWp7M9IOMkPCct0J+w9SfFjYPDjhOarUVj9VRk4bFfgqvi7yAKnHy+2iiIpYKKH3AgUcIPUCrAFYB2riejONDRw7BFZiXuajcezncadKXBJvK6viIxCXo+ltY6xnX/YVeklHJ9OYuQSJQjyyXGXFdDoeiOXoREGo4tJve83MLRsS9eUX+ykrVNrTug2DA1sDXf3vlNjYxIYRMUaNO314Su8MAYA5AdGE8dxreSipa3J+qVN7S2IbdpZ99bMhEswNWGiGOroBRUkpOjcEB0uXMwHHiTQIIjG/4PjYm82SAd0OphqqIZsWYtUl+L2njfHAWsUnSqfFyftckLns X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: MnMEns7TqOSme2EvrBtuTsyClDHRKUD69J1mL9gA9fwK3/1ZMOb9hxBc/k1dGK1p1vk4Uk8Ena0M6zhd4Fmxon1nGKMsXlBXsWYF1WMBy0NKRqtoyZ1vkJk1SwOBMLTYmY6XVTpL4fIjEOs6bk0udA== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8bf447b9-87ae-4a42-b7ba-08d95e688e95 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Aug 2021 14:42:21.4628 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VI1EUR06FT048.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: VI1EUR06HT034 Received-SPF: pass client-ip=40.92.51.94; envelope-from=arthur.miller@live.com; helo=EUR06-DB8-obe.outbound.protection.outlook.com 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: 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:132504 Archived-At: Eli Zaretskii writes: >> From: Arthur Miller >> Date: Fri, 13 Aug 2021 11:26:39 +0200 >> Cc: help-gnu-emacs >> >> Hongyi Zhao writes: >> >> > It's well known that Emacs has already implemented numerous >> > macro/function/command in its current version. But it seems that this >> > is caused by, to a certain degree, the too fine granularity, i.e., >> > there are many functionally similar macro/function/command are >> > designed separately, for example, `directory-files' and >> > `directory-files-recursively'. The traditional Unix tool, `find', can >> I wouldn't say that these are "very" similar. Sure they both list files, >> but a recursive lister vs. plain lister is a big difference. > > The comparison of 'find' with the two Emacs APIs is basically invalid: > 'find' is an _application_, whereas the 2 APIs are just that: APIs > that could be used to build such an application. See find-lisp.el for > what the application would look like. In a *shell world* one could logically think of cli utlities as "apis" and options as function arguments, and I guess pipe would be functional composition. Just a little mind stretch if you don't mind the pun :).