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 15:35:44 +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="24179"; 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 Wed Jun 02 15:40:02 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 1loR6I-00063s-Rf for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 02 Jun 2021 15:40:02 +0200 Original-Received: from localhost ([::1]:51050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loR6H-0005Qd-OF for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 02 Jun 2021 09:40:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loR2N-0005Kk-Vp for help-gnu-emacs@gnu.org; Wed, 02 Jun 2021 09:36:00 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:42791) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loR2F-0008W5-38 for help-gnu-emacs@gnu.org; Wed, 02 Jun 2021 09:35:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1622640944; bh=VzFHY5lbziT/AM86NSMGxS3o9IP706ti5sL2P74EWqc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=RoXEkcfKfcsmjGxVAc51v390Do25kjAkD+Yn4Lgb8n47YH3mFWu4MvMKKKS6Zk2Sz yOc1NE06PVhO5JneYgmM2g/jTcJHbUDn9jPQQBcwuAq/vtS1GumR0H+Cznx25C0ybo KwoQszZBU5RWwiJ6RKMS2nOvOmIbIGgbCaW94/d0= 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 15:35:44 +0200 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:7/i13xJ8sv7sr3HdOYD3mH3rcS+6x3P7BCJOw57SRh3ZZujRtkvThJ5zS9zmqGdjJlffC zWFP1g231uSqxubtxLbpPj+lTvIdpV4ygSN3MQAcWzSMkaiteRFQtqLcS0gm0Jlk+rWbwsgORl/9 3zANPdZEM4VNe7P7/AVzGnA5q6hxrJMpJD83aIusH2AqGhE18+6yyLuBZLV0vE3XxZmOIGcEZqOk VLLPknaK7+GtwTy2m/cda7iSHVtqJH41r63qFYTMgP0DIV8OM+HVZawaYmir3dsZzFiZifnrIeEk tM= X-UI-Out-Filterresults: notjunk:1;V03:K0:9llLkdj6vfU=:dFySwWR92z9muR34jABj9T 00+EUBdZKhW8haA3o764i+55RbQNBOqpXpjDtDApqYVHvFH8RZYfExiyxyzn6O3q2fZlDgYTX pk657g/628eyd7lFKolIXYedHFgKg+eAspFm1/Y0zr9i53auAJfHgWGziMEAzvy4NIoCl3T5B uS3FJsHKlmQa+CiNBQIPTjWlsfszb6odilBXvxeWkeYTWKYQXtA4wkhH+xkUj9V0PX/hv+Shk MpxyvkMtIY6H4/PSNJ9vk6ndYZuunPksvsz9nNbwM4BtY4/xeE5UX+yM1vHcHWANiPAVLJCGz vQNgQpXPxfFccYhxLl9wI5x0+mEOgl/zQ326Jy679cteuzjGm9qxEL/oV0htyd2tbHqhrx33d mC98a1jFgRZZEl6G3lTO/oKDzW+K+TKxBSyGIv1fL2L02FvdgKTr8/M1JlbKn/RbqEP4adqHD +dAK+Jtm2HpE2WEYnx5gGpvkSREG3aNvm9gxjbcPtNNflbYMTsUzpXZznMDQ1fbOUH+Gm6gde JdtqG/rTfGGn6loKbTIyKuIxdjCgbfJGc/JBdwVcnspuETwoZFEgz3tF6adifCDWqW/pmIcI1 IK4cqQlvfoFI7TnFQIbpsoUtj6yLpxkOWpYj0pY1D1/g1j4ZxsNQkz8joNYXN0DdWIvevYUkA Z+yygfKvb0GCwlhBPJ/duiugPDyj+LUWW9BIei2Vo5cFcFCXBvpjwHNdIBBnu/6+hB2mrhC8s qTvlYFxo2koxvDaTAuKDAjARRJFzHIPkaxx20PxWv9BSvGZnw5eylWt/AgNgRZgGzjaXX/Y5 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:130499 Archived-At: > 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 `defva= r' > > > 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 to > 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 designation should be normally set by the user, except when he has a reason for doing things differently. > 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 > >