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: quit-window is broken Date: Mon, 17 Nov 2008 20:15:31 +0100 Message-ID: <4921C2D3.9090800@gmx.at> References: <49218C51.4000700@gnu.org> <492195F3.30905@gmx.at> <492197C7.6080908@gnu.org> <4921990E.5080106@gmx.at> <4921BE23.7010706@gnu.org> 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 1226949473 10948 80.91.229.12 (17 Nov 2008 19:17:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2008 19:17:53 +0000 (UTC) To: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 17 20:18:55 2008 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 1L29cP-0001TS-0b for ged-emacs-devel@m.gmane.org; Mon, 17 Nov 2008 20:18:41 +0100 Original-Received: from localhost ([127.0.0.1]:60245 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L29bG-0003Rk-CJ for ged-emacs-devel@m.gmane.org; Mon, 17 Nov 2008 14:17:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L29bC-0003RJ-6n for emacs-devel@gnu.org; Mon, 17 Nov 2008 14:17:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L29bA-0003R7-9X for emacs-devel@gnu.org; Mon, 17 Nov 2008 14:17:25 -0500 Original-Received: from [199.232.76.173] (port=55298 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L29bA-0003R4-58 for emacs-devel@gnu.org; Mon, 17 Nov 2008 14:17:24 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:40405) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1L29b8-0006L9-L0 for emacs-devel@gnu.org; Mon, 17 Nov 2008 14:17:24 -0500 Original-Received: (qmail invoked by alias); 17 Nov 2008 19:17:14 -0000 Original-Received: from 88-117-40-51.adsl.highway.telekom.at (EHLO [88.117.40.51]) [88.117.40.51] by mail.gmx.net (mp063) with SMTP; 17 Nov 2008 20:17:14 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+TanNb4ceTeuFeGlZM8x/Q4U168sC8S/BcwijRyy U8UoRES00avoFF User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <4921BE23.7010706@gnu.org> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.83 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:105759 Archived-At: > yes, it turned out that the problem was with my advice to > switch-to-buffer not to create new buffers by default. > I wish there were an option for that. But `switch-to-buffer' doesn't create a new buffer by default. It switches to the buffer returned by `other-buffer' instead. If it helps we can always hardcode `other-buffer' in the call in `quit-window'. When `pop-to-buffer' is rewritten we might have to do that anyway. Then the semantics of `switch-to-buffer' changes too ... martin