From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Kifer Newsgroups: gmane.emacs.devel Subject: Re: [evilborisnet@netscape.net: weird behavior of ediff with multiple displays] Date: Wed, 07 Dec 2005 18:53:32 -0500 Message-ID: <20051207235332.3E7B520734B@kiferdesk.lmc.cs.sunysb.edu> References: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1133999730 21693 80.91.229.2 (7 Dec 2005 23:55:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Dec 2005 23:55:30 +0000 (UTC) Cc: emacs-devel@gnu.org, evilborisnet@netscape.net Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 08 00:55:19 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ek96Z-0001c4-Cm for ged-emacs-devel@m.gmane.org; Thu, 08 Dec 2005 00:53:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ek96p-0001jq-04 for ged-emacs-devel@m.gmane.org; Wed, 07 Dec 2005 18:54:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ek96f-0001jk-5N for emacs-devel@gnu.org; Wed, 07 Dec 2005 18:53:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ek96e-0001jY-MV for emacs-devel@gnu.org; Wed, 07 Dec 2005 18:53:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ek96e-0001jV-Fd for emacs-devel@gnu.org; Wed, 07 Dec 2005 18:53:52 -0500 Original-Received: from [130.245.1.15] (helo=sbcs.cs.sunysb.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ek97Y-0006vm-QY; Wed, 07 Dec 2005 18:54:48 -0500 Original-Received: from kiferdesk.lmc.cs.sunysb.edu (compserv2 [130.245.1.58]) by sbcs.cs.sunysb.edu (8.12.3/8.12.11) with ESMTP id jB7NrVGg028351; Wed, 7 Dec 2005 18:53:31 -0500 (EST) Original-Received: by kiferdesk.lmc.cs.sunysb.edu (Postfix, from userid 500) id 3E7B520734B; Wed, 7 Dec 2005 18:53:32 -0500 (EST) Original-Received: from lmcgw.cs.sunysb.edu (localhost [127.0.0.1]) by kiferdesk.lmc.cs.sunysb.edu (Postfix) with ESMTP id 3B966207341; Wed, 7 Dec 2005 18:53:32 -0500 (EST) Original-To: rms@gnu.org In-Reply-To: Message from "Richard M. Stallman" of "Wed, 07 Dec 2005 17:58:39 EST." X-Mailer: MH-E 7.85+cvs; nmh 1.0.4; GNU Emacs 22.0.50.5 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:47182 Archived-At: rms wrote: > > (make-frame > (list > '(name . "FOOBAR") > '(minibuffer . nil))) > > That says this frame should not have its own minibuffer. > Emacs handles that by creating a separate minibuffer frame for > this frame to use. That is the right thing for it to do. > > Given that, can you determine whether there's a bug, > and whether it is in ediff? > I don't think this is the right thing to do in all cases. This shouldn't happen when there is another frame that already has a minibuffer. For some reason emacs adds the separate minibuffer frame when it works over the ssh tunnel and displays frames on the local machine (while running on a remote). It seems that it gets confused about this situation. This is the situation that I gave in my test case. Run emacs-cvs -Q -q --display :0.0 --eval '(make-frame-on-display "localhost:10.0") through an ssh tunnel, as you described, but instead of using ediff try to eval this: (make-frame (list '(name . "FOOBAR") '(minibuffer . nil) '(user-position . t) '(vertical-scroll-bars . nil) '(menu-bar-lines . 0) '(tool-bar-lines . 0) '(auto-lower . nil) '(auto-raise . t) '(visibility . nil) '(width . 1) '(height . 1))) then when the dust settles you will see an unrequested minibuffer frame as well.