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 00:43:04 +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="1807"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 02 00:43:41 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 1loD6q-0000Kh-LL for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 02 Jun 2021 00:43:40 +0200 Original-Received: from localhost ([::1]:45760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loD6p-0000MU-Np for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 01 Jun 2021 18:43:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loD6O-0000Lp-2y for help-gnu-emacs@gnu.org; Tue, 01 Jun 2021 18:43:13 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:52327) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loD6L-0006PI-7C for help-gnu-emacs@gnu.org; Tue, 01 Jun 2021 18:43:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1622587384; bh=o9t9WBHki6kCasBezLWN4XGXZ//kCDeMJ9fNyyqjzuY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=lEhqvV3jkje/NcAr+9rnJnp3MlXf7dAQgGXCTEmaeEXCM7/1CLcvyB9QJ5pU+bss8 45vkqdsv38m0EJfoB87o7zdVbmFPFfTE6XisrsyUY3sMiX/Q/FVi8Ggpo/dP+jAbi9 xcFJFt8b2FOUUymBPgqKaUFiQNBw1sZ9KybxUF6Q= 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 00:43:04 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87r1hlw6pn.fsf@web.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:tgb4PMcNN+XIRLEStA1dHgQvdVzr51y2zamYGEvQmNdgELq1eEgA7wwJni7JD1fqyF22r eZ+YgGNL5Q0OOBujkhCiNQAkCCpBLubSoM82YA11pH36t3mhQl7FWJyoS+/cR96LCmjAUQiJrDA/ bEGDk0IcmT56PBgaK/vlEKLGnbwORJWP5tA/SFy86IkIND5Jj44PndG2bRNmPiubQct4/lnmF4SA Jva3Rex2Om2kGi+pbZKriYAF4FbZ0i3FOdJniE65SGP5BYTA5gjkIwkODG15RpweC+d2CP8QwC46 Iw= X-UI-Out-Filterresults: notjunk:1;V03:K0:Rz7ysySY9kA=:IbIm7K7k2erTo6aY69IgrB fgfwBa/MIPmZ7QkDgF2HPiy3m7mYGusy4EvrOxzg+5PuJ52wpaWFgeh/Gr86rOmChJvYDbIID Pzh47cuNokEObydzzNO/EtXE/Eat/+9OqnavH9zhdVKzaaDyoUl495YAXQ86xAsvzq92QrjNX Ypp/UfeM7Bdw04oMJFfTBzi/gTufEMcaVUxwhEg+GLmzsnvFWMw2QT1ZYx/0JgnIwmJct1HLR srMhgm9oIfI2BXyIWiR63231djfPL6gOe727lZcADLFWELZA/+oSBhNPNz9AYSLop7UDPIyic OPcjPLL4JMnWNTr0acbobtt4yyT6K6jTEiVL9eBpXODEucMzOy1zDOKvdbKvGz5sZSSFeRE/K gJ0dunkXf0vZpKrKDiwjpo6CMfmPmVJ/MPoNJU5fVVQKvYsIgi35CVAXPBB42rTqVxvk66ncD Lsb+CjQtBac2TrTCaDu8MAB+GO8ClgrGvFdorRkm3mEOwrRrSvYUOjJmKsVDklWt6sytkr4R9 XH2+vB6ow3wDiScCMHosNE/MMYzOEfmR7hJGbfuzn8n7Pg7H/AoB2F2pXGuQj86byNzMhgdGe EESPj+cIxv1DFTcKPD2xlUjB5r/0WyoQla9zpX38DRgtda8LSo4B9qob3cndDeDJa5aHa/8uo bk3qBCh6hFgkN/FlBr2zcuHydWzg0/k7lpQHWK+zKGwsfbt01EkbWbrbFEHbXx/rb5lDlHI87 KmgLb1T+9jwNpPQ+ymco2ekWoITqCDDv9J2RJSUtPWwiztUYQ0XUGdnC+yzmEzKHw2KbUW9Z 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:130478 Archived-At: > Sent: Wednesday, June 02, 2021 at 10:39 AM > From: "Michael Heerdegen" > To: "Christopher Dimech" > Cc: "Drew Adams" , "help-gnu-emacs" > Subject: Re: [External] : Supplying DOC string in a `defun' using `defva= r' > > Christopher Dimech writes: >=20 > > > > > (defun my-fun (x) > > > > > (:documentation my-doc) > > > > > (+ x 42)) >=20 > > I have used emacs-27=2E1 and emacs-28=2E0=2E50=2E Doing "C-h f my-fun= " > > gives > > > > -------- > > > > my-fun is an interactive Lisp function in =E2=80=98gungadin=2Eel=E2=80= =99=2E > > > > (my-fun X) > > > > Not documented=2E >=20 > Seems that syntax is only meaningful in lexically binding Elisp=2E Is there no syntax that works for dynamic and lexical binding? =20 > Michael=2E >