unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: gottlieb@nyu.edu
To: help-gnu-emacs@gnu.org
Subject: trouble with modify-frame-parameters
Date: Mon, 11 May 2015 13:38:39 -0400	[thread overview]
Message-ID: <87zj5b6mlc.fsf@nyu.edu> (raw)

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).



             reply	other threads:[~2015-05-11 17:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-11 17:38 gottlieb [this message]
2015-05-11 18:07 ` trouble with modify-frame-parameters Drew Adams

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zj5b6mlc.fsf@nyu.edu \
    --to=gottlieb@nyu.edu \
    --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.
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).