From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: philip-agee@africamel.net Newsgroups: gmane.emacs.help Subject: Printing as documentation Date: Sun, 20 Jun 2021 06:41:31 +0200 (CEST) Message-ID: 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="22151"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 20 06:42:21 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 1lupHp-0005a5-4e for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 20 Jun 2021 06:42:21 +0200 Original-Received: from localhost ([::1]:35646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lupHo-00012z-4X for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 20 Jun 2021 00:42:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lupH9-00012Z-HX for help-gnu-emacs@gnu.org; Sun, 20 Jun 2021 00:41:39 -0400 Original-Received: from msg-1.mailo.com ([213.182.54.11]:47266) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lupH6-0006hc-IR for help-gnu-emacs@gnu.org; Sun, 20 Jun 2021 00:41:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=africamel.net; s=mailo; t=1624164091; bh=GwlY4UV8s3CKDHlaWerhMEyo4d3R8E7cg/TYDBpDKVM=; h=X-EA-Auth:From:To:Date:Subject:MIME-Version:X-Mailer:Message-ID: Content-Type; b=lhSND8/qxhltZi2bwwDbvvz13XinIXjK3JONTcqdjJKt7B//7jaBzkGN8Shot8TPF ObS4xi0KU1oSukNGtWtfgyhmOI2h0F9zc3dd/75hXznUydMc9FaC2e4QMHIPQ+vbEy tBN5F66aMVX53RBj/JIb+dKXVtUOAmbcEQUudODM= Original-Received: by www-8.mailo.com with http webmail; Sun, 20 Jun 2021 06:41:31 +0200 (CEST) X-EA-Auth: xc6ZFER5SLIXCTF1SizW6aqiH1IWXC9dO5igM1v+cmrG24CD5J3ReLUKbvae5MDRNEtW1gcph0TdflAQUrpX14Ry77HjgkSi X-Priority: 3 X-Mailer: COMS/EA21.01/r20210601 Received-SPF: pass client-ip=213.182.54.11; envelope-from=philip-agee@africamel.net; helo=msg-1.mailo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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:131067 Archived-At: When I wish to see the self documentation I use C-h f myfunc I get a temporary help buffer displaying the docstring for myfunc. Is it possible to to do the same kind of thing when calling a description = function "mydesc". so that the print function are show in a temporary=C2=A0 help buffer? (defun mydesc () "docstring for mydesc" (print "The brown fox" help) (print "jumps over the fence" help) ) M-x mydesc wiil then behave similar to doing C-h f somefunc=20