From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: switch-to-buffer: for interactive use only Date: Tue, 05 Jul 2011 17:40:25 -0400 Message-ID: <0aiprg76eu.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1309905558 20215 80.91.229.12 (5 Jul 2011 22:39:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Jul 2011 22:39:18 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 06 00:39:15 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 1QeEGv-0002RK-KT for ged-emacs-devel@m.gmane.org; Wed, 06 Jul 2011 00:39:13 +0200 Original-Received: from localhost ([::1]:60033 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeEFP-0002AD-Lh for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2011 18:37:39 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeDM4-0005Qv-8v for emacs-devel@gnu.org; Tue, 05 Jul 2011 17:40:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QeDM2-0000tG-Ns for emacs-devel@gnu.org; Tue, 05 Jul 2011 17:40:27 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:57037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeDM2-0000t5-Dy for emacs-devel@gnu.org; Tue, 05 Jul 2011 17:40:26 -0400 Original-Received: from localhost ([127.0.0.1]:43228) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeDM1-000595-S4; Tue, 05 Jul 2011 17:40:25 -0400 X-Spook: Glock LABLINK CIA national information infrastructure X-Ran: -Yyx=hFQifzJ8blT+/&@)`PqrKpn:GN!*^9R(oGr=)67IVYPfs.AZlt<~@ 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:141618 Archived-At: Was it really necessary to mark switch-to-buffer "for interactive use only"? It's a pretty basic command that was used in ~ 800 places in the Emacs 23.3 sources. The Emacs 23.3 Lisp manual also says "The @code{switch-to-buffer} function is often used interactively... It is also used frequently in programs". Isn't there a better way to handle this than replacing hundreds of calls with `pop-to-buffer-same-window'?