aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-02-22 08:50:37 +0000
committerGlenn Morris2008-02-22 08:50:37 +0000
commit875fc30cdfc98ffbb41835e3d5397c1240d42f61 (patch)
tree1ddebb362f29c01cb943f308ab95f672b595e76d
parent7f48376e897819c77b37bd8f0f99faf0f231b898 (diff)
downloademacs-875fc30cdfc98ffbb41835e3d5397c1240d42f61.tar.gz
emacs-875fc30cdfc98ffbb41835e3d5397c1240d42f61.zip
(Position Parameters): Clarify the description of `left' and `top',
using information from "Geometry". (Geometry): Give a pointer to "Position Parameters", rather than repeating information.
-rw-r--r--doc/lispref/ChangeLog7
-rw-r--r--doc/lispref/frames.texi61
2 files changed, 32 insertions, 36 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index b2bb3343b3f..042531a1fc9 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,10 @@
12008-02-22 Glenn Morris <rgm@gnu.org>
2
3 * frames.texi (Position Parameters): Clarify the description of
4 `left' and `top', using information from "Geometry".
5 (Geometry): Give a pointer to "Position Parameters", rather than
6 repeating information.
7
12008-02-11 Glenn Morris <rgm@gnu.org> 82008-02-11 Glenn Morris <rgm@gnu.org>
2 9
3 * objects.texi (Equality Predicates): No longer talk about "two" 10 * objects.texi (Equality Predicates): No longer talk about "two"
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
index b11822344bd..26cb09ca4aa 100644
--- a/doc/lispref/frames.texi
+++ b/doc/lispref/frames.texi
@@ -396,26 +396,34 @@ text-only terminals they count characters or lines instead.
396 396
397@table @code 397@table @code
398@item left 398@item left
399The screen position of the left edge, in pixels, with respect to the 399The screen position of the left (or right) edge, in pixels, with respect
400left edge of the screen. The value may be a positive number @var{pos}, 400to the left (or right) edge of the screen. The value may be:
401or a list of the form @code{(+ @var{pos})} which permits specifying a 401
402negative @var{pos} value. 402@table @asis
403 403@item an integer
404A negative number @minus{}@var{pos}, or a list of the form @code{(- 404A positive integer relates the left edge of the frame to the left edge
405@var{pos})}, actually specifies the position of the right edge of the 405of the screen. A negative integer relates the right frame edge to the
406window with respect to the right edge of the screen. A positive value 406right screen edge.
407of @var{pos} counts toward the left. @strong{Reminder:} if the 407
408parameter is a negative integer @minus{}@var{pos}, then @var{pos} is 408@item @code{(+ @var{pos})}
409positive. 409This specifies the position of the left frame edge relative to the left
410screen edge. The integer @var{pos} may be positive or negative; a
411negative value specifies a position outside the screen.
412
413@item @code{(- @var{pos})}
414This specifies the position of the right frame edge relative to the right
415screen edge. The integer @var{pos} may be positive or negative; a
416negative value specifies a position outside the screen.
417@end table
410 418
411Some window managers ignore program-specified positions. If you want to 419Some window managers ignore program-specified positions. If you want to
412be sure the position you specify is not ignored, specify a 420be sure the position you specify is not ignored, specify a
413non-@code{nil} value for the @code{user-position} parameter as well. 421non-@code{nil} value for the @code{user-position} parameter as well.
414 422
415@item top 423@item top
416The screen position of the top edge, in pixels, with respect to the 424The screen position of the top (or bottom) edge, in pixels, with respect
417top edge of the screen. It works just like @code{left}, except vertically 425to the top (or bottom) edge of the screen. It works just like
418instead of horizontally. 426@code{left}, except vertically instead of horizontally.
419 427
420@item icon-left 428@item icon-left
421The screen position of the left edge @emph{of the frame's icon}, in 429The screen position of the left edge @emph{of the frame's icon}, in
@@ -884,28 +892,9 @@ values are @code{left}, @code{top}, @code{width}, and @code{height}.
884For the size parameters, the value must be an integer. The position 892For the size parameters, the value must be an integer. The position
885parameter names @code{left} and @code{top} are not totally accurate, 893parameter names @code{left} and @code{top} are not totally accurate,
886because some values indicate the position of the right or bottom edges 894because some values indicate the position of the right or bottom edges
887instead. These are the @var{value} possibilities for the position 895instead. The @var{value} possibilities for the position parameters are:
888parameters: 896an integer, a list @code{(+ @var{pos})}, or a list @code{(- @var{pos})};
889 897as previously described (@pxref{Position Parameters}).
890@table @asis
891@item an integer
892A positive integer relates the left edge or top edge of the window to
893the left or top edge of the screen. A negative integer relates the
894right or bottom edge of the window to the right or bottom edge of the
895screen.
896
897@item @code{(+ @var{position})}
898This specifies the position of the left or top edge of the window
899relative to the left or top edge of the screen. The integer
900@var{position} may be positive or negative; a negative value specifies a
901position outside the screen.
902
903@item @code{(- @var{position})}
904This specifies the position of the right or bottom edge of the window
905relative to the right or bottom edge of the screen. The integer
906@var{position} may be positive or negative; a negative value specifies a
907position outside the screen.
908@end table
909 898
910Here is an example: 899Here is an example:
911 900