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: Lispref add-to-list - doc is unnecessary convoluted Date: Fri, 04 Dec 2020 04:35:15 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29680"; 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: Robin Tarsiger Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 04 04:36:26 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 1kl1tR-0007ci-Gx for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Dec 2020 04:36:25 +0100 Original-Received: from localhost ([::1]:43946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kl1tQ-0004ku-Gi for ged-emacs-devel@m.gmane-mx.org; Thu, 03 Dec 2020 22:36:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kl1sQ-0004ER-1N for emacs-devel@gnu.org; Thu, 03 Dec 2020 22:35:22 -0500 Original-Received: from mail-oln040092064043.outbound.protection.outlook.com ([40.92.64.43]:23361 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 1kl1sN-0005XV-PC for emacs-devel@gnu.org; Thu, 03 Dec 2020 22:35:21 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VAHvw1o5ntGNHP184aAKI+0+XHCmlqbJS3GeHnx+xr8igKnBXNZeWXsDrPEs0H3ZV83/4jm6WHCwuZiYrlW6QOR1BqzbVnt4bswFR1QmtOYGAhpeHboStVPyeVkN6BXFf9WlU+CybpesA/JzdRvfvTmdSSXIJu/+z8/lst3zgoXL/qBxV+0zjeYbT/og9rOza8ESiVTGhFLK5gB593UzT/1ijtlHyt6csPbw6ZlGChhzljN4RpXQXzch7VswJqWCbzM3mCu7h7d6km9B4tfDNCzg0Gy1Iod7QEmBn+i7Otq+MXjk7ic6eFH5cwbI8mXLV5gOYWsNuaDAcC4IcrCVEA== 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=RXQ/ajQg5oZ9ci/xSHu1wVc5yP9t9qIPDGLqtzBekQE=; b=njsDB4KCflOC0AZIPP2BtJEjmd54iU/8NuM9Nmmgo7xY4MVwUUzWjkgjR/F5Y9kH4vY8bW8ZStBDQD04ahADpVfIWRZJmSXhjG2wHo4FqnUrSTepdex6drjQyRIiKoeHo4JH1GlBpZYpCyysP0FwabaLQoWFtoF8fVbCASRlDjVvKG9xX+kPzmEn5wHbuyhJnDIueYdnTwwRqE4OoStHlWCLaNRjm4YOdaV61RYuqBGLtbfQlAK/uNTPijKZ1rv5fbVZNcdaif/ZQDLL8j/DHe1bXE4XmKk3RYPGiSrri+L8NTsCR7Iom5cjGt9q37JVt4t+aRfraxMuKqSCeoZzpA== 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=RXQ/ajQg5oZ9ci/xSHu1wVc5yP9t9qIPDGLqtzBekQE=; b=oNs/XCJMT/ihaJduD40/GiU9ZiK1VcaavAvYznTw8v3EWL5gMjUGgj8oCU/furQdo4Ku1/2BGX0gdOvvSa/5H6G9eFcXILOG5OR3W7qqrUTDUQsCXyCxLabKJULyKW+nqaLUxcz6VeKn1YAbyly1hxXjC0/VWwkyVfC2bGzN0w9FFZBDW/lFlqcFLQkKAcAaSRfaOyocL8OPmyGm59CJVRBwCUr66Vo54rMuYlRL5FBU1fzgq+Qb6/6zIEcjJ/EtWfM6xZ9CTIsaIcpbTNTt0FtXatZCuM5lz4bak3/vYLg7IdNF90adQD6kAfk23Tw4wIg1nwitIFKa0upwOwIGQw== Original-Received: from VE1EUR01FT036.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e19::42) by VE1EUR01HT163.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e19::488) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Fri, 4 Dec 2020 03:35:16 +0000 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com (2a01:111:e400:7e19::49) by VE1EUR01FT036.mail.protection.outlook.com (2a01:111:e400:7e19::287) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17 via Frontend Transport; Fri, 4 Dec 2020 03:35:16 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:FE294918B3E475226D2A30AB5DC3280C1583A960F36A996525A5357D47B4FCCF; UpperCasedChecksum:CC704DD1C30D3B29C783831CCD0E5E410B521EFA6366DF490A9A7E4B884ADDBC; SizeAsReceived:7542; Count:46 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993]) by AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993%7]) with mapi id 15.20.3632.018; Fri, 4 Dec 2020 03:35:16 +0000 In-Reply-To: (Robin Tarsiger's message of "Thu, 3 Dec 2020 20:36:49 -0600") X-TMN: [uHoc9NrG6MfVixP5NpCTQJXNDzotd/lP] X-ClientProxiedBy: AS8PR04CA0042.eurprd04.prod.outlook.com (2603:10a6:20b:312::17) To AM0PR06MB6577.eurprd06.prod.outlook.com (2603:10a6:208:19a::23) X-Microsoft-Original-Message-ID: <87czzqb5vw.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AS8PR04CA0042.eurprd04.prod.outlook.com (2603:10a6:20b:312::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17 via Frontend Transport; Fri, 4 Dec 2020 03:35:16 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 7e829aa7-49be-4367-37db-08d898059de6 X-MS-TrafficTypeDiagnostic: VE1EUR01HT163: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bfsYmbzMsyI8Nu4eBAAeqb2+CjPkiGpvzRyDuWRzrulIj2LMiF+cMyYasi8teFgXayyrgYvE37d3DN6cK2OohggW6urFwupIWDbumzmPjAyy8idSNqZVF7JQ7GmrH2p9r/z0m2ID2sxuYJU2ryx7TcjR9qdyeUKNr1z+tb8LgsEO0wM2pjtPC31s4mn+0HT7k4tlJU+DkS4Yxk15DCP3SA== X-MS-Exchange-AntiSpam-MessageData: P4WZGs71vehcon8amO4VpBGMVmTcA+JSOLiZqAl+ZEjkKqD4rhI7QdSgP502/7HDYgyiuSeXtE5EiyLtGOt+qVCxpzvCNS3aYhx+++HOQhCFe6VM3zYCiMtiDWTfAfbhX345lnmdHzh+tL0MIqpDgg== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7e829aa7-49be-4367-37db-08d898059de6 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2020 03:35:16.7808 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VE1EUR01FT036.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: VE1EUR01HT163 Received-SPF: pass client-ip=40.92.64.43; envelope-from=arthur.miller@live.com; helo=EUR01-DB5-obe.outbound.protection.outlook.com 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:260268 Archived-At: Robin Tarsiger writes: > Arthur Miller wrote: >> I think it is more clear to use word 'list' instead of 'symbol' (element >> is a symbol too for example). Not least because docs later says: "better >> be a list". It clarifies intentions, and hopefully removes the need to say >> things like 'better be a list'. > > The first argument is not itself a list. The value (as in symbol-value) of > the first argument is expected to be a list. The first sentence of the > documentation has that many levels of indirection because that's how many > levels of indirection there actually are in the behavior of the function. > Your new text does not describe it correctly. Indeed after thinking more, I agree, the value should be a list; It might be important to point it out :-). Sorry :-) But can we express it somewhat simpler? LIST-VALUE? Is it more descriptive than SYMBOL or LIST-VAR.