From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: ludvig-faddeev@gmx.com Newsgroups: gmane.emacs.help Subject: [External] : Supplying DOC string in a `defun' using `defvar' Date: Tue, 1 Jun 2021 03:49:51 +0200 Message-ID: References: <874keitr8t.fsf@web.de> <87o8cqsa07.fsf@web.de> <87zgwaqtlj.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="24005"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 01 03:50:44 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 1lntYK-00062e-Dv for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 01 Jun 2021 03:50:44 +0200 Original-Received: from localhost ([::1]:41424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lntYI-0005bg-Ft for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 31 May 2021 21:50:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lntXb-0005bY-8S for help-gnu-emacs@gnu.org; Mon, 31 May 2021 21:49:59 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:59737) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lntXW-0007HU-2D for help-gnu-emacs@gnu.org; Mon, 31 May 2021 21:49:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1622512191; bh=Uc1X8TEWoeKCaRFi2ykAS+/pD9uX/cmLEowPpwsGDbg=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=fr5NcsY68Ns8Xs2THlmbcv6VNJsTOqU09Xnvg60sayIp2uKBZZedOC3vE1eebuWL0 GErr6xhqHN4znNmX/hTVhFyvU4PYfvNPCq5MGk6UYvOgXUyJCkNl7OgUQb3cnEsqUl pQVWjyBQu97DvmFYrO+2RKafPBg2wzNctHYPm+V8= 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-bs01.server.lan [172.19.170.58]) (via HTTP); Tue, 1 Jun 2021 03:49:51 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87zgwaqtlj.fsf@web.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:eaQEgQl+E4JXG/JRw7wAh56q1W6azsn/XT5bzwi7p8/2AtcpCuVcA6THeRzu3jov9WBXi l8K/C6sogGfXnLAHmB5KHyAqBhSEoZ74MYaEClvjnXR+PLG0+JsPUu5rkBOved+Dnbyph9DSTADN WE7bKrtZqJgV4XVaT2RwxsQ0ZyemgxwrgO5wXopSlYMCYqATXEgzMs3nVV2YdKPId6SzGbB9RAth Qmm+AoZ+slvmwsArWbEkUOACU3afayJtX5Y0bTxRTfOsOAOIcUx9ooGwwQfeICMBk5/czgtacZQD T0= X-UI-Out-Filterresults: notjunk:1;V03:K0:RKGEh9WSS2k=:hDEWjt+HB2M9w6LrDY7mQ/ LdodtPEkK/oV8ib+LTvIl4hHXHUtfmUNk5MVage5GdXd5d/dF0bHtKy4ScrjMlJgalhgQiOD7 J7IYJ4B37BFb8xzPvWUoXyrwSRjrxoAuF1C1kPOwk69wntYYV3hMbUvpQLMSnOsA7mw6cp/Dn ypdsdbrki/QEzw1v4aAId4jaLWOoJh2jEXNTAmPd+ZUr+Xi00O7thqa3xlOhCuxQXOIpd2zq2 URVJ8h4d7Hucp1fifvAikdlEB0AkfZy+fVFT0vrsoK9yx2C59h5SpjlKs5+qIHF2IryK7zF4b OVyIYoszV92JMc7IQP2WmhfKSPVFBwb6KMPt456gO22rUuQ0CKL4JeFFmVfoqRBdBeimk38fT sK/hs4HfEPJ+QUEiC98alHws7kWXOv5UiuiOJurLLeZFbJWWYzAkHfsxdLGuDD/KMFUcpBte4 Dt7qDRynZQcqNM4sisPcXsxs6IYq3A/YqaIq12EH0m5X3Y5ykMn8NAR0rJV922EpUuZ+GEMFy AvsxxtmofHBpacXSf3L3NLetqYwTZ/sWUg9l3OhSzNY4Nc99hBxBgEHI0WNljbBFEu/Vm+YTw T+u1zbKtKt9baCS8telv4avwe8P8M+S06W+mNyMmki0Sx4rjzWYnibVrPLT9xkh1sKUaZSjVk PFOc/+tWEi7121tY6zytIaWUgtAlVd+O3ytiFPl2M14CLza198rfqXwJRSke/3jjTx4SVPgs1 doMm5jc5GqvlQnzeWiqlElplxl4FSE+tXl0iddo5YEwAsNKpQoY/sKI6LYVtKGhctF0MuZoJ Received-SPF: pass client-ip=212.227.17.21; envelope-from=ludvig-faddeev@gmx.com; helo=mout.gmx.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:130428 Archived-At: Is it possible to define a function that sets a documentation string and then calls (put 'wyfunc 'function-documentation 'mydetail) > Sent: Tuesday, June 01, 2021 at 1:08 PM > From: "Michael Heerdegen" > To: help-gnu-emacs@gnu.org > Subject: Re: [External] : Supplying DOC string in a `defun' using `defva= r' > > ludvig-faddeev@gmx.com writes: > > > I would be interested to study an example on how to append to the > > docstring. > > This makes only sense if the resulting docstring is dynamically created. > Else you could just provide the complete string at once. > > If you want to study such an example then the documentation of `pcase' > in the Emacs sources is a good one. > > Michael. > > >