From unknown Sun Jul 27 06:43:48 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#49166 <49166@debbugs.gnu.org> To: bug#49166 <49166@debbugs.gnu.org> Subject: Status: Writing in help-buffer does not show in history Reply-To: bug#49166 <49166@debbugs.gnu.org> Date: Sun, 27 Jul 2025 13:43:48 +0000 retitle 49166 Writing in help-buffer does not show in history reassign 49166 emacs submitter 49166 philip-agee@africamel.net severity 49166 normal tag 49166 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 21 23:04:59 2021 Received: (at submit) by debbugs.gnu.org; 22 Jun 2021 03:04:59 +0000 Received: from localhost ([127.0.0.1]:37142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvWig-0004UT-Jm for submit@debbugs.gnu.org; Mon, 21 Jun 2021 23:04:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:40348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvRic-00053A-Ep for submit@debbugs.gnu.org; Mon, 21 Jun 2021 17:44:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvRic-0000NU-6x for bug-gnu-emacs@gnu.org; Mon, 21 Jun 2021 17:44:34 -0400 Received: from ip-8.mailobj.net ([213.182.54.8]:53500 helo=msg-3.mailo.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvRiY-0004wa-Ru for bug-gnu-emacs@gnu.org; Mon, 21 Jun 2021 17:44:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=africamel.net; s=mailo; t=1624311865; bh=7S34wnQEP9iJrPTt4Iv0lpJE67OuzCBGTTeLXKGdymY=; h=X-EA-Auth:From:To:Date:Subject:MIME-Version:X-Mailer:Message-ID: Content-Type; b=A4bTLPwjPQj0hkB3mlyMoI13pJIalWx/l/yaWmk1wBJNNvhkwV8MhKTqkUFtHIlkf gfW2uKg7JYuwggo7yWPJIAsugN1NN4zHitGMhCLaqzlyYGLWydS3mrjoS2JOnkF0F0 G99cqRO22zDbN9/fn178gAtnb4+CUOJd7GXnprLw= Received: by www-7.mailo.com with http webmail; Mon, 21 Jun 2021 23:44:24 +0200 (CEST) X-EA-Auth: YvO0CFyLJB6C+5SKWMCz4APkZP5EBzIcDZAdwDlvdtl50Glen1VVFwQjL23K+iZ6R8Or5LGRhAY/ifuwzbYzWK7sBJSB4hI1 From: philip-agee@africamel.net To: bug-gnu-emacs@gnu.org Date: Mon, 21 Jun 2021 23:44:24 +0200 (CEST) Subject: Writing in help-buffer does not show in history X-Priority: 3 MIME-Version: 1.0 X-Mailer: COMS/EA21.01/r20210601 Message-ID: Content-Type: multipart/alternative; boundary="----=_NextPart_001_60d10838_38d_1b2661d4" Received-SPF: pass client-ip=213.182.54.8; envelope-from=philip-agee@africamel.net; helo=msg-3.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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 21 Jun 2021 23:04:54 -0400 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.3 (--) ------=_NextPart_001_60d10838_38d_1b2661d4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Have written the following function that inserts text in the help-buffer. Was curious to see whether the inserted text persist if one uses the buttons or commands in the Help Buffer that take you back/forth in the history of visited entries (you can invoke those commands with 'l' for left ('help-go-back') and 'r' for right ('help-go-forward')). It does not show in the history when using ('help-go-back'). Does it make sense to include the text in the history? -------- (defun brief () =C2=A0 "todo docstring" =C2=A0 (interactive) =C2=A0 (with-help-window (help-buffer) =C2=A0=C2=A0=C2=A0 (with-current-buffer (help-buffer) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (insert "Abbreviated Capabilities\n\n") =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (insert "* orderless minibuffer completion\= n") =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (princ "=C2=A0=C2=A0 orderless-enable\n") =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (princ "=C2=A0=C2=A0 orderless-disable\n\n"= ) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (insert "* ivy minibuffer completion\n") =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (princ "=C2=A0=C2=A0 ivy-enable\n") =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (princ "=C2=A0=C2=A0 ivy-disable\n\n") =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (insert "* Minibuffer Completion Style\n") =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (princ "=C2=A0=C2=A0 complt-style\n")=C2=A0= )) ) ------=_NextPart_001_60d10838_38d_1b2661d4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Have written the following function that inserts text in the
help-b= uffer.

Was curious to see whether the inserted text persist if one u= ses
the buttons or commands in the Help Buffer that take you
back/for= th in the history of visited entries (you can invoke
those commands with= 'l' for left ('help-go-back') and 'r' for
right ('help-go-forward')).

It does not show in the history when using ('he= lp-go-back').

Does it make sense to include the text in t= he history?

--------

