From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: help-window-select and info-lookup-symbol Date: Sun, 26 Jul 2009 12:39:50 +0200 Message-ID: References: <4A6439A9.6080406@gmx.at> <4A65C23E.3010801@gmx.at> <4A65CCD6.7060505@gmx.at> <4A66E5DB.6090007@gmx.at> <4A6C2991.8070908@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1248605142 11811 80.91.229.12 (26 Jul 2009 10:45:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Jul 2009 10:45:42 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 26 12:45:35 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MV1EU-0005nP-VZ for ged-emacs-devel@m.gmane.org; Sun, 26 Jul 2009 12:45:35 +0200 Original-Received: from localhost ([127.0.0.1]:45973 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MV1EU-0004DR-3q for ged-emacs-devel@m.gmane.org; Sun, 26 Jul 2009 06:45:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MV19M-00030k-Ho for emacs-devel@gnu.org; Sun, 26 Jul 2009 06:40:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MV19E-0002yc-05 for emacs-devel@gnu.org; Sun, 26 Jul 2009 06:40:13 -0400 Original-Received: from [199.232.76.173] (port=35137 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MV19B-0002yL-Ph for emacs-devel@gnu.org; Sun, 26 Jul 2009 06:40:06 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:51149 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MV19B-0002QS-AJ for emacs-devel@gnu.org; Sun, 26 Jul 2009 06:40:05 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MV198-0006eq-Bg for emacs-devel@gnu.org; Sun, 26 Jul 2009 10:40:02 +0000 Original-Received: from dial-180077.pool.broadband44.net ([212.46.180.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Jul 2009 10:40:02 +0000 Original-Received: from eller.helmut by dial-180077.pool.broadband44.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Jul 2009 10:40:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dial-180077.pool.broadband44.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:46bdyKDffAOOfmCBKO1FyCU9Gl0= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:113158 Archived-At: * martin rudalics [2009-07-26 12:01+0200] writes: >> The command which prepares and displays the help buffer (in 1 and 3) >> should probably wipe out the buffer-local variable. >> Not a big deal. Is it? > > IIUC in that case a `display-buffer' following another would wipe out > the variable set by the former. The problem is with recognizing whether > the buffer `display-buffer' is going to replace in some window was a > buffer the user switched to "manually" or "automatically". In the > former case `display-buffer' should remember the buffer in its > `old-buffer' variable while in the latter it should leave that variable > alone. Currently `display-buffer' has no means to distinguish these > cases. I was thinking that a new function or macro would delete the buffer-local variable before displaying the buffer, something like with-help-window. display-buffer would be called in the process but display-buffer would know nothing about the buffer-local variable. Helmut