From: pjb@informatimago.com (Pascal J. Bourguignon)
To: help-gnu-emacs@gnu.org
Subject: Re: How do I stop my emacs frame jumping when I enter emacs
Date: Thu, 11 Jun 2009 17:05:45 +0200 [thread overview]
Message-ID: <7c4oum24l2.fsf@pbourguignon.anevia.com> (raw)
In-Reply-To: mailman.463.1244731989.2239.help-gnu-emacs@gnu.org
Alex Bennee <kernel-hacker@bennee.com> writes:
> 2009/6/11 Peter Dyballa <Peter_Dyballa@web.de>:
>>
>> Am 11.06.2009 um 15:57 schrieb Alex Bennee:
>>
>>> Has anyone else seen this?
>> What is your windows manager? And version? Also that of GNU Emacs. And what
>> is that windows manager's configuration?
>
> compiz (1:0.7.4-0ubuntu8~ppa1) running on Ubuntu Hardy Gnome desktop.
>
> 15:52 ajb@pitcairn/x86_64 [elisp.git] >emacs --version
> GNU Emacs 23.0.60.1
>
> But why would the window manager get involved? Is ediff creating new
> frames for the hell of it?
Because the window manager gets the opportunity to place the windows
when they're created.
First, the window may be positionned from what defaults are given in
~/.Xresources ; check a line such as: emacs.geometry: 81x71-68+0
Then the window manager may position the window (notably, most window
manager add decorations above the window (eg a title bar) so it will
actually move the windows down by the title bar height). Often it's
not visible, because it's done before drawing the window, but you can
see it if you open the window before starting the window manager.
Finally, ~/.emacs may contain expressions to move and size the frames.
Yes, from emacs lisp it's not "window" anymore but "frame" we're back
on the right side of the mirror here :-)
So you can avoid jumping by giving consistent positions and sizes in
all these places, or by removing the later sizing and positionning.
--
__Pascal Bourguignon__
prev parent reply other threads:[~2009-06-11 15:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-11 13:57 How do I stop my emacs frame jumping when I enter emacs Alex Bennee
2009-06-11 14:45 ` Peter Dyballa
2009-06-11 14:53 ` Alex Bennee
2009-06-11 15:15 ` Peter Dyballa
[not found] ` <mailman.468.1244733313.2239.help-gnu-emacs@gnu.org>
2009-06-14 20:22 ` jpkotta
2009-06-15 9:58 ` Alex Bennee
[not found] ` <mailman.463.1244731989.2239.help-gnu-emacs@gnu.org>
2009-06-11 15:05 ` Pascal J. Bourguignon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7c4oum24l2.fsf@pbourguignon.anevia.com \
--to=pjb@informatimago.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.