(defun brief= ()
=C2=A0 "todo docstring"
=C2=A0 (interactive)

=C2= =A0 (with-help-window (help-buffer)
=C2=A0=C2=A0=C2=A0 (with-current-buf= fer (help-buffer)

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (insert "Abbre= viated Capabilities\n\n")

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (inser= t "* orderless minibuffer completion\n")
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (princ "=C2=A0=C2=A0 orderless-enable\n")
=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 (princ "=C2=A0=C2=A0 orderless-disable\n\n"= )

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (insert "* ivy minibuffer comp= letion\n")
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (princ "=C2=A0=C2=A0= ivy-enable\n")
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (princ "=C2=A0= =C2=A0 ivy-disable\n\n")

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (insert= "* Minibuffer Completion Style\n")
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 (princ "=C2=A0=C2=A0 complt-style\n")=C2=A0 )) )

------=_NextPart_001_60d10838_38d_1b2661d4-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 22 05:34:34 2021 Received: (at 49166) by debbugs.gnu.org; 22 Jun 2021 09:34:34 +0000 Received: from localhost ([127.0.0.1]:37857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvcnh-0008Qt-OB for submit@debbugs.gnu.org; Tue, 22 Jun 2021 05:34:33 -0400 Received: from mail-wr1-f51.google.com ([209.85.221.51]:45041) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvcnf-0008Qf-0V for 49166@debbugs.gnu.org; Tue, 22 Jun 2021 05:34:32 -0400 Received: by mail-wr1-f51.google.com with SMTP id f2so22773133wri.11 for <49166@debbugs.gnu.org>; Tue, 22 Jun 2021 02:34:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=4+I0YKvqQUuzw36cQ13Ibfu2nl5VmjO41ZWPF0q2ORA=; b=UohW9rn3JC6vEpa2ezuC8MPF9FNoqRdkw1stxTH7EsYAoMvdABQjazBdUNIxP7Qiwg TJcgeI56wGUK/OcQZKrKrH+xGarDFpMQ0iuGsT/Ndjlc49/tvoDmNwdgYUF4PL6n3U/P qMq+KNHKv/Zp3alOfZS0Zk1sT79m5bolhjSqjfyiWgzPjm2t/LQuKQsuNbGpee2CTC9B mHha6xqlKm8Kz68Ezg1teX+YHtA9mN28PcREHBXelJY1lmqkbzXmJHgbVk1XHmu4pIej vBjp8lSYcfDj/XdSai1Vcr2/aJf90ewPQ/gdJMlv+AXKbbL8wce+H4MLvvhmfjUvdToA HLQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=4+I0YKvqQUuzw36cQ13Ibfu2nl5VmjO41ZWPF0q2ORA=; b=U/nXxDgdsSaeRnb0fPTiAzghvi//Ya7LILFzcK0LZrdywMDZev+4IENoqMWon9UeQe 428S5OEH4rTgMK3WZwkxiCIdLRYI9NFMMXo/Kdu1VUw/MEHctfwjqHLF+bzamY8yT2gt bypg+dUrShIGokogsp1baqf9cA2uZPrZKso+1GNnP3smEQNKLRGRxMjtisr03aVA3i++ fKpqw1jOKuQ37Ezu+H1XibWu8Z0M26BZkwCCfCONXGDinbiO14lrRPnF6ro4KfXaL5Qb mTyIrAhvFbense53wbEAM2UjSF+N+Y6YymstS4j/dPK3C0u2O3I71MxWBeS5BmkrpOgd obsw== X-Gm-Message-State: AOAM5319u+DiJEvcuXN+g06h04DqA6krL7W7LcQdbsUQo/7Vr4nhOBuL KHKAJCbIdPYFcckpRBSjQnKh6A== X-Google-Smtp-Source: ABdhPJxY64chdL1xO9S/xkcHWFzt1h4Q/C/jLzAKVGD9GvXED73Xqu1lDMf2BPy5GCxyebTM/YRJEQ== X-Received: by 2002:a05:6000:1207:: with SMTP id e7mr3601779wrx.77.1624354464963; Tue, 22 Jun 2021 02:34:24 -0700 (PDT) Received: from localhost ([2a02:8084:20e2:c380:f410:82e8:3a21:eedf]) by smtp.gmail.com with ESMTPSA id e38sm1728922wmp.4.2021.06.22.02.34.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Jun 2021 02:34:24 -0700 (PDT) From: "Basil L. Contovounesios" To: philip-agee@africamel.net Subject: Re: bug#49166: Writing in help-buffer does not show in history References: Date: Tue, 22 Jun 2021 10:34:22 +0100 In-Reply-To: (philip-agee@africamel.net's message of "Mon, 21 Jun 2021 23:44:24 +0200 (CEST)") Message-ID: <87tulqb5up.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 49166 Cc: 49166@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: -1.0 (-) philip-agee@africamel.net writes: > Have written the following function that inserts text in the > help-buffer. > > Was curious to see whether the inserted text persist if one uses > the buttons or commands in the Help Buffer that take you > back/forth in the history of visited entries (you can invoke > those commands with 'l' for left ('help-go-back') and 'r' for > right ('help-go-forward')). > > It does not show in the history when using ('help-go-back'). These history commands rely on help-xref-stack being set up appropriately, which is done with the function help-setup-xref. See (info "(elisp) Help Functions") [0] and the linked example in (info "(elisp) Accessing Documentation") [1] (or look at the definitions of describe-function, etc.). [0]: https://gnu.org/software/emacs/manual/html_node/elisp/Help-Functions.html [1]: https://gnu.org/software/emacs/manual/html_node/elisp/Accessing-Documentation.html HTH, -- Basil From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 22 09:30:21 2021 Received: (at 49166) by debbugs.gnu.org; 22 Jun 2021 13:30:21 +0000 Received: from localhost ([127.0.0.1]:38149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvgTt-0004q9-3o for submit@debbugs.gnu.org; Tue, 22 Jun 2021 09:30:21 -0400 Received: from quimby.gnus.org ([95.216.78.240]:36436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvgTq-0004gQ-Ji for 49166@debbugs.gnu.org; Tue, 22 Jun 2021 09:30:19 -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:In-Reply-To:Date: References: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=KcGY5A3/KartbNpe+SWNudxRjVVChFEpZ+yf63m63OE=; b=iNPBAt2TGuLXsSQnPv0XP89qK+ 443Bw+43B3PU7FGAw6AI+3r/TlVtJgQ0zwG7h806KBadIHmR+ydVjhNOdswnn0dfeBfNJw513n9Ks kD6aQoDLMVPax9TlV5aTrs2oBv2wwd3rbp9TpvKbckSHD0ZhhgqXL1k4Yuw/vzr/Cf38=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lvgTe-0006pr-RT; Tue, 22 Jun 2021 15:30:12 +0200 From: Lars Ingebrigtsen To: philip-agee@africamel.net Subject: Re: bug#49166: Writing in help-buffer does not show in history References: X-Now-Playing: Genesis's _And Then There Were Three_: "Scenes From A Night's Dream" Date: Tue, 22 Jun 2021 15:30:06 +0200 In-Reply-To: (philip-agee@africamel.net's message of "Mon, 21 Jun 2021 23:44:24 +0200 (CEST)") Message-ID: <87zgviowm9.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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: philip-agee@africamel.net writes: > Have written the following function that inserts text in the > help-buffer. > > Was curious to see whether the inserted text persist if one uses > the buttons or commands in the Help Buffer that tak [...] 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: 49166 Cc: 49166@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 (---) philip-agee@africamel.net writes: > Have written the following function that inserts text in the > help-buffer. > > Was curious to see whether the inserted text persist if one uses > the buttons or commands in the Help Buffer that take you > back/forth in the history of visited entries (you can invoke > those commands with 'l' for left ('help-go-back') and 'r' for > right ('help-go-forward')). > > It does not show in the history when using ('help-go-back'). > > Does it make sense to include the text in the history? The *Help* history doesn't save the actual text in the buffer, but regenerates it based on the parameters given -- so if you go back to the documentation for, say `describe-mode', it'll regenerate the buffer based on the current documentation for that command. This also means that if you change the documentation (loading a new version, for instance), you'll get the new version of the doc string, and not the old one. So this is working as intended, and I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 22 09:30:28 2021 Received: (at control) by debbugs.gnu.org; 22 Jun 2021 13:30:28 +0000 Received: from localhost ([127.0.0.1]:38152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvgTz-0004wB-LG for submit@debbugs.gnu.org; Tue, 22 Jun 2021 09:30:27 -0400 Received: from quimby.gnus.org ([95.216.78.240]:36450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvgTy-0004qM-Fz for control@debbugs.gnu.org; Tue, 22 Jun 2021 09:30:26 -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=aMTxd8ZNcAbwQ3lcN4uLoql350Sx4wcI1Mq5r8ai/qU=; b=G+sIfniZAE3+D26WYYAP08q+N5 DSbDDI7Y1Zkb7Ddw8CVixcDeN8b/v145JFayH3gW/2sB1pRxHirgdkk+UuqrUkFljtDcYWJF0h+fg am9vuZqXiaAGa5XwSoTRYpyLVRZ/MYuDP2QQzf81iLWTPJiRYZ80Tx5b2wVxMO8Sbuig=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lvgTn-0006pz-7F for control@debbugs.gnu.org; Tue, 22 Jun 2021 15:30:20 +0200 Date: Tue, 22 Jun 2021 15:30:14 +0200 Message-Id: <87y2b2owm1.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #49166 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 49166 notabug close 49166 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 49166 notabug close 49166 quit From unknown Sun Jul 27 06:43:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 21 Jul 2021 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