From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stephen Eglen Newsgroups: gmane.emacs.devel Subject: info-look.el bug Date: Sun, 1 Feb 2004 14:48:31 +0000 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <16413.4543.492252.351095@bushmills.inf.ed.ac.uk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1075647143 17835 80.91.224.253 (1 Feb 2004 14:52:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 1 Feb 2004 14:52:23 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Feb 01 15:52:18 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AnIxO-0002hi-00 for ; Sun, 01 Feb 2004 15:52:18 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AnIxO-0002bI-00 for ; Sun, 01 Feb 2004 15:52:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AnIvd-0004Xl-RN for emacs-devel@quimby.gnus.org; Sun, 01 Feb 2004 09:50:29 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AnIvH-0004VL-Ff for emacs-devel@gnu.org; Sun, 01 Feb 2004 09:50:07 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AnIuk-0004Gp-KQ for emacs-devel@gnu.org; Sun, 01 Feb 2004 09:50:06 -0500 Original-Received: from [129.215.32.40] (helo=topper.inf.ed.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AnIuk-000421-6J for emacs-devel@gnu.org; Sun, 01 Feb 2004 09:49:34 -0500 Original-Received: from bushmills.inf.ed.ac.uk (bushmills.inf.ed.ac.uk [129.215.29.144]) by topper.inf.ed.ac.uk (8.11.6/8.11.6) with ESMTP id i11EmVd02091 for ; Sun, 1 Feb 2004 14:48:31 GMT Original-Received: from bushmills.inf.ed.ac.uk (localhost [127.0.0.1]) by bushmills.inf.ed.ac.uk (8.12.8/8.12.8) with ESMTP id i11EmV9T016766 for ; Sun, 1 Feb 2004 14:48:31 GMT Original-Received: (from stephen@localhost) by bushmills.inf.ed.ac.uk (8.12.8/8.12.8/Submit) id i11EmVlK016762; Sun, 1 Feb 2004 14:48:31 GMT Original-To: emacs-devel@gnu.org X-Mailer: VM 7.17 under Emacs 21.3.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19611 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19611 Hi, I think I've found a little bug in info-look.el. If anyone out there regularly uses info-look.el, could they please check the following and get back to me? % emacs -q In the *scratch* buffer, type "C-h S defun RET". The frame should divide into two: the top window shows *scratch* and the bottom window shows the definition of "defun" from the elisp *info*. Still in the scratch buffer, type "C-h S setq RET". This time the *scratch* buffer disappears and is replaced by another window showing *info* for setq; so now, both windows are showing an info node, but the scratch buffer has gone. I think this behaviour is wrong, and that if the *info* buffer is already visible, it should not be viewed again in another window. I think have tracked down the problem to the call in info-lookup where it calls Info-goto-node. I think this problem can be solved by using save-window-excursion, but then on the second call to C-h S, the highlighting is not shown. Anyone have a better idea of how to solve this? Thanks, Stephen