On Sunday, May 10, 2015 8:21:33 PM gottl...@nyu.edu wrote:
> I execute the following function in *scratch* on a fresh emacs -Q
> 
>   (modify-frame-parameters            ; for 2560x1600
>    nil '((fullscreen . fullheight) (width . 176) (left . -1300)))
> 
> My screen is 2560x1600.  Emacs version is 24.4.  System is gentoo/gnome.
> 
> The frame does become fullheight and the width does become 176.
> However, left is not correct (it should be flush left but is nearly
> centered.
> The weird part is if I execute the same command again (a second C-j in
> *scratch), the frame moves to the correct, flush left, position.
> 
> An explanation would be appreciated.
> thanks,
> allan
> 
> PS If I use the more natural (left . 0) the frame moves near the left
> edge but is not flush left (even if executed twice).
> 

See if thiis works (it's basicly telling the window manager not to ignore 
you):

  (modify-frame-parameters              ; for 2560x1600
    nil '((fullscreen . fullheight) (width . 176) (left . 0)(user-position . 
1)(user-size . 1)))

http://www.gnu.org/software/emacs/manual/html_node/elisp/Window-Frame-Parameters.html#Window-Frame-Parameters


-- 
Fernando Rodriguez

Reply via email to