From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: switch-to-buffer: for interactive use only Date: Thu, 07 Jul 2011 21:12:18 -0400 Message-ID: <87wrft7ez1.fsf@stupidchicken.com> 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 X-Trace: dough.gmane.org 1310087568 18021 80.91.229.12 (8 Jul 2011 01:12:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Jul 2011 01:12:48 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 08 03:12:43 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 1QezcX-0004nc-BJ for ged-emacs-devel@m.gmane.org; Fri, 08 Jul 2011 03:12:41 +0200 Original-Received: from localhost ([::1]:59287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QezcV-00025X-NB for ged-emacs-devel@m.gmane.org; Thu, 07 Jul 2011 21:12:39 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QezcI-00025M-PJ for emacs-devel@gnu.org; Thu, 07 Jul 2011 21:12:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QezcD-0006ng-J1 for emacs-devel@gnu.org; Thu, 07 Jul 2011 21:12:26 -0400 Original-Received: from vm-emlprdomr-05.its.yale.edu ([130.132.50.146]:42829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QezcD-0006nW-HE for emacs-devel@gnu.org; Thu, 07 Jul 2011 21:12:21 -0400 Original-Received: from furball (dhcp128036159184.central.yale.edu [128.36.159.184]) (authenticated bits=0) by vm-emlprdomr-05.its.yale.edu (8.14.4/8.14.4) with ESMTP id p681CIKU020023 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 7 Jul 2011 21:12:18 -0400 In-Reply-To: (Juanma Barranquero's message of "Fri, 8 Jul 2011 02:09:02 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.146 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.132.50.146 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:141772 Archived-At: Juanma Barranquero writes: > On Fri, Jul 8, 2011 at 01:39, Chong Yidong wrote: > >> How bout if switch-to-buffer tries to operate on the selected window, >> and calls pop-to-buffer if that is not possible? > > Isn't that pop-to-buffer-same-window? Yes, except switch-to-buffer has been around for much longer ;-) So: how bout getting rid of `pop-to-buffer-same-window' and making `switch-to-buffer' do what it does.