From: Michael Ekstrand <michael@elehack.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs yanking my frames all over the desktop
Date: Sun, 22 Mar 2009 10:39:42 -0500 [thread overview]
Message-ID: <87ab7dpnwh.fsf@jehiel.elehack.net> (raw)
In-Reply-To: 87ab7d25tj.fsf@lion.rapttech.com.au
Tim X <timx@nospam.dev.null> writes:
> Michael Ekstrand <michael@elehack.net> writes:
>> I am running Emacs 23 (pretest on one machine, Debian snapshot packages
>> on another) with the GTK+ GUI under XFCE 4.4 and suffer from some rather
>> annoying behavior with regards to raising frames.
>>
>> When a frame is raised, Emacs is not content to raise that frame to the
>> top and give it the focus if possible. If the frame is on a different
>> virtual workspace from the one I am currently viewing, it moves the
>> frame to the current workspace. When I have different frames for
>> (primarily) different purposes laid out on workspaces where I want them,
>> it is frustrating to have Emacs destroy that by moving them around.
>> I've fixed the primary context of the problem by telling ido to display
>> buffers in the active frame rather than their current frame if they're
>> already displayed, but sometimes it still comes up and bites me
>> occasionally if Emacs is a bit slow in responding and I flip to a
>> different desktop to look at something while it works and then decides
>> it needs to raise the frame.
>>
>> Looking through customize and with apropos, I cannot find any variables
>> I can use to adjust this behavior.
>>
>> Is there a way I can instruct Emacs to never move a frame from one
>> virtual desktop to another? If it wants to raise a frame on a different
>> desktop, marking the frame as urgent (and possibly moving it to the top
>> on that desktop) and waiting until I return to the desktop it's on would
>> be ideal behavior.
>>
>> Thanks,
>> - Michael
>
> I suspect that this may be a window manager issue rather than an emacs
> one - emacs doesn't know anything about virtual desktops or
> windows. Window/frame placement is usually the role of the window
> manager.
>
> Not sure why you would see the strange behavior with a GTK version and
> not the old version, unless its something 'odd' in the way GTK
> passes/communicates information to the window manager.
>
> What window manager are you running?
xfwm4 (from Xfce 4.4). I don't know that the problem is specific to the
GTK version; I was just trying to be complete in describing my
configuration in case it did matter (e.g., under GTK Emacs calls the
equivalent of gtk_window_raise_and_annoy_user()).
But, as Joost pointed out, it is an xfwm problem solvable with a hidden
knob. Given that, I imagine that the traditional X11 Emacs would suffer
from the same problem.
- Michael
--
mouse, n: A device for pointing at the xterm in which you want to type.
Confused by the strange files? I cryptographically sign my messages.
For more information see <http://www.elehack.net/resources/gpg>.
prev parent reply other threads:[~2009-03-22 15:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-21 20:46 Emacs yanking my frames all over the desktop Michael Ekstrand
2009-03-21 22:32 ` Joost Kremers
2009-03-22 4:23 ` Michael Ekstrand
2009-03-22 10:46 ` Tim X
2009-03-22 15:39 ` Michael Ekstrand [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=87ab7dpnwh.fsf@jehiel.elehack.net \
--to=michael@elehack.net \
--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.