From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Help cross reference to source file Date: Tue, 11 Jul 2006 11:14:27 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1152641706 9044 80.91.229.2 (11 Jul 2006 18:15:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Jul 2006 18:15:06 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 11 20:15:02 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G0Mkz-0005vW-NT for ged-emacs-devel@m.gmane.org; Tue, 11 Jul 2006 20:14:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G0Mkz-0005Ck-1W for ged-emacs-devel@m.gmane.org; Tue, 11 Jul 2006 14:14:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G0Mkl-0005B2-Im for emacs-devel@gnu.org; Tue, 11 Jul 2006 14:14:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G0Mkk-00059L-2C for emacs-devel@gnu.org; Tue, 11 Jul 2006 14:14:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G0Mkj-000597-Nc for emacs-devel@gnu.org; Tue, 11 Jul 2006 14:14:33 -0400 Original-Received: from [148.87.113.118] (helo=rgminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1G0Mm6-0008C7-AX for emacs-devel@gnu.org; Tue, 11 Jul 2006 14:15:58 -0400 Original-Received: from rgmsgw300.us.oracle.com (rgmsgw300.us.oracle.com [138.1.186.49]) by rgminet01.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id k6BIEVqq026943 for ; Tue, 11 Jul 2006 12:14:31 -0600 Original-Received: from dradamslap (dhcp-amer-whq-csvpn-gw3-141-144-80-214.vpn.oracle.com [141.144.80.214]) by rgmsgw300.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with SMTP id k6BIEUYg007416 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Tue, 11 Jul 2006 12:14:31 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 In-Reply-To: Importance: Normal X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE 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:56928 Archived-At: > + (switch-to-buffer (current-buffer)) This burps if the selected window is a minibuffer or dedicated window. I think we should mark switch-to-buffer as "not for use from elisp" (like insert-buffer and others). I disagree that switch-to-buffer shouldn't be used from Lisp (unless a similar functionality is made available in another function). Actually, I have a question here. Are these equivalent when pop-up-frames is non-nil? If not, what's the difference? 1. (switch-to-buffer-other-window foo) 2. (pop-to-buffer foo) I see some minor differences indicated by the doc strings: - NORECORD arg - OTHER-WINDOW arg For pop-to-buffer, it only "preferably" uses a different window, unless OTHER-WINDOW is non-nil. But I don't notice any major differences. Is one of these recommended (assuming I have non-nil pop-up-frames) and the other discouraged? Thx - Drew