all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Glenn Morris <rgm@gnu.org>
Cc: Ulrich Neumerkel <ulrich@complang.tuwien.ac.at>, emacs-devel@gnu.org
Subject: Re: "Position Parameters" in lispref/frames.texi
Date: Mon, 21 Jan 2008 10:32:45 +0100	[thread overview]
Message-ID: <479466BD.9090603@gmx.at> (raw)
In-Reply-To: <4l4pd7vqvp.fsf@fencepost.gnu.org>

> Oh, is it trying to say that (+ -100) will shift the left edge 100
> pixels to the _left_ of the left screen edge?

That's how I understand it and how it works here on windows.

> This doesn't actually seem to work right now, which is what I think
>
> http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-01/msg00058.html
>
> is saying.

Does it work for you?  Ulrich Neumerkel promised me to debug this
tomorrow (tuesday).

FWIW, the first "+" and "-" discriminate left vs right (top vs bottom)
screen edges/frame borders.  For example, "left +" specifies the left
frame border "left -" the right one.  (I don't understand why we can't
use right and bottom here.)

The second "+" and "-" indicate an offset where "+" stands for "nearer
to the center of the screen" and "-" for "farther away from the center
of the screen".  That is "left + -7" means the left frame border should
move 7 pixels to the left of the left screen edge, "left - -7" the right
frame border should move 7 pixels to the right of the right screen edge.

All this with the understanding that you cannot specify a position of
the left frame border wrt to the right screen edge.

>>     *Reminder:* if the parameter is a negative integer -POS, then POS
>>     is positive.
>
>
> Still can't parse that...

As for the manual:

In "the position of the right edge of the window with respect to the
right edge of the screen" use "frame" instead of "window".

"The value may be a positive number POS, or a list of the form `(+ POS)'
which permits specifying a negative POS value." doesn't make sense
because the connotation of "negative POS value" is ambiguous here.

"A positive value of POS counts toward the left.  *Reminder:* if the
parameter is a negative integer -POS, then POS is positive." is
ambiguous too.

IMHO, the explanations in section 29.3.5

     `(+ POSITION)'
           This specifies the position of the left or top edge of the
           window relative to the left or top edge of the screen.  The
           integer POSITION may be positive or negative; a negative
           value specifies a position outside the screen.

     `(- POSITION)'
           This specifies the position of the right or bottom edge of
           the window relative to the right or bottom edge of the
           screen.  The integer POSITION may be positive or negative; a
           negative value specifies a position outside the screen.

rate far better in this regard but should talk about "frame" instead of
"window".

  reply	other threads:[~2008-01-21  9:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-21  2:32 "Position Parameters" in lispref/frames.texi Glenn Morris
2008-01-21  2:44 ` Glenn Morris
2008-01-21  9:32   ` martin rudalics [this message]
2008-01-22  5:50     ` Ulrich Neumerkel
2008-01-22  6:34       ` Glenn Morris
2008-01-22  6:37         ` Ulrich Neumerkel
2008-01-22 11:30     ` Richard Stallman
2008-01-21 20:30   ` Richard Stallman
2008-01-21 20:30 ` Richard Stallman

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=479466BD.9090603@gmx.at \
    --to=rudalics@gmx.at \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@gnu.org \
    --cc=ulrich@complang.tuwien.ac.at \
    /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.