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] : Does defvar-local has same effect as make-variable-buffer-local? Date: Sat, 15 May 2021 21:01:34 +0000 Message-ID: References: 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="38715"; mail-complaints-to="usenet@ciao.gmane.io" To: Jean Louis , Help GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 15 23:02:16 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 1li1QN-0009t8-7N for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 15 May 2021 23:02:15 +0200 Original-Received: from localhost ([::1]:53144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1li1QL-00061P-HC for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 15 May 2021 17:02:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1li1Pp-000617-V0 for help-gnu-emacs@gnu.org; Sat, 15 May 2021 17:01:41 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:59948) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1li1Pm-0003Qu-I7 for help-gnu-emacs@gnu.org; Sat, 15 May 2021 17:01:41 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 14FL0EEM147929; Sat, 15 May 2021 21:01:37 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-2020-01-29; bh=7nGpYaQ4VrZzerML8y4cc79ltxOG1pHAehsB5aRLegs=; b=bYccisWf0btsYRwyHLfYt0QpAjaBoqXKMNJ9nAZNWQeYNwAGxLxALdw4gXY9Vv4ZDpB8 LdgcYuGJWhTgZAyD9hqs3+IX3OCRNOnmIWu7QswI3PmGQBi+rm72qiXBP9ydG25pbNHG DAYqN2Toesmc4UamJaL6HQYuWJ361p4UHvgkit0EKY2y/h0VefpGGL7wJ70Hpf9TlKza naeEIpE+AXtK7jjGChk4YuwVa5rjSbOaCSOTtxiUxV2PB+W5BjiEmeEB+n8eQAEyYqP8 XXm+jQPrlwKbDj+tW+F32jbiekooa8HMS4WYdY4++RcB8DETbVtFyyJVKKqsUqXjheKD Qw== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 38j68m8pvw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 15 May 2021 21:01:36 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 14FL03R1075597; Sat, 15 May 2021 21:01:36 GMT Original-Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2177.outbound.protection.outlook.com [104.47.56.177]) by aserp3030.oracle.com with ESMTP id 38j4ba1pmg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 15 May 2021 21:01:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UhA/hq7AW3RZd3x7Qj4GkTHvniOMo8Mm5PnQElqVih2EjABhlnEITIjFPvleXxo/vY7cn4Gidgji799LAd9UTAsdm+sSLGzKQbQj1kGqpKEhmnqx8FwGHAlDdppj19LRdVQkKZ+twQXfOH49Y7rwuEibqKgbaPZhpVLt47WGNw4MfGkHtisWCcqjVHSS7haErgNlCuKB+dMP1+ootqnUviCOelKo/IUSmKMHuZTcLCTqq0H2hWiUS8SO2BaEyuIRpgV8vbpkzivdgYE3YVTorvRYtayE7ikGGHFZUwg7EHx8Rfp4hCNs1BGbj3/dX2Dp2Z7+YyhVI0lRaUZbTxhKqg== 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=7nGpYaQ4VrZzerML8y4cc79ltxOG1pHAehsB5aRLegs=; b=juob0AtinKj6bWchXgkvjbDq/sQMCxho9PORPFLCj0JTvRz3hgUmONAwuCj8ALpdx5SXzSFqF8KXpNpGMr3C10hBPaOopkyeHndfz6udi7RWnDp4IzNJgvtk9UYBJiuPLzHlQKkeEv8f+uJLlKPsNNJmJqz1b8/o+JW2Jf55MELLQm5EqFTI/yo0yIp/xHIccneAtc7p3VMOBWkH9GSFAf3WS6Ec5vEQdc5aOkcTzHZ/KyA2HQGb4t/hmusXirW3FhXqV3H1xN/vmTjyAabDdguAK+A4rO+y95N5zGUlA2akmcj/g2OloRubAEPF9NlToPYr7K9fq5eE550f9DNcLA== 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=7nGpYaQ4VrZzerML8y4cc79ltxOG1pHAehsB5aRLegs=; b=CYxZheuOtDV08qoPMyIG1P4BN4eVzSqD2ExEiUi+B5EQq5mX54cxjjW4fm5hF0DSRMs0DTOrNZDzDzb1RqGpegl/rDGF0L5nhx9uOiS0IiURQZIXUyOpgaaRqZirNvxUtdlEe0cFL4QOl3o5bL9vQegn6EAKQGfbWxZPQ+B4RQ4= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SN6PR10MB2638.namprd10.prod.outlook.com (2603:10b6:805:3f::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.26; Sat, 15 May 2021 21:01:34 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::2109:9725:fd4a:6494]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::2109:9725:fd4a:6494%6]) with mapi id 15.20.4129.028; Sat, 15 May 2021 21:01:34 +0000 Thread-Topic: [External] : Does defvar-local has same effect as make-variable-buffer-local? Thread-Index: AQHXScc+GRU7dADGl0eY7NIcrK7vMarlAyKwgAAD+4A= In-Reply-To: Accept-Language: en-US Content-Language: en-US authentication-results: gnu.support; dkim=none (message not signed) header.d=none;gnu.support; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0a5acbea-036f-4962-0246-08d917e49f9f x-ms-traffictypediagnostic: SN6PR10MB2638: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2512; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dp7wXB7uYZ6WWlXvX86yfE8qEXHrey4ZlTET3NKystW7hDbhq55dR7onvxsPky6mnfn7skaoYbBXcUGjRjn/lJNK07mn9oShASu3Gh/AHGd5MzMdgiYNajKM1z0dJ/5bfl6CdVRGPu4rqasIJKEwiEPIXPNWmVGY/KgGHctTb/Q0ws1jn1Y4OweDqmITFS5NPBH9AQSPfCmPsSAkFf1oAa4RpEPCIxbU6ykxa5+YqUDRQdbEkTiaQnPqfG5UAWPJ/2H/KynXXXj05lWG1wv9BcsjDXSP38CD7Olhls7kywLhdt+PuBRiI9tzrOlRq6IaEngdB2JOJSBiI20X7x/PBhev/G2OJt128jkkcdqcf0JYexSpl+vrISx7SfU/FdS4oNrhySIscBrnlTAk1QD5LwdWFGCIKDg7rDlFsaovI+E20kyvdltZ9cn2/EH6dxxYR+RJn8kk3ePv/7e2J4yEhPgdZNOFJsDm8N7xY9r42r+BAutKlvTimglSih03gqGhWPpbRah4crmS3xvReSs+4hN9+2dWpxAjFWG0PHeYcL52g/lZKvtpUT8PWrhYlR0olP/2yL1GT0jF8255tnNA0w2Quux1QnpWKCg3dw3CXgk= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(136003)(39860400002)(346002)(396003)(366004)(376002)(316002)(2940100002)(26005)(478600001)(8676002)(6506007)(2906002)(5660300002)(71200400001)(44832011)(66476007)(33656002)(122000001)(66446008)(64756008)(8936002)(66946007)(66556008)(86362001)(55016002)(9686003)(52536014)(110136005)(186003)(76116006)(4744005)(7696005)(38100700002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?HYcsvCkxiCilngg6ER6K9uupXPQEMXRC8tPj2py2UWHW7dNYiSYKyCSaPglF?= =?us-ascii?Q?CreymR/qnqWRIiplQ+rLlux3AkYPKL6X+sMnMTtkF+WrKKqKFQXB9UPmJFml?= =?us-ascii?Q?UTjF4NTyuByioFZUnYsrAyggkQ25zI4GwvvkJPZmjkEUDgT3qsb3mQ8VLmWu?= =?us-ascii?Q?OxTEu+BpUvBvH30jwTLvLG6g8rntE5/4Wye0bJnG/yIZYx6HZUOj07rTWgmY?= =?us-ascii?Q?NRZ6gbXW0w6RPvBsX7fQL3UKcjkcO+L/iw7y5h4+N8+DI/hXwMVVOiZinGuX?= =?us-ascii?Q?AIBvfKLUeepuOcn8IEiH0WJnlLHXyI5kFviNKV75+Vt6RVDkcOqFxERgT/B1?= =?us-ascii?Q?ZeCBwpxUzLIQZxIzvHQ1tb/wPuPMGNYhSAqbKOW/lcxBW1qE17F1uFzcTAZO?= =?us-ascii?Q?9CqpV6N3GtSRsbvNQZmNvj5/31wh3qN1KtZJe4b1IRvFjlM0GE7ltGIN4som?= =?us-ascii?Q?NihnnXZrohSmKqbo3v9mswer1NKKyGz97nMZmVzBL2fHAtgNLwUzI/L+loV5?= =?us-ascii?Q?+vfX3wWcHKGlO0JQF0iMfFH6Ils84l//wwrdnOR41Hi8r5NzJgqNxEySTH9p?= =?us-ascii?Q?98LNOnEsP25G69mMkVbkZ1/JbKZV4K/x6A7XttN8hxbNd5NatcPrlFeX8yxt?= =?us-ascii?Q?mP+l x-ms-exchange-transport-forked: True X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a5acbea-036f-4962-0246-08d917e49f9f X-MS-Exchange-CrossTenant-originalarrivaltime: 15 May 2021 21:01:34.6202 (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: aKtjJMfeylXmntioKsKoW0+wvQbxsS1TVlt9ipG6dddowG49AApQB+4dXQOl/3YG9xO1UhXRX07V71geWogh/w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR10MB2638 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9985 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 malwarescore=0 spamscore=0 phishscore=0 bulkscore=0 suspectscore=0 mlxlogscore=734 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2105150162 X-Proofpoint-ORIG-GUID: 6tT8QNKbL9i22_YVl9Lsdc5ntNlRiGCh X-Proofpoint-GUID: 6tT8QNKbL9i22_YVl9Lsdc5ntNlRiGCh X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9985 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 mlxlogscore=999 priorityscore=1501 impostorscore=0 suspectscore=0 clxscore=1015 adultscore=0 bulkscore=0 phishscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2105150162 Received-SPF: pass client-ip=141.146.126.78; envelope-from=drew.adams@oracle.com; helo=aserp2120.oracle.com X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, 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:129803 Archived-At: > (defmacro defvar-local (var val &optional docstring) > `(progn (defvar ,var ,val docstring) > (make-variable-buffer-local ',val))) Sorry, `docstring' too should have a comma in front of it: (defmacro defvar-local (var val &optional docstring) `(progn (defvar ,var ,val ,docstring) (make-variable-buffer-local ',val)))