From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: help-window-select and info-lookup-symbol Date: Sun, 26 Jul 2009 12:01:53 +0200 Message-ID: <4A6C2991.8070908@gmx.at> References: <4A6439A9.6080406@gmx.at> <4A65C23E.3010801@gmx.at> <4A65CCD6.7060505@gmx.at> <4A66E5DB.6090007@gmx.at> NNTP-Posting-Host: lo.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 1248602540 6005 80.91.229.12 (26 Jul 2009 10:02:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Jul 2009 10:02:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 26 12:02:13 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 1MV0YW-0006U9-EO for ged-emacs-devel@m.gmane.org; Sun, 26 Jul 2009 12:02:12 +0200 Original-Received: from localhost ([127.0.0.1]:52039 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MV0YV-0006PH-LU for ged-emacs-devel@m.gmane.org; Sun, 26 Jul 2009 06:02:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MV0YP-0006P9-7S for emacs-devel@gnu.org; Sun, 26 Jul 2009 06:02:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MV0YK-0006Oh-8y for emacs-devel@gnu.org; Sun, 26 Jul 2009 06:02:04 -0400 Original-Received: from [199.232.76.173] (port=34538 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MV0YK-0006Ob-4Z for emacs-devel@gnu.org; Sun, 26 Jul 2009 06:02:00 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:53980) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MV0YJ-0002CU-0B for emacs-devel@gnu.org; Sun, 26 Jul 2009 06:01:59 -0400 Original-Received: (qmail invoked by alias); 26 Jul 2009 10:01:56 -0000 Original-Received: from 62-47-49-25.adsl.highway.telekom.at (EHLO [62.47.49.25]) [62.47.49.25] by mail.gmx.net (mp047) with SMTP; 26 Jul 2009 12:01:56 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19KkQsTgz1KAazy+ckScbs2vHpUshHuMG5IKGmrXQ 60RBuqKPkh7sit User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-FuHaFi: 0.75 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:113157 Archived-At: > 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. martin