all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Francis Litterio <flitterio@gmail.com>, 21173@debbugs.gnu.org
Subject: bug#21173: 25.0.50; New frames positioned off screen with multiple monitors
Date: Sat, 01 Aug 2015 12:51:29 +0200	[thread overview]
Message-ID: <55BCA4B1.8030103@gmx.at> (raw)
In-Reply-To: <874mkjadqx.fsf@gmail.com>

 > In buffer *scratch*:
 >
 >    (setq f (make-frame '((left . -1))))
 >    #<frame emacs <at> IZSYSTEM023 015257f0>
 >
 >    (frame-parameter f 'left)
 >    3155
 >
 > The left offset of the new frame appears to be 1920 pixels too far to the right.
 > Evaluating the following form positions the frame to its expected location
 > (abutting the right edge of the right monitor):

I'm not familiar with multiple monitors.  But according to the Elisp
manual ...

`left'
      The position, in pixels, of the left (or right) edge of the frame
      with respect to the left (or right) edge of the screen.  The value
      may be:

     an integer
           A positive integer relates the left edge of the frame to the
           left edge of the screen.  A negative integer relates the
	                              ^^^^^^^^^^^^^^^^
           right frame edge to the right screen edge.

     `(+ POS)'
           This specifies the position of the left frame edge relative
           to the left screen edge.  The integer POS may be positive or
           negative; a negative value specifies a position outside the
           screen or on a monitor other than the primary one (for
           multi-monitor displays).

     `(- POS)'
           This specifies the position of the right frame edge relative
           to the right screen edge.  The integer POS may be positive or
           negative; a negative value specifies a position outside the
           screen or on a monitor other than the primary one (for
           multi-monitor displays).

... you try to the position the right edge of the frame by 1 pixel left
of the right edge of the "screen".  Didn't you get exactly that?  That
is, talking about a "left offset" in this case is misleading.  What was
your "right offset?

Simply disregard this message if you were aware of what you were doing.

martin





  reply	other threads:[~2015-08-01 10:51 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-01  3:28 bug#21173: 25.0.50; New frames positioned off screen with multiple monitors Francis Litterio
2015-08-01 10:51 ` martin rudalics [this message]
2015-08-01 15:03   ` Francis Litterio
2015-08-01 15:49     ` martin rudalics
2015-08-01 16:59       ` Francis Litterio
2015-08-03  6:47         ` martin rudalics
2015-08-03 20:35           ` Andy Moreton
2015-08-03 21:12           ` Glenn Morris
2015-08-04 16:31             ` Fran Litterio
2015-09-08 22:26               ` Andy Moreton
2015-10-06  7:57                 ` martin rudalics
2015-10-07 16:50                   ` Fran
2015-10-21 18:57                   ` Francis Litterio
2015-10-21 23:37                     ` Andy Moreton
2015-10-22  6:39                     ` martin rudalics
2015-10-27 21:53                       ` Andy Moreton
2015-10-28  9:55                         ` martin rudalics
2015-10-28 14:13                           ` Andy Moreton
2015-10-28 15:52                             ` Eli Zaretskii
2015-10-28 17:25                               ` Andy Moreton
2015-10-28 18:08                                 ` Eli Zaretskii
2015-10-28 19:21                             ` martin rudalics
2015-10-28 19:39                               ` Andy Moreton
2015-10-29  7:57                                 ` martin rudalics

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=55BCA4B1.8030103@gmx.at \
    --to=rudalics@gmx.at \
    --cc=21173@debbugs.gnu.org \
    --cc=flitterio@gmail.com \
    /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.