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 06:55:30 +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="24895"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: monnier@iro.umontreal.ca Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 02 06:55: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 1loIv9-0006BP-Lt for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 02 Jun 2021 06:55:59 +0200 Original-Received: from localhost ([::1]:50292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loIv8-0000jZ-90 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 02 Jun 2021 00:55:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loIun-0000jA-97 for help-gnu-emacs@gnu.org; Wed, 02 Jun 2021 00:55:37 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:40369) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loIul-0005Hi-9Y for help-gnu-emacs@gnu.org; Wed, 02 Jun 2021 00:55:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1622609730; bh=6+PuMwxfkjYg6xDnmIHPao4Z02gHwv/cQU9yLWcipgE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=dQUrxVUmjhcVY4OP3kDQIxwwqmnz3IOngs6l/J52PDQyopn5q/aIzGX/2zHzcQR2I tsHLqyJ1+uuZXn7rtXPMEwoaZEd/YPy7FvrLWJbuK8N2U/YsxCHmXDnin5Hw1MAt6w jSc4ugqLFIMxYf96lNRFBmEd+6/XX/oY4AU7IDAw= 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 06:55:30 +0200 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:WqX9MPxcIuRQsjcSdcsH4/b/zAENbjQ6qtPOj46s88tRdkYVKaEKiDy1UBvr2IVAoLLQT GzWc/zJpr+8vRML6itmdYAX34P3ILY5OePUWGJgAkWVM5z6GdeqWEQII+NdbOodrwDfpH8zkB3rh YT6sICLK7/O0KcOnPO0uP+knmkd/yZ2VjMNJIfuu53+obRI5I6Ct52p0c9UDQPK7pvErtA6z3k/B iz8zwnX8UFJmBXV12oeFR8b9F+0xPEVmRwHILVSybH0SXcVQVt+nFPdSlF0bGfh2sPBJbNdJ3fq2 z0= X-UI-Out-Filterresults: notjunk:1;V03:K0:MRMFlDqhwZI=:UaNuXHLU/jda70oX/K20Bz vX+5zhi8cjKApH8IdPJCONfKNK6Xz9jRWhWDeXjZ6J75ofUTJM0Is+bOTyltc6eykFotF5rVe O9YzGOSpullRDR1CeJNzGqD3o6wEvnNP7sHfUnR//D6/gJmOlNHbenBZy6iBpfUEOmcyV0Ae4 RefSMJEkAfJl4okgm0TLk8dO2c0iYiPvgQEfoi53WtIhb5Si9HETf7pXI4GvEFG/QaKZWV7y3 3oaF2Du7Td824aPTNoV/ab/j5pNfgFklm7sufJREOlxFt1BTflXtuhl3UGMb6u5D3HSsuIqja yYGZWFEQj8idz7Gcu8O3/nclgesC4/JQWG3KuJjnsJoXDD/jsCuRyqUhBQSpqnp1f1hXXulSt Eth7GPffDEJmrCO/idbpUfpL+an0vZv3TOGQaTkDWi23nrgquJGjg9ueE1FHX2oESDXrnLJJy HKl+H6+zm/ySS2ARZ5thgWaJzI64tP8H7HLQNpRWGDM1iG7N/rqjCZJqxUqidHm5eAItk2bDv 7umsPUJufGEfHLXpPO4wjlCoN+HGlicrinL6s4c8Ub94cQ/2nq82c9PyuaR9/i+XvWyXaZscL XKsJDRGUfNILVDq3Epb2Nn04aLyCJ8DSPgO20QtQsGOmcAsKYD3vXZCfquBxqqGiDNClhD6px qebsxKMCPgwSwAsdyCY8/iw62QZls79fK0Hqq40am7BWNtqGm54969lDvQja/HE2nxygeZZ5Z NoXfjMXZXnMbj0EXFiEpsStM98FxED34egE0hBomQ8aiNUykDxsmByk8JFy9CTla0iJKKLF8 Received-SPF: pass client-ip=212.227.15.19; 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_H3=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.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:130488 Archived-At: > Sent: Wednesday, June 02, 2021 at 2:55 PM > From: "Stefan Monnier via Users list for the GNU Emacs text editor" > To: help-gnu-emacs@gnu.org > Subject: Re: [External] : Supplying DOC string in a `defun' using `defva= r' > > >> Seems that syntax is only meaningful in lexically binding Elisp. > > Is there no syntax that works for dynamic and lexical binding? > > Why would you need it to work in the old dynbound dialect? > Nowadays I see no good reason to use the old dialect for new code. Then, ultimately, there will not be any dynamic binding? From my point of= view, the docstring should have nothing to do with either dynamic or lexical bin= ding. The latest discussion has centered around using (put 'myfunc 'function-documentation ) And that lexical binding would become default, but not yet.