unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* set-frame-position fails
@ 2006-03-15 21:25 Nick Patavalis
  2006-03-16 16:21 ` Kevin Rodgers
       [not found] ` <E1FJywD-0003D1-U6@fencepost.gnu.org>
  0 siblings, 2 replies; 7+ messages in thread
From: Nick Patavalis @ 2006-03-15 21:25 UTC (permalink / raw)


Hi

>From a gnome-terminal, I start the EMACS editor which opens its main
frame at the position selected by the window manager.

In the scratch-buffer, and say:

  (set-frame-position (selected-frame) 100 100)^J
  (set-frame-position (selected-frame) 10 10)^J
  (set-frame-position (selected-frame) 150 10)^J

The frame always moves to the prescribed position. No problem so far.

Now I grab the emacs window with the mouse from its titlebar and move
it (by any amount, even the tiniest). Then I say again:

  (set-frame-position (selected-frame) 10 10)^J

The frame instantly moves to the prescribed position, and then
*immediately* returns to its *original place*. From then-on any
attempt to set the frame's position using "set-frame-position" fails
in the same manner (frame slings-back instantly after momentarily
moving).

The same behavior manifest in any new frame I open: Until the frame is
moved using the mouse, "set-frame-position" works as expected. After
the frame is moved using the mouse, "set-frame-position" no longer
works: The frame, instead, slings-back to its original location, after
momentarily changing position

I'm using:

  A Debian GNU/Linux i686-based system.

  GNU Emacs 21.4.1 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
  of 2005-03-17 on trouble, modified by Debian

  metacity 2.8.8

Tanks in advance for any help with this, and many thanks for making
the best editor in the world available to us.

/npat

-- 
Nick Patavalis            npat@efault.net 
http://npat.efault.net/   GPG key id: 0x499C4C86

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-03-19  9:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-15 21:25 set-frame-position fails Nick Patavalis
2006-03-16 16:21 ` Kevin Rodgers
     [not found] ` <E1FJywD-0003D1-U6@fencepost.gnu.org>
2006-03-17 14:31   ` Nick Patavalis
2006-03-17 17:07     ` Kevin Rodgers
2006-03-18  8:43     ` Richard Stallman
2006-03-18 13:33       ` Nick Patavalis
2006-03-19  9:09         ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).