From unknown Tue Jun 17 20:08:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#60432 <60432@debbugs.gnu.org> To: bug#60432 <60432@debbugs.gnu.org> Subject: Status: 28.2; Doc of `defalias' Reply-To: bug#60432 <60432@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:08:46 +0000 retitle 60432 28.2; Doc of `defalias' reassign 60432 emacs submitter 60432 Drew Adams severity 60432 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 30 12:09:42 2022 Received: (at submit) by debbugs.gnu.org; 30 Dec 2022 17:09:42 +0000 Received: from localhost ([127.0.0.1]:36048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBIt4-00050v-A4 for submit@debbugs.gnu.org; Fri, 30 Dec 2022 12:09:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:54748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBIt1-00050k-AL for submit@debbugs.gnu.org; Fri, 30 Dec 2022 12:09:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pBIt0-0001UT-GY for bug-gnu-emacs@gnu.org; Fri, 30 Dec 2022 12:09:39 -0500 Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pBIsx-000454-RB for bug-gnu-emacs@gnu.org; Fri, 30 Dec 2022 12:09:38 -0500 Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2BUFww3Q028753 for ; Fri, 30 Dec 2022 17:09:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=corp-2022-7-12; bh=mU9VqXPLpIOGmb7gFZLvru257I9yjfFYmsqi9IGTY3M=; b=Qc2LiWC/x+IRnx3DtdP/zeLUqsdl9zD3vP64ijP7MXfDQsl0dUQrABMMN665YG3JLyls GrYCgmmw/9Ts7G3NbM+Bp99u+uxpbPY6CX9T6K5LC2lLhGUSgso97i3nqrkrMohVfKtw HsiGM2+NnzoPdp3FC1E7gqww615p/u3D33fhRJFdbiIhBEyPEFfy5zFJOkh8fNIEK8/Q 7uUpso6SeINkV/CPAbpewscdMUZxyZS3X5KYRZzGRrkrDhE7JaWbg7lZVXd0mZWFTGk/ xSHJ7ZRT/HPO5iJVCE+T8WpZemkdgrTFQANkoDGCcV016MmQ9+4SPAHClnmiSEZBAX6T Rg== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3mnqudgcpm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 30 Dec 2022 17:09:33 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 2BUEZ5nW020408 for ; Fri, 30 Dec 2022 17:09:32 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2100.outbound.protection.outlook.com [104.47.55.100]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3mnqv81k4b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 30 Dec 2022 17:09:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cnI6HFgyvZYL1icAaKanqaEhKJV/Fg1sFnhELKC9nIsyb2bxMewi9HAb7EX+UiTidXMki9tqN0K5iWdsW7taLGr5VtEDcIHd3Gqjrjfdu3kwumSmgZgXZs6eiQQ6PGdWjU1K5Ldy1mIF1qDnHsDHu315PFn5QuxX/ve9nh8edpBTNc5j9VXxD62qdcDvbl/zfxURdZd7gS65wp7UAICuTAvkkq5g6BXMx2MrdwodlNmWS/rQ/XDmYXAiq+7dlQTRtUl5pkImkMJR0TVEG0nMga7aGu7uL0vPj+aPLr4s63ZD7+jE87OHuJDZQ+yVZfEr3FOpbh8qJvONGnaIIhVz1A== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mU9VqXPLpIOGmb7gFZLvru257I9yjfFYmsqi9IGTY3M=; b=Gpu+0wBhR4CYHMwoN251xs5HlXalKToS9jwpZbx4hlTh11/9rXBeEio3xZBEwIdxiPBKr2kjvf7CPZoMMgzGx5v2txyCWzijQNYHMl2pq0XVAqQTo/tPkO+3VY+BGM+qhXFG2cRojW0Wrdv4wYDaEZ2R1gmGWKIX2EeXH2xMyNS4Ko+LFE32K3xRvQe4pYvoSsU/yySCtb0jqkB+Ign8skGvm0ElwNFz4l6amaWKpW1ZFoZq2KiR2X9ufNGl5abXhYkljS6koX6gSAVhURTdQ9vxVnfg9mOgBtGMLMhoHyaUN+pX33xlys5nJxebHzp7bNsdXnF19gQjDCF240E6Ww== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mU9VqXPLpIOGmb7gFZLvru257I9yjfFYmsqi9IGTY3M=; b=FS6uHJ3acUlyjkWb672YDRcLYy/haLROaIGFZsL4zTWpj6XqhgeYQm3jH88EUpgB1OklD+V1QDA4yNWfV1WBs9+kAkdUBtuV45SMCH9OJymWt6Ng72Gp2p/XrbLeLWrSu0ZvFn1BmcS1XCaD+NQnlRjUSqXEwWmetxumn0TsAXc= Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by SN7PR10MB6407.namprd10.prod.outlook.com (2603:10b6:806:269::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.16; Fri, 30 Dec 2022 17:09:30 +0000 Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::7c3c:e53d:5276:ef29]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::7c3c:e53d:5276:ef29%8]) with mapi id 15.20.5944.018; Fri, 30 Dec 2022 17:09:30 +0000 From: Drew Adams To: "bug-gnu-emacs@gnu.org" Subject: 28.2; Doc of `defalias' Thread-Topic: 28.2; Doc of `defalias' Thread-Index: AdkccW6nLxwKwrA/RFq3mp6LrtX3mQ== Date: Fri, 30 Dec 2022 17:09:29 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|SN7PR10MB6407:EE_ x-ms-office365-filtering-correlation-id: c123be92-b243-4b4a-0591-08daea889d32 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3no0Z+EOjCQvP7347oKiaisZD7oF8fuZL0qGzyQCUp+YZvmjHaXJ/vOBrSzuLsWww/x0rGqGuFbmUIt3IX2y2fdcgfFIwdZBomufJxIxrtZhBkgCGk6jyvwWwm3dz/LxIZZ1Xrb8HY9h8GrEuw/0CnTDste6EKcSvprg3itCAhqFI5bfmtt/6JZBp20IEAy9TWtHkjOWKs4j2n2DVDx8u7iYktx9fi7aqJmZD5FDLYqYIrznfqvMVToYkcRHnGW6zi6YIzoP5DXfm1o7Sy7SS+SGt45/92e0l9vl7g6AevnvBqg9Hvz8f19Jqy7yArCP66p1BN1OOCKKVSLDI1fngV/Mc3ISJNDqmtn/N9KN2N/nPOWIdugU0wT0VCRoOQEWb03YuvTNFxWmAjeM7l6uyL8QdQ9E8egVj7aBhCrdHCz2sInLAlWXxMNMsQrhL2jSGD7peo9o7RpL5/66gVp7lOiR70Xjt/R0gAuRhblK9KX+xFP0+vrCcAVZk1hvwY2GkM/uSSSS7PxA55IUa1XHvpswlwZPf0xmtYrAxLIkCwNagIRK1Opwrw9AakAy59eQVjX3tbji7XPwjwwwenDi0qGoa/LbDv1/YJ1xZ3PmwAAYtCMxUyL4uvrdK5TZp3mxiP4EcGyxH6NGyZY6GgS5KT91tz8fChE9eyqqN5rkr7W33S3YMfav1KSyJFIAzXyRsuLxjfCq3AT/2tnCg/qSELG33sqFKddjnUftFfoa9mk= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(39860400002)(346002)(396003)(376002)(366004)(136003)(451199015)(9686003)(26005)(186003)(45080400002)(38100700002)(52536014)(33656002)(478600001)(71200400001)(7696005)(38070700005)(86362001)(6506007)(122000001)(6916009)(66476007)(8936002)(55016003)(41300700001)(66556008)(2906002)(66946007)(316002)(76116006)(66446008)(4744005)(5660300002)(8676002)(64756008)(44832011)(81973001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?A5G8JgPHtD0avILQggAQGsKfhPJrqBzCjyZcaAMVn/vKrq9RurF8Nz4C3sCV?= =?us-ascii?Q?BG4TgerzRrJOEwNhxgfi7PTAN8PqjpT6FfS4afSJLt8tRgmwlVCh7US0VDeY?= =?us-ascii?Q?bFsC8qBd10jHc9fOgsJEW1dl3r04iOg13dy/kgpBkZIOUXqX/osuLvICZMbm?= =?us-ascii?Q?KV7LjG2Hp+lpdBpqjgV8MMC2xW4NpoQW0JlS6OmnvtwCxfAOU/VloOai8Z9N?= =?us-ascii?Q?4rRoCnkcGlOxFBMP98pdFAYZ8iJeRhCiFtzSvZZIHvrlARAVDqpMkrw62ej0?= =?us-ascii?Q?0jf0+PyjFc5kzwKBQgeidqxV5KkEdjYz90XuIX4k5T1OR2BTODV6GKBKKMWs?= =?us-ascii?Q?yorHi2S2UDmkrW4dl1ViAhXzbVyGv8gNLjfA5O2feBpSYIGIJYXvZgjYrjIo?= =?us-ascii?Q?O043rNvkeQpVprJDxbsmqg6rKxuMfLcQO6Z5wfkrSqPRbagn62zB1DT1rBc7?= =?us-ascii?Q?J4ndmfIb0Mh6BX75pCPO9wwJ6vezHKqoS0wi8SurFPiQIL8u1Npl0KD0t39f?= =?us-ascii?Q?mRLNJfW+HOoNCOog/gSB3iUUmdvzf8e4fcnbYqvQ9skmzkc8M3oVzx6U7oSM?= =?us-ascii?Q?/eTm96BhNMduygp/2uxEGiuD753zAugQCYfzhY9yQDOPQUs6a+YK7+XvYfFp?= =?us-ascii?Q?+mcncqwSr7uXOJi8eDWdjsnwwOnLM301qLS0DbW8i1U9InpP2OqiuR93Sw75?= =?us-ascii?Q?uWG2kbrgIgz6qjm+y0EM50vtKsXr8OaXn2N6CpgiA+rAbL9aa1gS3SRvrv03?= =?us-ascii?Q?WKO+9hszXKNyqcyGKx7rGD1wH/qJFsEJjzQBWQH8QUTkzccmH2xv4nWGWMwf?= =?us-ascii?Q?H+YMTWriQaCyq4CfqdIxMA9d66aBAlwkzttxHsSNqy2Uui0gjCus6qpT5zNy?= =?us-ascii?Q?K9NfNBxeSyF7QwmQuSxP10tKCSm+jc0xvDpmLwMfaM4t0WoajfYUsa5lgsem?= =?us-ascii?Q?RenjK/n4z8ZoakM5HzxFwHhTkk48voE5Vw8NP7vQVPcZk25/Az0HbwgYgr6M?= =?us-ascii?Q?sgSvb49L5c8K8WX0U9ds7ILJeBzP3CLFq1/JeT21aOAuR1+EDa4ehRSkr7p6?= =?us-ascii?Q?xk5qIFx4DfJ513QERHaRC5/XWfQZ/EKJyu5rqAxdfhxhMRpnxVnVgS0hDXRy?= =?us-ascii?Q?NW15hgAMdkSHT3lqh3BDXZDYzC0L+SM84BufdYvSB6OdtbL3I1zc97MI0cNi?= =?us-ascii?Q?Sg9aDsFm3VMBX3fjwDEG4vibxyeNl5jh1kkbJYRSyu62BJbveSgZ/Bxd0bma?= =?us-ascii?Q?4TCcx6ygGwqVRe2z+B+zeYSdkC5Ih8RjWfctklqH5XaooaeBTSkcyfv/jauD?= =?us-ascii?Q?KArbrKksxcVF73T7yJ7ghedp861Cddqy1G2/gB7OhYBDjJ03Bu2gkWm3eKzt?= =?us-ascii?Q?RuHApGWMULfE8VqeSvSU6oDWDnv3JRmhffjz6tSCBKCT0pYWF9CE3g6Ja62c?= =?us-ascii?Q?tgPTKBvBW02HuqvSHBXtYGtPl9vDtWO5tedF4Ra1+Hc/IlynEnWZOA3b4MwJ?= =?us-ascii?Q?tipQchEX7AQTo2wHzpFdy6DOofShhzADd6YvfdIgnaAPcc2KvHKb1aAwD+ou?= =?us-ascii?Q?8YrWnFLoxzQTutSWgMq3MkCiQUmP8b2RBMI0fxZZ?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c123be92-b243-4b4a-0591-08daea889d32 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Dec 2022 17:09:29.9630 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 0giWHYqRa5sFIFhxyE1XTnyl69MWBZBwSFIowzQZe20YXEMnYOK5hCDehB+f5GIosz8cEfriiXw0F/Oh2L6C7w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR10MB6407 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-30_11,2022-12-30_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 phishscore=0 mlxscore=0 bulkscore=0 malwarescore=0 adultscore=0 mlxlogscore=503 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2212300151 X-Proofpoint-ORIG-GUID: T38CNwBs-XzlKg3gxAl0bFQ3DOy18HAa X-Proofpoint-GUID: T38CNwBs-XzlKg3gxAl0bFQ3DOy18HAa Received-SPF: pass client-ip=205.220.177.32; envelope-from=drew.adams@oracle.com; helo=mx0b-00069f02.pphosted.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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) The doc (doc string and Elisp manual) doesn't make clear that "function" in this context applies also to Lisp macros. Please make that clear. In GNU Emacs 28.2 (build 2, x86_64-w64-mingw32) of 2022-09-13 built on AVALON Windowing system distributor 'Microsoft Corp.', version 10.0.19044 System Description: Microsoft Windows 10 Pro (v10.0.2009.19044.2364) Configured using: 'configure --with-modules --without-dbus --with-native-compilation --without-compress-install CFLAGS=3D-O2' Configured features: ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS XPM ZLIB (NATIVE_COMP present but libgccjit not available) From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 31 03:45:58 2022 Received: (at 60432) by debbugs.gnu.org; 31 Dec 2022 08:45:58 +0000 Received: from localhost ([127.0.0.1]:36527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBXV8-0004nK-AS for submit@debbugs.gnu.org; Sat, 31 Dec 2022 03:45:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBXV7-0004n6-5C for 60432@debbugs.gnu.org; Sat, 31 Dec 2022 03:45:57 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pBXV0-0000NV-CH; Sat, 31 Dec 2022 03:45:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=L4ydCuQSg4dMZuF2UHRMPVW3PwqVJkPWXb8KiYkWgCs=; b=kghyYueZirBA RuEOVZzEZ0vZbtsQ9wxJpKzbp36DsH/21VGlTmCxa07qdJupxQQ63pCxJ0kM3O4JR2OERAdjiBLGF yQH8EQqs9ae9FwRn+que5MpiQfi97kx47bOx/RFu/AqgGqwagnQQAUU+mFtxsqbNd1Z+qy403JGJ7 0c8DiDWz3BqQSjj7Ulvuys02pedmUFOY2Wga1pwCJLuuYP6bxyc4aXbZYJewKYdN/m0xV0Fblf3vM AgbH/yrUtXaUmDwmsfQDXD91ECiI7lpsmR/7/Ho4yKFN2PJG+noHOEVAjwxP/6haYTtulIlgBNdSv HhlafmxFI1qpAgnsl1R2Wg==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pBXUz-00084a-QC; Sat, 31 Dec 2022 03:45:50 -0500 Date: Sat, 31 Dec 2022 10:45:48 +0200 Message-Id: <83v8ls3qrn.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams , Stefan Monnier In-Reply-To: (message from Drew Adams on Fri, 30 Dec 2022 17:09:29 +0000) Subject: Re: bug#60432: 28.2; Doc of `defalias' References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 60432 Cc: 60432@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Drew Adams > Date: Fri, 30 Dec 2022 17:09:29 +0000 > > The doc (doc string and Elisp manual) doesn't make clear that "function" > in this context applies also to Lisp macros. Please make that clear. Which part of the documentation doesn't make that clear? The references to "function" seem all to refer to SYMBOL's function cell, where SYMBOL is the first argument of defalias. The doc string says nothing AFAICT about what DEFINITION could be, and your point is about DEFINITION. The manual indeed said that DEFINITION could be any Lisp function, so I added "or macro" there. However, I wonder whether function and macro are the only kinds of DEFINITION. Stefan, what exactly can the DEFINITION be? From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 31 09:38:48 2022 Received: (at 60432) by debbugs.gnu.org; 31 Dec 2022 14:38:48 +0000 Received: from localhost ([127.0.0.1]:36873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBd0a-0003Wz-5d for submit@debbugs.gnu.org; Sat, 31 Dec 2022 09:38:48 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:32574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBd0X-0003Wi-Jt for 60432@debbugs.gnu.org; Sat, 31 Dec 2022 09:38:45 -0500 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id DD33780DCA; Sat, 31 Dec 2022 09:38:39 -0500 (EST) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 305CA80893; Sat, 31 Dec 2022 09:38:38 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1672497518; bh=A7B8LDv8HrbBipj2G5ibaIulf2sCJCkkKFG7GPwg4Gk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=WeHqPj/E9fMIqzZkqzNxaIQ1Zbod2vtNhsljTqrH/ZOGQwRvZrs8YTbcXGsGqIxq3 chtC1Lkq19RIlhzszoq7yg5QThJcHlr1KBHhbxGLk1QkhYvLTMxexCvbdUtxaKlAdb Ss+HDQG5odzBBImiKWAzBmnNH+KM2trfFfjSEfLJ6fkqnxvBJc7g7Zf0f161OQ7tBm Vy3HUmZ41DayqQRHbV42yz3z7oPbOtwOhm64rInCeYamQ1rElVPaQ5YSpsntZEMgGZ uOe5HVAcMQxBQarVIYy/Txn3p6VgTLFur+JVDa5CFnZjhxVKeMkvW5tOCH09Dn4EHw yDdm8l36Vvmsg== Received: from pastel (unknown [45.72.200.228]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 06F601209E5; Sat, 31 Dec 2022 09:38:37 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#60432: 28.2; Doc of `defalias' In-Reply-To: <83v8ls3qrn.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 31 Dec 2022 10:45:48 +0200") Message-ID: References: <83v8ls3qrn.fsf@gnu.org> Date: Sat, 31 Dec 2022 09:38:37 -0500 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.346 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 60432 Cc: 60432@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) >> The doc (doc string and Elisp manual) doesn't make clear that "function" >> in this context applies also to Lisp macros. Please make that clear. > Which part of the documentation doesn't make that clear? The > references to "function" seem all to refer to SYMBOL's function cell, > where SYMBOL is the first argument of defalias. The doc string > says nothing AFAICT about what DEFINITION could be, and your point is > about DEFINITION. The manual indeed said that DEFINITION could be any > Lisp function, so I added "or macro" there. However, I wonder whether > function and macro are the only kinds of DEFINITION. Stefan, what > exactly can the DEFINITION be? It can also be a "special form" (e.g. what you have in (symbol-function 'if)), or a keymap, or a symbol (alias) or a vector or string (kdb macro). Of course, it can also be any other kind of value, tho in that case it'll only be useful if the symbol is treated in an ad-hoc manner elsewhere, since "normal" use (such as evaluating something of the form `(SYMBOL ...) or adding SYMBOL as the command to use in a keymap) would then lead to an error. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 31 10:03:23 2022 Received: (at 60432-done) by debbugs.gnu.org; 31 Dec 2022 15:03:23 +0000 Received: from localhost ([127.0.0.1]:39616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBdON-00051g-6D for submit@debbugs.gnu.org; Sat, 31 Dec 2022 10:03:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBdOL-00051S-Fl for 60432-done@debbugs.gnu.org; Sat, 31 Dec 2022 10:03:21 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pBdOF-0007cy-GZ; Sat, 31 Dec 2022 10:03:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=EhRb6kWqhyaE5eLXIwXoKFt31zxQzCgopSNM8TOqlcw=; b=WkMbPA7O4OPr h3u9djKpA+p/ICziJmv/3kx114bmfCE3Yu3Jnjxqm9hX2biHxcPsWCRiPi3lJpsNCPn2w71ryjomD EaG8YrqQJKEfYVtVF0WCl2SaKrH56wEc18PPY1ZdEbcsR/rbewqPpoa0dyErJcn+DQDSgKtpeFlq4 ICotPpjlOKw37ql7Tc+cmF1+RSm2oTkYMJCp4ULwclwU+sdMYvD6/AMRT88Sb/Emim27a/6SBEK9j WLNG18mFRzMFy5CIOby8yPndEFwztt7JVRrxTFTERr8kNGkCqL2ppNfvk+gWJGdYP0pHigX9LTRoT VKgvGoSOEMZSmXkI+IQe3Q==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pBdOD-0007Bx-UP; Sat, 31 Dec 2022 10:03:14 -0500 Date: Sat, 31 Dec 2022 17:03:14 +0200 Message-Id: <83o7rj4nv1.fsf@gnu.org> From: Eli Zaretskii To: Stefan Monnier In-Reply-To: (message from Stefan Monnier on Sat, 31 Dec 2022 09:38:37 -0500) Subject: Re: bug#60432: 28.2; Doc of `defalias' References: <83v8ls3qrn.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 60432-done Cc: 60432-done@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Monnier > Cc: Drew Adams , 60432@debbugs.gnu.org > Date: Sat, 31 Dec 2022 09:38:37 -0500 > > It can also be a "special form" (e.g. what you have in (symbol-function > 'if)), or a keymap, or a symbol (alias) or a vector or string (kdb > macro). > > Of course, it can also be any other kind of value, tho in that case > it'll only be useful if the symbol is treated in an ad-hoc manner > elsewhere, since "normal" use (such as evaluating something of the form > `(SYMBOL ...) or adding SYMBOL as the command to use in a keymap) would > then lead to an error. Thanks, I updated the manual with this information, and I'm closing the bug. From unknown Tue Jun 17 20:08:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 29 Jan 2023 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator