diff options
| author | Glenn Morris | 2008-02-22 08:50:37 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-02-22 08:50:37 +0000 |
| commit | 875fc30cdfc98ffbb41835e3d5397c1240d42f61 (patch) | |
| tree | 1ddebb362f29c01cb943f308ab95f672b595e76d | |
| parent | 7f48376e897819c77b37bd8f0f99faf0f231b898 (diff) | |
| download | emacs-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/ChangeLog | 7 | ||||
| -rw-r--r-- | doc/lispref/frames.texi | 61 |
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 @@ | |||
| 1 | 2008-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 | |||
| 1 | 2008-02-11 Glenn Morris <rgm@gnu.org> | 8 | 2008-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 |
| 399 | The screen position of the left edge, in pixels, with respect to the | 399 | The screen position of the left (or right) edge, in pixels, with respect |
| 400 | left edge of the screen. The value may be a positive number @var{pos}, | 400 | to the left (or right) edge of the screen. The value may be: |
| 401 | or a list of the form @code{(+ @var{pos})} which permits specifying a | 401 | |
| 402 | negative @var{pos} value. | 402 | @table @asis |
| 403 | 403 | @item an integer | |
| 404 | A negative number @minus{}@var{pos}, or a list of the form @code{(- | 404 | A 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 | 405 | of the screen. A negative integer relates the right frame edge to the |
| 406 | window with respect to the right edge of the screen. A positive value | 406 | right screen edge. |
| 407 | of @var{pos} counts toward the left. @strong{Reminder:} if the | 407 | |
| 408 | parameter is a negative integer @minus{}@var{pos}, then @var{pos} is | 408 | @item @code{(+ @var{pos})} |
| 409 | positive. | 409 | This specifies the position of the left frame edge relative to the left |
| 410 | screen edge. The integer @var{pos} may be positive or negative; a | ||
| 411 | negative value specifies a position outside the screen. | ||
| 412 | |||
| 413 | @item @code{(- @var{pos})} | ||
| 414 | This specifies the position of the right frame edge relative to the right | ||
| 415 | screen edge. The integer @var{pos} may be positive or negative; a | ||
| 416 | negative value specifies a position outside the screen. | ||
| 417 | @end table | ||
| 410 | 418 | ||
| 411 | Some window managers ignore program-specified positions. If you want to | 419 | Some window managers ignore program-specified positions. If you want to |
| 412 | be sure the position you specify is not ignored, specify a | 420 | be sure the position you specify is not ignored, specify a |
| 413 | non-@code{nil} value for the @code{user-position} parameter as well. | 421 | non-@code{nil} value for the @code{user-position} parameter as well. |
| 414 | 422 | ||
| 415 | @item top | 423 | @item top |
| 416 | The screen position of the top edge, in pixels, with respect to the | 424 | The screen position of the top (or bottom) edge, in pixels, with respect |
| 417 | top edge of the screen. It works just like @code{left}, except vertically | 425 | to the top (or bottom) edge of the screen. It works just like |
| 418 | instead of horizontally. | 426 | @code{left}, except vertically instead of horizontally. |
| 419 | 427 | ||
| 420 | @item icon-left | 428 | @item icon-left |
| 421 | The screen position of the left edge @emph{of the frame's icon}, in | 429 | The 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}. | |||
| 884 | For the size parameters, the value must be an integer. The position | 892 | For the size parameters, the value must be an integer. The position |
| 885 | parameter names @code{left} and @code{top} are not totally accurate, | 893 | parameter names @code{left} and @code{top} are not totally accurate, |
| 886 | because some values indicate the position of the right or bottom edges | 894 | because some values indicate the position of the right or bottom edges |
| 887 | instead. These are the @var{value} possibilities for the position | 895 | instead. The @var{value} possibilities for the position parameters are: |
| 888 | parameters: | 896 | an integer, a list @code{(+ @var{pos})}, or a list @code{(- @var{pos})}; |
| 889 | 897 | as previously described (@pxref{Position Parameters}). | |
| 890 | @table @asis | ||
| 891 | @item an integer | ||
| 892 | A positive integer relates the left edge or top edge of the window to | ||
| 893 | the left or top edge of the screen. A negative integer relates the | ||
| 894 | right or bottom edge of the window to the right or bottom edge of the | ||
| 895 | screen. | ||
| 896 | |||
| 897 | @item @code{(+ @var{position})} | ||
| 898 | This specifies the position of the left or top edge of the window | ||
| 899 | relative to the left or top edge of the screen. The integer | ||
| 900 | @var{position} may be positive or negative; a negative value specifies a | ||
| 901 | position outside the screen. | ||
| 902 | |||
| 903 | @item @code{(- @var{position})} | ||
| 904 | This specifies the position of the right or bottom edge of the window | ||
| 905 | relative to the right or bottom edge of the screen. The integer | ||
| 906 | @var{position} may be positive or negative; a negative value specifies a | ||
| 907 | position outside the screen. | ||
| 908 | @end table | ||
| 909 | 898 | ||
| 910 | Here is an example: | 899 | Here is an example: |
| 911 | 900 | ||