From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#49166: Writing in help-buffer does not show in history Date: Tue, 22 Jun 2021 10:34:22 +0100 Message-ID: <87tulqb5up.fsf@tcd.ie> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32582"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 49166@debbugs.gnu.org To: philip-agee@africamel.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 22 11:43:51 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 1lvcwf-0008EY-OP for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Jun 2021 11:43:49 +0200 Original-Received: from localhost ([::1]:45566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvcwe-0005aQ-Mz for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Jun 2021 05:43:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvcoA-0003SZ-Ve for bug-gnu-emacs@gnu.org; Tue, 22 Jun 2021 05:35:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54544) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lvcoA-0003MW-OO for bug-gnu-emacs@gnu.org; Tue, 22 Jun 2021 05:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lvcoA-0008Re-GO for bug-gnu-emacs@gnu.org; Tue, 22 Jun 2021 05:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Jun 2021 09:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49166 X-GNU-PR-Package: emacs Original-Received: via spool by 49166-submit@debbugs.gnu.org id=B49166.162435447432423 (code B ref 49166); Tue, 22 Jun 2021 09:35:02 +0000 Original-Received: (at 49166) by debbugs.gnu.org; 22 Jun 2021 09:34:34 +0000 Original-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 Original-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 Original-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) Original-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) In-Reply-To: (philip-agee@africamel.net's message of "Mon, 21 Jun 2021 23:44:24 +0200 (CEST)") 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:208841 Archived-At: 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