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: switch-to-buffer: for interactive use only Date: Fri, 08 Jul 2011 08:44:20 +0200 Message-ID: <4E16A744.3090907@gmx.at> References: <0aiprg76eu.fsf@fencepost.gnu.org> <87hb6zt8rg.fsf@stupidchicken.com> <8739ihlsry.fsf@stupidchicken.com> <871uy1u0c3.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1310107711 15291 80.91.229.12 (8 Jul 2011 06:48:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Jul 2011 06:48:31 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 08 08:48:25 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qf4rP-0006R2-P9 for ged-emacs-devel@m.gmane.org; Fri, 08 Jul 2011 08:48:23 +0200 Original-Received: from localhost ([::1]:51503 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qf4rO-0000sU-KW for ged-emacs-devel@m.gmane.org; Fri, 08 Jul 2011 02:48:22 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qf4nf-0008QY-HG for emacs-devel@gnu.org; Fri, 08 Jul 2011 02:44:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qf4nc-0001cG-AJ for emacs-devel@gnu.org; Fri, 08 Jul 2011 02:44:30 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:37674) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Qf4nb-0001by-Bu for emacs-devel@gnu.org; Fri, 08 Jul 2011 02:44:28 -0400 Original-Received: (qmail invoked by alias); 08 Jul 2011 06:44:24 -0000 Original-Received: from 62-47-63-105.adsl.highway.telekom.at (EHLO [62.47.63.105]) [62.47.63.105] by mail.gmx.net (mp042) with SMTP; 08 Jul 2011 08:44:24 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18JYt0Ex00JLpAo/WlnIBbU90aEaOdqvA4wFHBcWm EDZG9C5mu3t251 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <871uy1u0c3.fsf@stupidchicken.com> X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.165.64.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:141778 Archived-At: > How bout if switch-to-buffer tries to operate on the selected window, > and calls pop-to-buffer if that is not possible? That's what it tried to do until Stefan's change. It's wrong for two reasons: - It can use the selected window even if it's weakly dedicated. - It cannot be customized unless the selected is strongly dedicated. martin