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: Printing alist pairs to a dedicated buffur Date: Thu, 25 Apr 2024 23:38:19 +0000 Message-ID: References: <87bk65fpsz.fsf@ledu-giraud.fr> <87plukbbod.fsf@ledu-giraud.fr> <87jzkss5w8.fsf@dataswamp.org> <87y1919iu1.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39268"; mail-complaints-to="usenet@ciao.gmane.io" To: Emanuel Berg , "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 26 01:39:35 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 1s08gg-000A2A-PJ for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 26 Apr 2024 01:39:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s08g6-0002HA-He; Thu, 25 Apr 2024 19:38:58 -0400 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 1s08fh-0002Ev-7T for help-gnu-emacs@gnu.org; Thu, 25 Apr 2024 19:38:36 -0400 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 1s08fd-0005GU-Le for help-gnu-emacs@gnu.org; Thu, 25 Apr 2024 19:38:32 -0400 Original-Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 43PKremn013297; Thu, 25 Apr 2024 23:38:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-11-20; bh=TUu5y54RBwEdvESHi66gQAAAeJqodIm/x7ByNfOe8fY=; b=TB0WxOX+dYZ0RMcubwaqvMK8YTBcLPExrE6NLGfVytDNuFKhT39A0F84psRN2f3Dhj2e VypczcdCjsmFTC7rrA6zfhw+ODD9UmgW2ZiBeiIawsF+h/8vLLjohQ8MT/AV1MgOn+lM sJtAe+xDURoEc7cp27btUodOVVrYDOO426gaDUB+4coj6Wxl96x8+UjcpgcJJn853uIm c7Z7IWh+e1s6MSsH9h8fm9fkhBaRaRRSV8PqSZ2fjIGSw/mJ05MHcKpM3nJw9teJADll tSiZopc5SfFzyMUnYpExu3UxFnxcNhwFGV+X/pIe3rtcLpuhod5yair+OIiSYRQ8DGhc og== Original-Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3xm5kbvv8k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 25 Apr 2024 23:38:23 +0000 Original-Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 43PNWFPx006171; Thu, 25 Apr 2024 23:38:22 GMT Original-Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2100.outbound.protection.outlook.com [104.47.58.100]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3xm45b4dmd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 25 Apr 2024 23:38:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TI0CIqhF5is23D9Sx9u0kC/2ldkrpITAOYtn8uoSKlEkOo73EXyz4gxLTMYpN+J0+GAkufNhEDzK1uNQJKVRTZvPvkyczzA6S90z9+He2fGG3XQ+on8g8hHIp7aM43ZVn/GnDhn/5bvJvSmGF/Zr5gf1kXtqB3P+n0yzW8c1qiplrcKLYa4fCIImrizDlZsnnhtG60DVoRCEElM0ksNezw4YOVTMLYmt3kAf7Y3BZEPLyE0sPy2J7npeRlM4h9LvmBrGGO6U+zoHMsfurS71CiiAUgCXuD2BzVZtJonsGjsyGhTMXsAzSiOXTOi5+pcnuLRsUbiPWiBZafSlqP3TVQ== 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=TUu5y54RBwEdvESHi66gQAAAeJqodIm/x7ByNfOe8fY=; b=keOfjz19Gc0a2YDcCaziTeAr6UxyrCHdk5mRZ5zrKkMohFDSD9KA2xxGcZHlnRJLURwzE/YgBPLXC5rfP/Y2RKT2R5ZdDBgo4SgwQIC+XnNlmzw5fbeb9U/7EAGIU3ONlb6dX4vTa5M8ByBDG/SyrLAftf58C6NEmXOdm5j0QcpGskhOaktsqfaQo6tgTsvjODhWk0yfiswAvVuk7WPos/xUaT9YzzeSrN9htvEGdyMiOP4g2Q81zYZ0uo1oHBuIYn2GAm5TQ8Dj3nlaDLKgTCQkkImmoEQldUrLqXA6O1RMF1WL6atoSM7r0vyKkKh1QFcbnBu7q2VV4Fb3hF79DQ== 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=TUu5y54RBwEdvESHi66gQAAAeJqodIm/x7ByNfOe8fY=; b=x8iyBqwmoqYirAP1uAaKUfZwr/QUkqD/2rfBMIznwc8XaI3NS49Gm7waTHeXHBj4q11bM0j9ft8zhVaC0AGhvOXyJHySx3znOwmgdUWGmxy40PXB0rBcbo5z3tUs5wADClbpPXvvsmNL8ljlusWMhULOD8zQ3FTPSopVhE5mFYM= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by PH7PR10MB6333.namprd10.prod.outlook.com (2603:10b6:510:1b0::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.49; Thu, 25 Apr 2024 23:38:19 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::380d:4e6d:faae:a72a]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::380d:4e6d:faae:a72a%7]) with mapi id 15.20.7519.023; Thu, 25 Apr 2024 23:38:19 +0000 Thread-Topic: [External] : Re: Printing alist pairs to a dedicated buffur Thread-Index: AQHal2AaUHaCjyEmjU67g2MQfSZYy7F5ok2w In-Reply-To: <87y1919iu1.fsf@dataswamp.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|PH7PR10MB6333:EE_ x-ms-office365-filtering-correlation-id: 0bead623-6dc6-430c-410e-08dc6580c9a3 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: =?us-ascii?Q?Ou4CCW7DVl6+S0mbxktkVO75/CnaW/HR4QZig0vEquSXOarHcCLrntFB40R5?= =?us-ascii?Q?UPLIqG1igQDkl+kAQFTfNygxa6pJ77bHVc8qYxWLzSTjMuWNErx7sXUgmG2I?= =?us-ascii?Q?qbO8ZT9BS7912V+dDvRaWm7ChV07OmEsgfED2A8UbxPlcTin4utGxy585Jv4?= =?us-ascii?Q?q/iuY99GjBNwvymih06T4vAZ5Ib50fspMpm2w56lTx2W/MR4ffwRgUkj6/nG?= =?us-ascii?Q?wX5f35kfkCNdzAggtS3tIMBmStL+liX0pkBCJvuFtukbRL4/j3TDnsvy1yp8?= =?us-ascii?Q?PgDixFy+MryommoeXx1nQDi885wXXTD3VSUYwAu2d4oAVYC45OZ0hI1JL4U6?= =?us-ascii?Q?5KoJEomhiBFkqgK0OnNia5Jgd3ULG2So7mszWvNLbkI7yvFPpgkrePwGOqt7?= =?us-ascii?Q?AToQOHtCnm4u/6AGvp/koSKti6/Bhb9VhYdFKaflgS6zArZImF9RrQ65TCef?= =?us-ascii?Q?xDCxRTVErPGakpGmu4VdWBFHfzkKNX6sla6fp71dRqKyQHICG4WXzB8R9Fv+?= =?us-ascii?Q?aWecO9jpMJdGQpE2i6vn7iKEHWqTsfPQgoGEb1lWKxQv532nr3m14j5h01dC?= =?us-ascii?Q?A2pOJrV85hjjUTk7Anmbq8UbMWBLj0hoyYHnZWHITD9WNMFq9a6LCoYtXIt5?= =?us-ascii?Q?VLXia 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:(13230031)(366007)(1800799015)(376005)(38070700009); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?hFv1jf++VfgXu+8hkTdMXxozUwxyAz8IdMZcQr/PEKvLoXTYOr2GdY9UpyBQ?= =?us-ascii?Q?Bm7F1cM47q5ZcOWnrsH5LSUBoA8R626Z4FDxwixayaYZsJSOTePnR+wf9ukr?= =?us-ascii?Q?H8NRQ2sGLGTQi0S5TGnL2t9NhQe88ZEA7v6MN4m44qrqV//zdO9bQgcEEF1D?= =?us-ascii?Q?PHEqHKLwpt80sX6lKZ+ko4gTbog2ax59mgfU3PqXgY64r3zzNsiP17WWprl3?= =?us-ascii?Q?JZUvQsqJOk554Wd0TAq11br6nsXfI5QVnEReHjmxsJcO5f8pFYC8QlmcHHSD?= =?us-ascii?Q?ia+6geJ+yUfhJ2hLr1HW2TAr8iwERmi8KuebkLNkd4mOTzPv+Vhi5CqL+8xA?= =?us-ascii?Q?o1jeV75J6hlwgelVJHpGQomLYC8g7Glrr8VcWcpbHWsPhaUbOCZpsveyBDdC?= =?us-ascii?Q?XoTa03QM2NKRTvxwJfLvb2XpVc0Roe9lT1fgnMADyQEVt4As+IwC2XQy9/Mb?= =?us-ascii?Q?dVm/ZnianIvWbtlEhjzEArbipAV9EP7PPkV2jvRaPT79DwzF8oR6t4cSSA4t?= =?us-ascii?Q?w2EPkph1oKV7Pw90G/4a3EHNWQbf34PcYwdRgXy9RK0+m+VJoEPbttc6HbXB?= =?us-ascii?Q?rD18dZ+6kep/j/StmLnVoPcN13UuLjetcowcrf3avh/C/MP4qtVWyBIjm4+a?= =?us-ascii?Q?J8 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: TeHBdXc1N1PmZ5rcUOh0y93EJEFal+NC7VtiAH1r6cFx17b61/WE48P6ad14RKFdoDOALhRgINbnVUr6ff8UTThhR5LHoZmxQ8AxOMgkSOYBBVsz4EC+If4+B6AtTkQpp3N+2Q3tuLCXyIqEpL5WZpMkC2hKFl/YBh/C2JnZoc2Bn0BUyDRHi9kc4hLqXemGxlh47SHNR7iSy9kk513KyCcFe4pyybyhstM2awb9BPc65NlCX61KxsAoSBUFmNVGt9vISxpkCQcxt8zLVDqHwpSxPij7zcLIkA6DiXQxgPTkM/G6kOrWvu3rnwrp2+FgiMNdPSY/Faj2VQnHWrhfUCckJYjSxNhVoCC8yHxbd+jXUsvDMzIGxVpvK46VxnDQ59udnajDZ7vfypOjaRsao8OV2qPhttFsHyZfzWF5Uek+4vskYbElzSl146XdUSrngTlb0q6JLa2fBI3k1PWbC4wOdI/i/RY2a48tBfR9va3p6jj2elWHZJM6O4kHRiuRZf0iTIO51p1t6unOcJwKA6l1BitIBEW9sAIkbtNIOU7RUhPVlYwlB0D8CnAiRxtAYLqDiKSb+KrYKxqIwHlp4YCzx3+bMJDkkqEwQBRIkMI= 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: 0bead623-6dc6-430c-410e-08dc6580c9a3 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Apr 2024 23:38:19.2639 (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: 3DkDS0NhjyOFwXdqlK9r49exUMeq+dCKqLTrGRWdfunD+YZuTAQZGy/MiGzzSBEbe+qlmu/p2xAGAiYiNVSbIg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR10MB6333 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-04-25_21,2024-04-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 spamscore=0 bulkscore=0 suspectscore=0 mlxlogscore=803 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2404010000 definitions=main-2404250173 X-Proofpoint-GUID: zbx0FOF1qvRbSEcaROyJXtr1MufrRg6m X-Proofpoint-ORIG-GUID: zbx0FOF1qvRbSEcaROyJXtr1MufrRg6m Received-SPF: pass client-ip=205.220.165.32; envelope-from=drew.adams@oracle.com; helo=mx0a-00069f02.pphosted.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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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:146480 Archived-At: > >> `setq' creates global static/lexical variables > > > > Not true. >=20 > As you know - > unless there already is another variable with that name, and > such as that can be present in many forms (`let' bindings, > formal parameters etc) including dynamic/special variables and > if so it remains dynamic/special with `setq' but otherwise > it'll be static/lexical. Yes, you understand `let', and using `setq' inside `let', correctly. (And in that regard, Elisp `let' is like CL `let'. But Elisp also has buffer-local etc.) > > As (elisp) "Scoping Rules for Variable Bindings" says: > > > > "By default, the local bindings that Emacs > > creates are "dynamic bindings". > > ... > > The dynamic binding was (and still is) > > the default in Emacs for many years [...] >=20 > Emacs is de facto static/lexical. No, it's not. Not yet. > $ cd ~/src/emacs > $ ls **/*.el | wc -l > 2312 > $ head **/*.el | grep -I "lexical-binding" | wc -l > 2285 That just shows that most Elisp files provided with Emacs have `lexical-binding' =3D t. Dynamic binding is still the default in Elisp. The doc is correct about that. ___ Let us know, when you use lexical binding for _all_ your defuns, as well as for defface and all the rest. ;-)