From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: switch-to-buffer: for interactive use only Date: Fri, 08 Jul 2011 14:46:58 -0400 Message-ID: References: <0aiprg76eu.fsf@fencepost.gnu.org> <87hb6zt8rg.fsf@stupidchicken.com> <8739ihlsry.fsf@stupidchicken.com> <4E16A728.5040002@gmx.at> <4E170E48.5040408@gmx.at> <4E173412.3090804@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310150890 20900 80.91.229.12 (8 Jul 2011 18:48:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Jul 2011 18:48:10 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 08 20:48:06 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 1QfG5r-00066U-Da for ged-emacs-devel@m.gmane.org; Fri, 08 Jul 2011 20:48:03 +0200 Original-Received: from localhost ([::1]:59258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfG5q-0003Nu-QX for ged-emacs-devel@m.gmane.org; Fri, 08 Jul 2011 14:48:03 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfG4s-0003G2-7H for emacs-devel@gnu.org; Fri, 08 Jul 2011 14:47:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QfG4q-00073e-LJ for emacs-devel@gnu.org; Fri, 08 Jul 2011 14:47:01 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:19627 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfG4q-00073W-Du for emacs-devel@gnu.org; Fri, 08 Jul 2011 14:47:00 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAJhPF05MCqt8/2dsb2JhbABUp1B4iHvBBoY4BJ59hC8 X-IronPort-AV: E=Sophos;i="4.65,500,1304308800"; d="scan'208";a="123834210" Original-Received: from 76-10-171-124.dsl.teksavvy.com (HELO pastel.home) ([76.10.171.124]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 08 Jul 2011 14:46:59 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 0383059160; Fri, 8 Jul 2011 14:46:59 -0400 (EDT) In-Reply-To: <4E173412.3090804@gmx.at> (martin rudalics's message of "Fri, 08 Jul 2011 18:45:06 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:141816 Archived-At: >>> I'm not sure though whether you >>> would want to make `display-buffer' reuse weakly dedicated windows too? >> No, indeed, not display-buffer. > Then tell my what you expect a function like `pop-to-buffer-same-window' > do differently from `switch-to-buffer'. One of the two needs to display the buffer, "no matter what", whereas the other needs to only affect the selected window. Stefan