GNU bug report logs - #49166
Writing in help-buffer does not show in history

Previous Next

Package: emacs;

Reported by: philip-agee <at> africamel.net

Date: Tue, 22 Jun 2021 03:05:03 UTC

Severity: normal

Tags: notabug

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: philip-agee <at> africamel.net
To: bug-gnu-emacs <at> gnu.org
Subject: Writing in help-buffer does not show in history
Date: Mon, 21 Jun 2021 23:44:24 +0200 (CEST)
[Message part 1 (text/plain, inline)]
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 ()
  "todo docstring"
  (interactive)

  (with-help-window (help-buffer)
    (with-current-buffer (help-buffer)

      (insert "Abbreviated Capabilities\n\n")

      (insert "* orderless minibuffer completion\n")
      (princ "   orderless-enable\n")
      (princ "   orderless-disable\n\n")

      (insert "* ivy minibuffer completion\n")
      (princ "   ivy-enable\n")
      (princ "   ivy-disable\n\n")

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


[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 7 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.