From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: [External] : Re: Keywords as function arguments for control flow Date: Fri, 29 Nov 2024 21:06:06 +0000 Message-ID: References: <87y1125zre.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38590"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Heime To: Tassilo Horn , Heime via Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 29 22:07:02 2024 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 1tH8Cb-0009qM-71 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 29 Nov 2024 22:07:01 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tH8By-0003Ot-OV; Fri, 29 Nov 2024 16:06:22 -0500 Original-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 1tH8Bs-0003OH-Ra for help-gnu-emacs@gnu.org; Fri, 29 Nov 2024 16:06:17 -0500 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tH8Bq-0006k4-Ir; Fri, 29 Nov 2024 16:06:16 -0500 Original-Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4ATL6Avd021256; Fri, 29 Nov 2024 21:06:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s= corp-2023-11-20; bh=XNvO17LX5hQPYHN664cxO9OT7nLRObJdEL1VZE1kR0c=; b= go2HBolgBqEpFTVl3npJwbEmpiIplUzsrSw9C740koeQhi11g6VmL1IhV7C+o/Nz T50TSaGO9SaU0fjMDJev5kELW+wqPUoBV+srUp6a+Nj/nBhwY4DoLmy2zhPxPZtK nlfbjq95sfPuHQy8Sx3XEq9yRCJUIGdlBMtQkJlnJX1wlUelVvTWYU0yNti/d5Um 9MtjgJ+Q0QTWqnNmYacQd4WrPmh/t2iMoQQG8k8PFzoycFLJ9i4Yk1dWaP2rRy7p hQAZ5Zae+lxdK1zEOrQqZDLc/vxj+KKy/sf5MR6u838P5bY4RaYONvoVwMj/NM3W e6tK5M3jHPN4/HeyuE9VOA== Original-Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 4366xyusrb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Nov 2024 21:06:10 +0000 (GMT) Original-Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.18.1.2/8.18.1.2) with ESMTP id 4ATKb4Cs022422; Fri, 29 Nov 2024 21:06:08 GMT Original-Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2169.outbound.protection.outlook.com [104.47.57.169]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 436709tun4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Nov 2024 21:06:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=m8XvThOf8bby4xfgTKLhpG+SoVtVFbLVmYjCUwpHFzdCw7B8iE+JbFbDkCzYbjY4j8/dt4kxe3W/Ntk33oSvBlB98FCvsMQOncD1gcPrWEwlhx89DrJU+fSpdPY0U+JTU9Tce0+C3IkeB3JgssH7n9e1pR0V6OaNgjx5VmRjz7SvyML1lRWZU5kW49uCdnLn4hGG6r6obghZ9/wIY0MDUmUPJy+PBuUxavXEZO6D5jnVNemkK6Nj7NctRCHnu85kr0Wqq4VZNwgzIuncbzv/9jLxDGZ0WgjETQloEC58tuHzkybt2+/CKo0ZB+ia3zLcKddSo5VqiV701lFoglwLLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=XNvO17LX5hQPYHN664cxO9OT7nLRObJdEL1VZE1kR0c=; b=sErD2gf2zE2ft1ZCMO6OLjk41CEZ7N+OYGOAA5J5osIqQNngjE+RgE262YUGlfn4dLDp38g1Jfx9LjVBqb2b03otTvYFEJGZXLyDezOvUvBRZcRlVu6dY7YN4Wfodi8ClumFx91PzrVbqutYzAq7ipM+7zhpFGRUvT1hyUBgDZHlqNWycbKLbzIA9k8fPpbYXYaj6FztFcH4JCNBm4RUm9w4S40vUZf8o6qQPlNzeIuQyeTWMyh6eAs6b+MZAh4CWSmuupQY9w14Va3Akrt2oFwdKnXWTZLyir3cloto8ao7ih5F555RIwJS+g5YkI6g54hgWxvHv/bLUT+aJerlhg== 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=XNvO17LX5hQPYHN664cxO9OT7nLRObJdEL1VZE1kR0c=; b=ByVPmV/sQHLw3qL7FQNHCh/ExhVA32al01qf5p9b4B4RUXD7k18ZxJFDmmPTjAFLR0EypZJQIwPIMRQ7ii7B0iMlHBSoWYGkWHb/fsyRjjs2lfTNSryzBsxOsRD6VMZ1vslIi5OqXVwpsJsQVy+msqDn9bePlp1OlyBK5dFxtpE= Original-Received: from DS7PR10MB5232.namprd10.prod.outlook.com (2603:10b6:5:3aa::24) by BN0PR10MB4950.namprd10.prod.outlook.com (2603:10b6:408:12a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.16; Fri, 29 Nov 2024 21:06:06 +0000 Original-Received: from DS7PR10MB5232.namprd10.prod.outlook.com ([fe80::8303:658f:14f8:2324]) by DS7PR10MB5232.namprd10.prod.outlook.com ([fe80::8303:658f:14f8:2324%5]) with mapi id 15.20.8207.014; Fri, 29 Nov 2024 21:06:06 +0000 Thread-Topic: [External] : Re: Keywords as function arguments for control flow Thread-Index: AQHbQiasitMdk80CjEmd7D7r+M/5LLLOv12g In-Reply-To: <87y1125zre.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS7PR10MB5232:EE_|BN0PR10MB4950:EE_ x-ms-office365-filtering-correlation-id: fb886ab6-f37f-4499-ebfc-08dd10b9a427 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|366016|376014|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?Q?cHNodhBy9kwSN2ttN60nmAqjJYva4+XjakeCg4GDvoQpiImm/Wzy4o2NRI?= =?iso-8859-1?Q?hlh2LOsFklnpT8X5sFnxVNUG5A9MiqxFmUI0jSNBOTo99Twdk3FVl/1vVY?= =?iso-8859-1?Q?BjgIZryWW3aqAAKplr9lRLhF3SY9Y7ivZ2gY5E42uJNMHykMePM+l6JTH2?= =?iso-8859-1?Q?liVoP+Cf5gBHsnE7eGkzmL8qe/4TLs27fDCiEhfGi/X7JzSDeKuVCohShO?= =?iso-8859-1?Q?N5aFzbQtMK7OBcA9Ymf1KmLxmCkLG0V6KLHyIpi4+w512XAJd16sb3N5V+?= =?iso-8859-1?Q?VomDc/iJrlUmBB3JgI9iXfOrbPXHdPx1lJvN/SdyN0XtYtdOKhx2aCM8y9?= =?iso-8859-1?Q?uQNrjPavAeG9PWf0IZg9m5fONFGjgAsx3vKdrjylcn25i+P5fQMizIDZ/8?= =?iso-8859-1?Q?8bWtXUxx3gfvvTlck8i3HykGrxnjQJR5oVGTjOsm8Q/oGrNDwfFN+Uv+HF?= =?iso-8859-1?Q?Pdi/V7T0P7qTaGnCr8dzUHFemibiBjH6imy44SSj/IrnVnoAktWm/lZ+kr?= =?iso-8859-1?Q?3ULYKo3Q69IcW8O+Pd/co0XWutWbuROtime76Xi4tuU1jgrKbz3809kXd9?= =?iso-8859-1?Q?CyxT/Lu2zQUpwqLboo29uLqOIUKAaELiqbDq7mav6+CVW6KkMb95kjcbrS?= =?iso-8859-1?Q?NYg x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS7PR10MB5232.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?b7xPfvjDOApLN8Npw4Mlh7qrlz7FpQE/0/gn+Dcf7hdZNJX/FmzgqMbopv?= =?iso-8859-1?Q?2NWm+JxwUzINJG9JUSdLeRCbdY2xcd4MHiC2ghb5m6SB6Zbq5VzTpVloGf?= =?iso-8859-1?Q?olEFGa/eVmXHZvBG4yPDDjiIuyUbqJ0ZJklA4d6sK9Kck+cCPWYXcfKz7q?= =?iso-8859-1?Q?Uo/wlwyKezJdYm4NRCFQR1tgREVUA8yMLkPAEo2o4ZDY7x9lBA3LY07voK?= =?iso-8859-1?Q?ROV3B/Ac7OCrmAn1he1j4+cCYvp0ZssTu576/iQKV7YLyDF1KuV4HLGiUD?= =?iso-8859-1?Q?U4HysrJDoQlqKVBmwcINYsx6wpRwI3KwHNDyH22dfYEn3KUb8aCDuG77cV?= =?iso-8859-1?Q?8rfalxnsKFcU/tQtJDPrlQUt5a64A7gqoip+SyY8oMPR/FzVYTMtFccf1G?= =?iso-8859-1?Q?0BWvCCBp7mbcSnvrK+kDUCU9sj5A0XBFtXvX5+vL7RqCUhImTg584bmONZ?= =?iso-8859-1?Q?Lxf0JmzQCoHSlQIQnV8LK2K55lHZ65pyMl6tSNryrOo0ik3J58OrPKc3E6?= =?iso-8859-1?Q?At2IfiL7z4nfQHxNzGV8cKaqiD79wCLTHTi4BX8ifY8Q8Oni4iAqJWaCv4?= =?iso-8859-1?Q?oO2fPwg475uOpbLP3g3mSj0Ds3zngTlM1cNtH2CcqBXyIZnlonIk0V+ff6?= =?iso-8859-1?Q? X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: CwkDK40HCAHZK76cbPfqeVz8b9v6q9KBohNDNLBjReIhoEX+Ss4OATcIrjvxSjkEFyvsMDX/q4oRlt3T8lDH9KxlZXpw+WXqIKo8u66yT6a7kH6TJPR2KUpRORpQBSRJ0stkjGrKZZhUILr4wecjDaf4TEMEtwz7lABlDJxoKIwrfCw67UH9fTSYlgvj0gsCR22k2HBP2ZN9ttgeIuflYZB8bgGDfJCjzUcU6UndnVwkJ7wxtr5wx75mV76nZJHTzjMLckBKFdsK7ynDl1Lv1CoP81DAmKStDrYYcmM9FK58eaea6FV07At87fftaf3k/18zOpSJjnm+YxQkN/nHqf4dcBk+D7wPI55qmW4Uhlg9SutICaAl5b1FAV7VZ9nKFXkoI1SqoOpI3RYaSPJ90buIsQWZ6FU6UzPW45dyQrujcPuTn4WO5iXN8lLt1M+/W2+4SihSDMZTrvRR8hY6ecAwjY994FtlWRf3eWifWwVIG73C7ohS6VrjGS2AZ4V5V/zemdg2og/ph3If8v+qCJNjVkOM81mcr+7/Ty+QBg6B1W7F8/Kyay44djiJz+agN5EoVkUXCijjhDeNz33YO4fE8kd+KShiGWQ0P5tKOjU= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DS7PR10MB5232.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fb886ab6-f37f-4499-ebfc-08dd10b9a427 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Nov 2024 21:06:06.5172 (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: z28obL9uVZUsOlPiiLq+syRlYFOjrcDtHnyduaDQC+JVijeC2dz+jRXfJ8OzxHb7FKakfF7GZKYiS7tZVUjYMA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB4950 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2024-11-29_18,2024-11-28_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 spamscore=0 adultscore=0 mlxlogscore=787 suspectscore=0 mlxscore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2411120000 definitions=main-2411290169 X-Proofpoint-ORIG-GUID: tyQ_uqDxIGZrgvWyGIFja_A88VV9IP8- X-Proofpoint-GUID: tyQ_uqDxIGZrgvWyGIFja_A88VV9IP8- Received-SPF: pass client-ip=205.220.165.32; envelope-from=drew.adams@oracle.com; helo=mx0a-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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=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.29 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148447 Archived-At: > Your example uses symbols not keywords. And one can Ask Emacs. This is what the Elisp manual has to say about keywords: A symbol whose name starts with a colon (':') is called a keyword symbol. These symbols automatically act as constants, and are normally used only by comparing an unknown symbol with a few specific alternatives. See "Variables that Never Change". https://www.gnu.org/software/emacs/manual/html_node/elisp/Symbol-Type.html That "Variables that Never Change" link takes you here: https://www.gnu.org/software/emacs/manual/html_node/elisp/Constant-Variable= s.html where it says this: Function: keywordp object =B6 function returns t if object is a symbol whose name starts with ':', interned in the standard obarray, and returns nil otherwise.