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.bugs Subject: bug#49166: Writing in help-buffer does not show in history Date: Mon, 21 Jun 2021 23:44:24 +0200 (CEST) Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_60d10838_38d_1b2661d4" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27599"; mail-complaints-to="usenet@ciao.gmane.io" To: 49166@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 22 05:05:14 2021 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 1lvWiv-000713-OB for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Jun 2021 05:05:13 +0200 Original-Received: from localhost ([::1]:53884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvWiu-0002jT-NB for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Jun 2021 23:05:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvWim-0002iW-00 for bug-gnu-emacs@gnu.org; Mon, 21 Jun 2021 23:05:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53832) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lvWil-0005Cz-Ok for bug-gnu-emacs@gnu.org; Mon, 21 Jun 2021 23:05:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lvWil-0004Ve-K4 for bug-gnu-emacs@gnu.org; Mon, 21 Jun 2021 23:05:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: philip-agee@africamel.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Jun 2021 03:05:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49166 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.162433109917274 (code B ref -1); Tue, 22 Jun 2021 03:05:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Jun 2021 03:04:59 +0000 Original-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 Original-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 Original-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 Original-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= Original-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 X-Priority: 3 X-Mailer: COMS/EA21.01/r20210601 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-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 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" Xref: news.gmane.io gmane.emacs.bugs:208837 Archived-At: ------=_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--