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: managing windows in two frames Date: Fri, 06 Sep 2013 09:44:10 -0400 Message-ID: References: <8561uiclrj.fsf@stephe-leake.org> <5225EF0F.1090109@gmx.at> <52260D12.4040002@gmx.at> <5226D26F.7090301@gmx.at> <52274BE9.1010504@gmx.at> <5229B427.9010303@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1378475068 15603 80.91.229.3 (6 Sep 2013 13:44:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Sep 2013 13:44:28 +0000 (UTC) Cc: Stephen Leake , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 06 15:44:30 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VHwKr-0004DM-59 for ged-emacs-devel@m.gmane.org; Fri, 06 Sep 2013 15:44:29 +0200 Original-Received: from localhost ([::1]:37740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHwKq-000339-8j for ged-emacs-devel@m.gmane.org; Fri, 06 Sep 2013 09:44:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHwKh-000320-6O for emacs-devel@gnu.org; Fri, 06 Sep 2013 09:44:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHwKZ-0006nQ-Sn for emacs-devel@gnu.org; Fri, 06 Sep 2013 09:44:19 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:32205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHwKZ-0006nG-OU for emacs-devel@gnu.org; Fri, 06 Sep 2013 09:44:11 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFHO+KK6/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAs0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IPAS-Result: Av4EABK/CFHO+KK6/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAs0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="26655153" Original-Received: from 206-248-162-186.dsl.teksavvy.com (HELO pastel.home) ([206.248.162.186]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 06 Sep 2013 09:41:02 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 9E7276329D; Fri, 6 Sep 2013 09:44:10 -0400 (EDT) In-Reply-To: <5229B427.9010303@gmx.at> (martin rudalics's message of "Fri, 06 Sep 2013 12:53:27 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:163223 Archived-At: >> You can, but that doesn't undo the fact that the user has seen it (and >> may have had to place it manually on his desktop). > That's the user's problem since in this case she did override your > suggestion on not using another frame. The user's choice has nothing to do with it: let's say Jorge (someone writing an Elisp package) wants to get the *Help* buffer that shows the doc of a function, but he doesn't want to display it (e.g. because he wants to process that buffer's content in some other way). The only function he does have is one that displays the buffer (additionally to filling the buffer with the data I want). So he wants to trick that function into not displaying the buffer. Typically, people use save-window-excursion for that, but it fails if the buffer ends up displayed in some other frame (or worse, in a new frame), which can happen depending on the user's settings. So Jorge really wants he code to work regardless of any user's customization of display-buffer, in the same sense that find-file-noselect does not pay attention to the user's display-buffer settings. Stefan