From unknown Sat Jun 21 10:07:07 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#56483 <56483@debbugs.gnu.org> To: bug#56483 <56483@debbugs.gnu.org> Subject: Status: Request to append string to the documentation of a function Reply-To: bug#56483 <56483@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:07:07 +0000 retitle 56483 Request to append string to the documentation of a function reassign 56483 emacs submitter 56483 carlmarcos@tutanota.com severity 56483 minor tag 56483 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 10 11:20:37 2022 Received: (at submit) by debbugs.gnu.org; 10 Jul 2022 15:20:37 +0000 Received: from localhost ([127.0.0.1]:37715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oAYjd-00057w-L1 for submit@debbugs.gnu.org; Sun, 10 Jul 2022 11:20:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:52470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oAYjc-00057p-1t for submit@debbugs.gnu.org; Sun, 10 Jul 2022 11:20:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAYjb-0003Hz-Pl for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2022 11:20:35 -0400 Received: from w1.tutanota.de ([81.3.6.162]:41400) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAYja-0000gN-5b for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2022 11:20:35 -0400 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id 59B4AFBF65B for ; Sun, 10 Jul 2022 15:20:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1657466430; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=+12B7fDNmpA8TWTIGZcWDdmQRRuAL79KJWB6BaL52V4=; b=j584Q9GNI0vkfUth9qZd2vOuhA6YxYZIVd5Nn2P4hImQ6rnzCy5Mz8pBj+/2Rlnw v7lTqhyC6IblwTE4nEivMetrEMrkdCbOLVIervUWf3NTP34X1d5W+YY7wvMa26QIE1l xoanm9vXymerHbjbZiQG5AYAdKjyXq4aUAVfNUK2lOWAZCqfTOs9lIp09O6DUyOeWz9 I6+C7EIHcfx7GFQ8ywP5Q/pYvD+sDjA0aF+j1v0qAl6tpdfPyjknUAdnw4EaQvrrLQW 9AxQGid+PbFc1HleSJBoNIE6lZCAOyyk6Vrz+1tI5YpuuDOb+w7awQ47yllXmlGmAkM 5bEmpx0PSQ== Date: Sun, 10 Jul 2022 17:20:30 +0200 (CEST) From: carlmarcos@tutanota.com To: Bug Gnu Emacs Message-ID: Subject: Request to append string to the documentation of a function MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1499947_138354932.1657466430353" Received-SPF: pass client-ip=81.3.6.162; envelope-from=carlmarcos@tutanota.com; helo=w1.tutanota.de 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_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) ------=_Part_1499947_138354932.1657466430353 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Currently I am appending a string `str` to the documentation of a function = `myfun` using (put myfun 'function-documentation =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (concat =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (documentation myfun= t) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 str) Whilst the strategy works, this requires adding `str` after the function `m= yfun` has been defined. Does there exist the possibility to add `str` directly inside the docstring= of the function when I am defining the function itself, avoiding the `(put` command mentioned earlier= after the implementation of the function myfun?=20 ------=_Part_1499947_138354932.1657466430353 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Currently I am appending a string `str` to the documentation of a function `myfun` using

(put myfun 'function-documentation
       (concat
          (documentation myfun t)
           str)

Whilst the strategy works, this requires adding `str` after the function `myfun` has been defined.
Does there exist the possibility to add `str` directly inside the docstring of the function when I am
defining the function itself, avoiding the `(put` command mentioned earlier after the implementation
of the function myfun?

------=_Part_1499947_138354932.1657466430353-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 11 06:05:38 2022 Received: (at 56483) by debbugs.gnu.org; 11 Jul 2022 10:05:38 +0000 Received: from localhost ([127.0.0.1]:38320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oAqIL-0003P8-SA for submit@debbugs.gnu.org; Mon, 11 Jul 2022 06:05:38 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oAqIJ-0003Or-I2 for 56483@debbugs.gnu.org; Mon, 11 Jul 2022 06:05:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Y4lnu9o/k0ysGETjBAAJeBsQ4Tw5HaM/E46LtV3GIPM=; b=U9wZDMJg8UN4+r0j4M00DuWX5C awBfDjoZRxec5TrpQDtCNsguOlEXmigjsuA9WrcOOnwXJSxLD151uYb1BngmUIdTOElYxL0R2lRr1 jAQgtwWrJTWRttJO3OTFTPaLFLgS0lOmaDZC6IbR9dg4uH8EqWKnY4iqCgcBecktNbGU=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oAqIB-0001Xg-GF; Mon, 11 Jul 2022 12:05:29 +0200 From: Lars Ingebrigtsen To: carlmarcos@tutanota.com Subject: Re: bug#56483: Request to append string to the documentation of a function In-Reply-To: (carlmarcos@tutanota.com's message of "Sun, 10 Jul 2022 17:20:30 +0200 (CEST)") References: X-Now-Playing: AR Kane's _Single Collection (1)_: "Up " Date: Mon, 11 Jul 2022 12:05:25 +0200 Message-ID: <87let00xsq.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: carlmarcos@tutanota.com writes: > Whilst the strategy works, this requires adding `str` after the > function `myfun` has been defined. Does there exist the possibility > to add `str` directly inside the docstring of the function whe [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56483 Cc: 56483@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) carlmarcos@tutanota.com writes: > Whilst the strategy works, this requires adding `str` after the > function `myfun` has been defined. Does there exist the possibility > to add `str` directly inside the docstring of the function when I am > defining the function itself, avoiding the `(put` command mentioned > earlier after the implementation of the function myfun? You can make a macro around `defalias'. In any case, this is not an Emacs bug -- if you need help using Emacs, use one of the appropriate mailing lists for that. Closing. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 11 06:05:41 2022 Received: (at control) by debbugs.gnu.org; 11 Jul 2022 10:05:41 +0000 Received: from localhost ([127.0.0.1]:38324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oAqIP-0003PQ-5p for submit@debbugs.gnu.org; Mon, 11 Jul 2022 06:05:41 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oAqIN-0003Ow-Qy for control@debbugs.gnu.org; Mon, 11 Jul 2022 06:05:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Yl21eHz1npOTGz+nYaS4mXKnP9WA2gtqOWkMMYmnJAo=; b=jJHbgjQuTDB3QvlKl5BzfdkAHZ Ug9BnzrXd+ilSrgmROzn+hVsbGByp1TjvEVzAFkAZCAK9xOT4mrmagQOAb+dObv8b9cg5sdUquDRi fyG4vKdSK3C8DCYmPeU3bgYjlOBa6YjGgwmJq7+cpFgbsL6S9ayyFJAJTAoDBmYujrrI=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oAqIF-0001Xo-SF for control@debbugs.gnu.org; Mon, 11 Jul 2022 12:05:34 +0200 Date: Mon, 11 Jul 2022 12:05:31 +0200 Message-Id: <87k08k0xsk.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #56483 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 56483 notabug close 56483 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 56483 notabug close 56483 quit From unknown Sat Jun 21 10:07:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 08 Aug 2022 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator