From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jpkotta Newsgroups: gmane.emacs.help Subject: Re: How do I stop my emacs frame jumping when I enter emacs Date: Sun, 14 Jun 2009 13:22:03 -0700 (PDT) Organization: http://groups.google.com Message-ID: <16080c89-13bb-41ed-a4e8-66632a81e712@d2g2000pra.googlegroups.com> References: <5D77A036-F287-41D4-B502-48EDB3B4F910@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1245012039 14959 80.91.229.12 (14 Jun 2009 20:40:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Jun 2009 20:40:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 14 22:40:37 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MFwVI-00076j-7x for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Jun 2009 22:40:36 +0200 Original-Received: from localhost ([127.0.0.1]:57004 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFwVH-0005wt-KI for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Jun 2009 16:40:35 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!d2g2000pra.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: 96.18.60.209 Original-X-Trace: posting.google.com 1245010923 5023 127.0.0.1 (14 Jun 2009 20:22:03 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 14 Jun 2009 20:22:03 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d2g2000pra.googlegroups.com; posting-host=96.18.60.209; posting-account=EwI0QQoAAADdqmqX_mVfawBNtwyks2YE User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.80 (X11; Linux i686; U; en) Presto/2.2.15 Version/10.00,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:170061 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65289 Archived-At: On Jun 11, 10:15=A0am, Peter Dyballa wrote: > Am 11.06.2009 um 16:53 schrieb Alex Bennee: > > > But why would the window manager get involved? Is ediff creating new > > frames for the > > hell of it? > > Yes, it is! At least one very small one (one-liner), which you can =A0 > make bigger and then see how to work with ediff (it's some time ago =A0 > since I last used it, usually a compare-windows is sufficient for me). > >From http://www.emacswiki.org/emacs/EdiffMode By default ediff spawns a new frame to display files to be compared or merged. But I found it is less usable than use selected-frame to operate on. Also it splits window vertically to display files and I found it hard to perceive provided information in such way. Horizontal split is more attractive for me. To make ediff operate on selected-frame add next: (setq ediff-window-setup-function 'ediff-setup-windows-plain) Unfortunately, there seems to be a bug in my particular version of Emacs 22.2.1. It is fixed in Emacs 23, possibly in some version of 22.