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: [External] : Supplying DOC string in a `defun' using `defvar' Date: Wed, 2 Jun 2021 16:43:51 +0200 Message-ID: References: <871r9ly7v3.fsf@web.de> <87r1hlw6pn.fsf@web.de> 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="6156"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org, Stefan Monnier To: Christopher Dimech Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 02 16:44:59 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 1loS77-0001IW-B5 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 02 Jun 2021 16:44:57 +0200 Original-Received: from localhost ([::1]:38968 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loS76-0000Zr-Cd for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 02 Jun 2021 10:44:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loS6C-0008KS-3X for help-gnu-emacs@gnu.org; Wed, 02 Jun 2021 10:44:00 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:34813) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loS68-0002jC-OW for help-gnu-emacs@gnu.org; Wed, 02 Jun 2021 10:43:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1622645031; bh=pfODlq1RImmUvSs40nrHGB03FA7sctcGva2JQEoz35g=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=SeZ+MptHMus5k2oceQRDpeXXGsfEvwgiF63VK+vl5mB6YNy8XS0/nOHQmS5uRfVmt FN1zIKiStZT5kRLLfrRbGR+V7Mv3ycc2NBTbPoCjCGDq+/paDwihD015sEu77TM3Qc lShNTQWKRt01YpM+KgP4WXT7K2/aeWwv1snvS7SI= 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-bs03.server.lan [172.19.170.169]) (via HTTP); Wed, 2 Jun 2021 16:43:51 +0200 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:bN5Wwt46aC1e09gntf2zRSaTj3rlrFA13GpPNAy8+1EtdoiTySHTiYCoF+xwB4cSLvaY1 P+j2EetrJx3XlhN9D6pK03GseWHwsN/y8Q9W1wFZEGq2z/umgL392Bis+RS3jqv45QtAZPDMev7K GoePB+iLVy1ID9CZEAAQdv5lHv1CV/4o6XntH/Lia7rJp5vt8K9wFJ0YNvYACVp0eDEj6UBxxaLs jNfdrXbQZdsci5oUhUSiGgL5MCZmQeujqUTgpq7PE4ekBA5Y1gdpCzLIcw7knD0SU3osOkyPh2rz AY= X-UI-Out-Filterresults: notjunk:1;V03:K0:1CS3QfzEpks=:m4xSWrzrW2bEfvjZao0E+o y+8w7p4QEBMzb3tLAYXrhwndgIg3Fr0NZmat/WqUDED2imQpTSgkWb8+B8EjgwzG+521j7oqY kwM/KRELXOxH44R5lp8FzF69QKi3zK9WKbAqZYKkA+e8U4hbB9dl5/tQYw35Ku1KLfvqh3QeT eTIVGimBO+3BnkKLUFnSGEtLA3cOM90Vjd2F4XY19C6S4Mp+iGQRLV0p1ewgMlCx8zRgSgP/v Ly63SxDQfY3DL+9iBbgo6jWM13mPAKLheCD/6uYDYhdCquZavuzbMWsFvlJe/VvBwwuLUnPQW CnDDBRdMzaL1D+TwGRoApXXbUy1/n4jaUbP4Enop4OB28kloR6KJYW63i+0IxP7fZqOW8LIQw XnQ4y83Ur+Hnq4xuGagkSiv/J6J5eGiOSB7V/38kPhFfinRB4TGsq8EcjGamfLvPW47bS40zK QyFGSR3j2m7qPRc+my167AgiyGemTVfSNbxAK3RcRSBffFcDNfWjP4YXrDE4e281+ZPMIix9t 90a+mgcWmbi+ux2r3bNC+XXK7jZCM/8AwKfMat1kk+fyVtRwOQ0mM4c6I1xDtROKdci2odJfD mPkG556rKzKeiRSNvE5M/Pq51pF3/MBcwvCxIxCahkc4lEBKVNd0Z7RPSskbR1fTDJihD/pnm HwlCpy4QQq2dUo7tH9MVFB0dvWRXSQjYzefKyLSpPhb7Yh9Fem8USR7mwJwsLA1h4IedICP1k FNWrpeRXEoUKeHUii1fgSHMtK3wZ3CKCiP1lPM9wI9xB05IXaYLEhyDKtRLrBCds42jUV8J1 Received-SPF: pass client-ip=212.227.15.18; envelope-from=dimech@gmx.com; helo=mout.gmx.net 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:130501 Archived-At: > Sent: Thursday, June 03, 2021 at 1:35 AM > From: "Christopher Dimech" > To: "Stefan Monnier" > Cc: help-gnu-emacs@gnu.org > Subject: [External] : Supplying DOC string in a `defun' using `defvar' > > > Sent: Thursday, June 03, 2021 at 1:09 AM > > From: "Stefan Monnier" > > To: "Christopher Dimech" > > Cc: help-gnu-emacs@gnu.org > > Subject: Re: [External] : Supplying DOC string in a `defun' using `def= var' > > > > > Then, ultimately, there will not be any dynamic binding? > > > > Not at all: the old dialect is called "dynamically bound" because its > > most recognizable property is that it offers only dynamic binding, > > whereas the new dialect has both. > > > > From my point of view, the docstring should have nothing to do with > > > either dynamic or lexical binding. > > > > No, but it's a new language feature, so it makes sense that you need t= o > > use the new dialect for it be available. > > I understand > > > > And that lexical binding would become default, but not yet. > > > > The "default" is largely irrelevant: you get to choose for every ELisp > > file which dialect it uses. > > Would that not be excessive. Should new users worry about dynamic and > lexical binding when playing the elisp? I would say that the designatio= n > should be normally set by the user, except when he has a reason for doin= g > things differently. Small mistake there, meant to say that the designation should *not* be frequently set by the user. Bet eventually things will stick to lexical from what I have captured. I like lexical binding but can see the usefuln= ess of dynamic binding to be available at user request. > > Have you tried to click on that "/d"? > > It introduced -*- lexical-binding: t; -*- at the top of the file > > Is that enough or would I need additional setup commands? > > > Stefan > > > > > >