From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#17210: 24.3.50; help mode [back] link to a C-h b keybind listing fails with message "Current buffer is not in Help mode" Date: Mon, 07 Apr 2014 09:48:43 +0200 Message-ID: <5342585B.9070603@gmx.at> References: <5341E798.4060004@iankelling.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1396856969 21386 80.91.229.3 (7 Apr 2014 07:49:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Apr 2014 07:49:29 +0000 (UTC) To: Ian Kelling , 17210@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 07 09:49:22 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WX4J0-00007V-2F for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Apr 2014 09:49:22 +0200 Original-Received: from localhost ([::1]:32835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WX4Iz-0005Bx-5d for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Apr 2014 03:49:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WX4Io-0005Ak-Rf for bug-gnu-emacs@gnu.org; Mon, 07 Apr 2014 03:49:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WX4Ih-0006BD-A8 for bug-gnu-emacs@gnu.org; Mon, 07 Apr 2014 03:49:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WX4Ih-0006B9-7J for bug-gnu-emacs@gnu.org; Mon, 07 Apr 2014 03:49:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WX4Ig-0005jM-Fn for bug-gnu-emacs@gnu.org; Mon, 07 Apr 2014 03:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Apr 2014 07:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17210 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17210-submit@debbugs.gnu.org id=B17210.139685693622000 (code B ref 17210); Mon, 07 Apr 2014 07:49:02 +0000 Original-Received: (at 17210) by debbugs.gnu.org; 7 Apr 2014 07:48:56 +0000 Original-Received: from localhost ([127.0.0.1]:38720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WX4IZ-0005ik-Be for submit@debbugs.gnu.org; Mon, 07 Apr 2014 03:48:55 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:51865) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WX4IW-0005ia-O5 for 17210@debbugs.gnu.org; Mon, 07 Apr 2014 03:48:53 -0400 Original-Received: from [188.22.46.29] ([188.22.46.29]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LfHs4-1XLoNs1jw0-00oqie; Mon, 07 Apr 2014 09:48:48 +0200 In-Reply-To: <5341E798.4060004@iankelling.org> X-Provags-ID: V03:K0:GXFSgnTU5YVlRMiXfwcGfGsJIPk7OQ6azEI4wo9nsemQFMpdyba AgcOKQhiF3z9LBvSfWSN594vsjtRVPD24ELZ5G41gOjnpe5wgap+VJrF2aC6Om2UcATsFW4 uw9HtPVucu9Asz22ncniWJRUKTSwLlKow90SfW4QbQpUmGFiiSugWAEo3yASmh7lIBIsWKv +hlESYGQDKN/d6Cwx6usw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:87843 Archived-At: > Repro steps: > emacs -Q > C-h b > click function name link > click back > > expected: > go back to the C-h b keymap listing > > acutal > in echo area: "Current buffer is not in Help mode" > the help buffer does no change. > > > The problem does not always happen, but it seems consistent on the first try in a > fresh emacs. Toggling debug on error, gives this trace: > > Debugger entered--Lisp error: (error "Current buffer is not in Help mode") > signal(error ("Current buffer is not in Help mode")) > error("Current buffer is not in Help mode") > help-buffer() > describe-bindings-internal(nil nil) > describe-bindings(nil #) > apply(describe-bindings (nil #)) > help-xref-go-back(#) > apply(help-xref-go-back #) > help-do-xref(63 help-xref-go-back (#)) > help-button-action(#) > button-activate(# nil) > push-button(66) > push-button((mouse-2 (# 66 (34 . 106) 107906261 nil 66 (3 . > 5) nil (7 . 11) (9 . 19)))) > call-interactively(push-button nil nil) > command-execute(push-button) Confirmed. Thanks for caring to provide a simple scenario. I could fix this by restoring the code of `describe-bindings-internal' from Emacs 24.3. But the behavior of `help-xref-go-back' here is erratic per se: It does not restore the earlier contents of the bindings from the *scratch* buffer but IIUC those of the *Help* buffer and I'm not sure whether that's what we want (I think we don't). Juri, any opinions? martin