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: Tue, 03 Sep 2013 16:34:49 -0400 Message-ID: References: <8561uiclrj.fsf@stephe-leake.org> <5225EF0F.1090109@gmx.at> <52260D12.4040002@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1378240511 23065 80.91.229.3 (3 Sep 2013 20:35:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Sep 2013 20:35:11 +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 Tue Sep 03 22:35:13 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 1VGxJg-0005Fd-Te for ged-emacs-devel@m.gmane.org; Tue, 03 Sep 2013 22:35:13 +0200 Original-Received: from localhost ([::1]:49055 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGxJg-0000uH-Cf for ged-emacs-devel@m.gmane.org; Tue, 03 Sep 2013 16:35:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGxJW-0000li-Om for emacs-devel@gnu.org; Tue, 03 Sep 2013 16:35:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VGxJN-00012g-S0 for emacs-devel@gnu.org; Tue, 03 Sep 2013 16:35:02 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:44641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGxJN-00012N-Of for emacs-devel@gnu.org; Tue, 03 Sep 2013 16:34:53 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.DIT.UMontreal.CA (8.14.1/8.14.1) with ESMTP id r83KYxSf003120; Tue, 3 Sep 2013 16:34:59 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 9FECEB41C5; Tue, 3 Sep 2013 16:34:49 -0400 (EDT) In-Reply-To: <52260D12.4040002@gmx.at> (martin rudalics's message of "Tue, 03 Sep 2013 18:23:46 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4690=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4690> : streams <1030966> : uri <1526134> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:163174 Archived-At: >> Hmm... I misunderstood (and misused) it, then. How do I tell >> display-buffer to not use another frame (I typically do that when >> I want to make sure save-window-excursion will properly undo the >> damage)? > Add another entry, say `inhibit-other-frame'? I meant: what is there currently available. > But you should know better that using `save-window-excursion' around a > `display-buffer' call is bad karma. A user can always request another > frame. I do know it's terribly bad karma, but when all you have is a function that "fills a buffer and displays it" and you only want the buffer, without displaying it... Stefan