From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Window configurations Date: Fri, 18 Jun 2010 11:28:55 +0300 Organization: JURTA Message-ID: <87mxusbvhc.fsf@mail.jurta.org> References: <4BB4CF6B.2000007@alice.it> <87y6fns8qo.fsf@mail.jurta.org> <4BECF4D6.9030707@gmx.at> <87632na2af.fsf@mail.jurta.org> <4C03F1B5.8040708@gmx.at> <4C04D1BF.9070902@gmx.at> <4C052F8C.8030208@gmx.at> <87sk56sg6x.fsf@mail.jurta.org> <4C16616C.2070101@gmx.at> <87pqztiafa.fsf@mail.jurta.org> <4C1726D3.2090308@gmx.at> <87pqzsm2m6.fsf@mail.jurta.org> <4C1908ED.6090107@gmx.at> <878w6esntw.fsf@mail.jurta.org> <4C19D59E.5010402@gmx.at> <87sk4mowe8.fsf@mail.jurta.org> <4C19F6FB.6040203@gmx.at> <871vc5xugj.fsf@mail.jurta.org> <4C1B1377.2020307@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276849918 32110 80.91.229.12 (18 Jun 2010 08:31:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Jun 2010 08:31:58 +0000 (UTC) Cc: Stefan Monnier , Emacs To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 18 10:31:56 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OPWzU-0001bb-Fq for ged-emacs-devel@m.gmane.org; Fri, 18 Jun 2010 10:31:56 +0200 Original-Received: from localhost ([127.0.0.1]:58035 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPWzT-0007sp-To for ged-emacs-devel@m.gmane.org; Fri, 18 Jun 2010 04:31:55 -0400 Original-Received: from [140.186.70.92] (port=34436 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPWz2-0007UT-VM for emacs-devel@gnu.org; Fri, 18 Jun 2010 04:31:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPWz1-0007ze-1F for emacs-devel@gnu.org; Fri, 18 Jun 2010 04:31:28 -0400 Original-Received: from smtp-out2.starman.ee ([85.253.0.4]:46810 helo=mx2.starman.ee) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPWz0-0007zY-RF for emacs-devel@gnu.org; Fri, 18 Jun 2010 04:31:26 -0400 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Original-Received: from mail.starman.ee (82.131.35.251.cable.starman.ee [82.131.35.251]) by mx2.starman.ee (Postfix) with ESMTP id C71F43F4068; Fri, 18 Jun 2010 11:31:23 +0300 (EEST) In-Reply-To: <4C1B1377.2020307@gmx.at> (martin rudalics's message of "Fri, 18 Jun 2010 08:34:31 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.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:126136 Archived-At: > My description was unclear. I meant: > > (1) Pop up the help window. > > (2) In that window display some other buffer. > > (3) Kill that other buffer. > > What Emacs now shall do with the window is unclear. Of course, it should switch back to the help buffer without deleting the window. > (2") Reuse the window to display info. > > (3") Quit info. > > which likely should delete the window. 3" should not delete the window. Everything should work exactly as it already works in the simplest case: (0) Run `emacs -Q'. (1) Pop up the help window. `C-h f car RET C-x o' (2) Reuse the window to display info. `C-h i' (3) In that window display some other buffer. `C-h C-t' (4) Kill that other buffer. `C-x k RET' The previous buffer "*info*" is displayed in this window. (5) Quit info. `q' The previous buffer "*Help*" is displayed in this window. (6) Type `q' The window is deleted. IOW, we should not invent a new behavior, just fix some cases (that I mentioned earlier where selecting another windows messes up the global buffer list and thus detaches the buffer from its original window). I believe that using a window parameter `buffer-list' will help to fix this. -- Juri Linkov http://www.jurta.org/emacs/