🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87922

modify-frame-parameters has strange side-effects

#87922
From: Randy Styborski
Date: Thu, 11 Aug 1994 21:42
20 lines
1609 bytes
In GNU Emacs 19.25.1 of Mon Jul 25 1994 on hpsrdpw (m68k-hp-hpux9)

Executing the following 

	(modify-frame-parameters (selected-frame) '((top . 0)))

has the desired effect of moving the frame to the top of the screen BUT IT
ALSO MOVES IT TO THE LEFT 4 PIXELS.

Further, if you use 'frame-parameters' to query the current 'left position
and send it in the above alist, it doesn't help.  

Further, calculating an offset of 4 to the right of the current position and
using it as the new 'left position (trying to counteract the side effect)
only works EVERY OTHER TIME.  On try 'N', it will leave the window's
position unchanged, on try 'N+1' it will move the window 1 pixel to the
right.

I have verified this behavior using this Emacs on two different X servers
running different window managers (one on HP-UX, one on Exceed on a PC).
Technical Details
Message-ID: <9408111935.AA21951@hpspkaa.spk.hp.com>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!primenet!netnews.asu.edu !asuvax!cs.utexas.edu!convex!news.duke.edu!news-feed-1.peachnet.edu!gatech!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!spk.hp.COM!styborsk

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,4bb16a0a8f64cd2d,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-08-11 20:03:34 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!primenet!netnews.asu.edu      !asuvax!cs.utexas.edu!convex!news.duke.edu!news-feed-1.peachnet.edu!gatech!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!spk.hp.COM!styborsk
From: styborsk@spk.hp.COM (Randy Styborski)
Newsgroups: gnu.emacs.bug
Subject: modify-frame-parameters has strange side-effects
Date: 11 Aug 1994 17:42:23 -0400
Organization: GNUs Not Usenet
Lines: 21
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9408111935.AA21951@hpspkaa.spk.hp.com>