diff options
| author | Richard M. Stallman | 1996-02-24 04:11:01 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-02-24 04:11:01 +0000 |
| commit | cee8c3b39c7344df1c74b5903439ae2648e58bd9 (patch) | |
| tree | fcd85620e6f0b902d8d27bba068a7e5eafb5c9aa | |
| parent | d17570268da4f06b891d0c034b1c0abd62845272 (diff) | |
| download | emacs-cee8c3b39c7344df1c74b5903439ae2648e58bd9.tar.gz emacs-cee8c3b39c7344df1c74b5903439ae2648e58bd9.zip | |
Clarify purpose of user-position parameter.
| -rw-r--r-- | lispref/frames.texi | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/lispref/frames.texi b/lispref/frames.texi index 377e4fef98f..a7d82c8d2b2 100644 --- a/lispref/frames.texi +++ b/lispref/frames.texi | |||
| @@ -310,12 +310,23 @@ pixels, counting from the top edge of the screen. This takes effect if | |||
| 310 | and when the frame is iconified. | 310 | and when the frame is iconified. |
| 311 | 311 | ||
| 312 | @item user-position | 312 | @item user-position |
| 313 | Non-@code{nil} if the screen position of the frame was explicitly | 313 | When you create a frame and specify its screen position with the |
| 314 | requested by the user (for example, with the @samp{-geometry} option). | 314 | @code{left} and @code{top} parameters, use this parameter to say whether |
| 315 | Nothing automatically makes this parameter non-@code{nil}; it is up to | 315 | the specified position was user-specified (explicitly requested in some |
| 316 | Lisp programs that call @code{make-frame} to specify this parameter to | 316 | way by a human user) or merely program-specified (chosen by a program). |
| 317 | indicate that the values of the @code{left} and @code{top} parameters | 317 | A non-@code{nil} value says the position was user-specified. |
| 318 | are user-specified positions. | 318 | |
| 319 | Window managers generally heed user-specified positions, and some heed | ||
| 320 | program-specified positions too. But many ignore program-specified | ||
| 321 | positions, placing the window in a default fashion or letting the user | ||
| 322 | place it with the mouse. Some window managers, including @code{twm}, | ||
| 323 | let the user specify whether to obey program-specified positions or | ||
| 324 | ignore them. | ||
| 325 | |||
| 326 | When you call @code{make-frame}, you should specify a non-@code{nil} | ||
| 327 | value for this parameter if the values of the @code{left} and @code{top} | ||
| 328 | parameters represent the user's stated preference; otherwise, use | ||
| 329 | @code{nil}. | ||
| 319 | 330 | ||
| 320 | @item height | 331 | @item height |
| 321 | The height of the frame contents, in characters. (To get the height in | 332 | The height of the frame contents, in characters. (To get the height in |