From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#60568: [FR] 30.0.50; Help buffers and function bodies for generated functions Date: Fri, 06 Jan 2023 08:39:30 +0000 Message-ID: <87a62wdpkt.fsf@localhost> References: <87fscpifdw.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35650"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60568@debbugs.gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 06 09:54:44 2023 Return-path: Envelope-to: geb-bug-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 1pDiUu-00095H-Cb for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Jan 2023 09:54:44 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDiGj-0006Tj-7p; Fri, 06 Jan 2023 03:40:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDiGh-0006TS-1z for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2023 03:40:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pDiGg-0000Nj-Lw for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2023 03:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pDiGg-0005J0-AC for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2023 03:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Jan 2023 08:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60568 X-GNU-PR-Package: emacs Original-Received: via spool by 60568-submit@debbugs.gnu.org id=B60568.167299435320330 (code B ref 60568); Fri, 06 Jan 2023 08:40:02 +0000 Original-Received: (at 60568) by debbugs.gnu.org; 6 Jan 2023 08:39:13 +0000 Original-Received: from localhost ([127.0.0.1]:53772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDiFt-0005Hq-3Z for submit@debbugs.gnu.org; Fri, 06 Jan 2023 03:39:13 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:58907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDiFq-0005HZ-L0 for 60568@debbugs.gnu.org; Fri, 06 Jan 2023 03:39:11 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 73A462403F0 for <60568@debbugs.gnu.org>; Fri, 6 Jan 2023 09:39:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1672994344; bh=1iy+pRbuBGNazZLCq0QBRDGt/yCJ4p0YGtQEXj5/lDE=; h=From:To:Cc:Subject:Date:From; b=VqKA6gxedFQsJFnvGJ9GzmG+X53HDcqK0xfadfdRg8A8qnxqYK+illMzCYq20FrhM 810yW1/JTpcEgzDBJHPRYfXeiDvKq54DhIZD6l5UqwoDT13D3BbK1xnV4vfNguOdu7 9sRsRkULR9PLtablF6fl955muonWAXElWxZcwmSQ3J+ajrx7jn918vuJl/mEYDdURk hBIZ5ovuRko3xMApU/a3EH/9ZOqtvsS8dVNpbMm2IRVTSQIzym+h+2LcvAOYq50t+c Ej4/6b31aN8Vd9z6s9kiPQmpJINM2g0/InYtjv9kgQ4EtIJKf735PPLNKlOCqlQJPd 2x/LRRBbcxZog== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NpGw65Gwsz6tnh; Fri, 6 Jan 2023 09:39:02 +0100 (CET) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:252677 Archived-At: Jean Louis writes: > with body being: > > (defun hyperscope-add-new-note-hyperdocument nil (interactive) (let* ((parent (hyperscope-set-parent-or-select)) (markup (hyperscope-markup-select)) (related-person-by-parent (if parent (progn (hyperscope-related-person-id parent)))) (related-person (if (and related-person-by-parent (y-or-n-p (format "Is Hyperdocument related to `%s'? " (cf-people-name related-person-by-parent)))) (progn related-person-by-parent))) (prompt (format "New `%s' hyperdocument name: " type-name)) (name (rcd-ask prompt)) (hyperdocument (hyperscope-add-generic name "" markup id nil parent nil nil nil related-person))) (hyperscope-ring hyperdocument) (hyperscope-revert hyperdocument))) > > Which I know is not very readable, but is still something useful. Try `pp' to auto-format the body. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at