From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: Defun Self Documentation Date: Fri, 6 Nov 2020 20:41:47 +0100 Message-ID: References: <20201105154537.GA24492@tuxteam.de> <87y2jfd2wt.fsf@fastmail.fm> <87tuu3wq5b.fsf@zoho.eu> <83d00ra8ia.fsf@gnu.org> <87pn4rwm8e.fsf@zoho.eu> <837dqz9hrl.fsf@gnu.org> <835z6i8ha1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5926"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 06 20:44:37 2020 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 1kb7f2-0001QW-J0 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 06 Nov 2020 20:44:36 +0100 Original-Received: from localhost ([::1]:51096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kb7f1-0003wP-DY for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 06 Nov 2020 14:44:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42204) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kb7cQ-0003wA-L6 for help-gnu-emacs@gnu.org; Fri, 06 Nov 2020 14:41:54 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:55659) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kb7cO-0006aL-M4 for help-gnu-emacs@gnu.org; Fri, 06 Nov 2020 14:41:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1604691707; bh=WLRowcdXQlV2YeFJEFnG93U78wGFG7jVkZmxqqyr4Gw=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=FBu4icMK5CWGEPyB8UBn1L/gidZUsRmJdzp3RFfE13r/QZtPHgumoK500cksxq1Vt yGKklwO+y3ivHQWRCI/Jd77BSqexx5d/kInn6UBNjAMVZ5SGNVrK58QuQArR2hefck wIsy5Ze+4nsWX9FwQTR5KuVtVgWWXbCXxLsEPuuo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs11.server.lan [172.19.170.179]) (via HTTP); Fri, 6 Nov 2020 20:41:47 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:3MHfr+kN4wuFzavrwx/cEmSnsUUOX8t61qDYv2ppoAk6uufDBXlGxcsaeiGqSIj35yW4m F4Pe/Wn61Q831fX4L9u0u1kJUMW3UCYEFgHlaM1KnDAegqMGyiVl6b0IiwkaRUWQm+5+DhZ0Egar FgqWRMLFT+PPiwMV7dhoUKk9Eifh+cSQdVXFEZl40lUzSdribUF3/XcQ8v5Qx7eS7FnDdEBwAbcw 2KN5hDGRm/Y2sRdT+50t3l210n5qq8dKHaUZkJ7/vFqdwBQyGIdA6dqo+wLHazIPLxVLAq58gKMD Ko= X-UI-Out-Filterresults: notjunk:1;V03:K0:P8VMnzacE/I=:tOqioBXOAytEkbRM1GVhs9 6Swx7qj3Nr1uN7tQ+abTk0eEZA7nvFYwV+MLSluSyVrI2qv6V092RYG4nTMGt1KKQnnVpWG97 nMeVB/bL4mXS4OEoJ+xrhg0D+evNPjxo9oZhUBhmAWF6asT75M8jhqDV8cv7Cuhr6P1pV9wmt oP2zLTicevrmCHo+QCCAx/QS9I1SLsbF3nGHmFs+71mRZnHFW+9bpFyJeX+p6RANx7aqa/Ai5 1cyBB3odWEwgAlBT3JQO6nJ4UK4z1oNmCDHWjRCmfh9e4o0gAjoCP4MWFMvyJ6JFjh0FxT1bA TZJ2wvwgi/LPMjomKN1IMfYpw4wX8yH8EJxjcwx0Rdh/TTvRFz1ML0EEIq5MR5f9vbOGaQQYA +4pkNvqp0Sxgh+dq4N/tXKxg1nQnXT7OMuzBjn74noazbxLyTxVLcQbqSxwofGdjqw46eEdQt OjzADWVfIGpgGlx3jRjnGnKEjZLu6eMR+idfUowliZKI/RQkdSCnvvOW+/mK05nCFNK7uUH08 h19qeFouTW93NcDV0cEfPS1Nmb6mNjfUIFmyX7CxcSJI+t3v2JQCZcK/WZfezd4ieo67Mm9qC B3sbR5BNTf6iw= Received-SPF: pass client-ip=212.227.15.19; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/06 14:41:50 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, 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-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:125085 Archived-At: > Sent: Friday, November 06, 2020 at 8:23 PM > From: "Stefan Monnier" > To: help-gnu-emacs@gnu=2Eorg > Subject: Re: Defun Self Documentation > > >> But I wonder why we'd recommend other users not to use lexical-bindin= g > >> in their `init=2Eel`=2E > > Because the defun special form didn=E2=80=99t work properly in lexical= ly bound contexts=2E >=20 > I fail to see the connection=2E The restriction of `defun` in lexical > context was very minor, only affected rather unusual circumstances > anyway, and could very easily be circumvented=2E And I fail to see why = it > should have affected init=2Eel files more than others=2E >=20 > > But since 24=2E3, the problem with the symbol counter was resolved, >=20 > I don't know what "problem with the symbol counter" you're referring to= =2E Let should bind to variables only, but it wasn't=2E Nevertheless, the rec= ommendation is of no value today, and should not be mentioned anymore=2E=20 >=20 > > People can use it without any harm=2E >=20 > Of course=2E Many people do already=2E >=20 >=20 > Stefan >=20 >=20 >