diff options
| author | Chong Yidong | 2012-03-04 14:50:18 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-03-04 14:50:18 +0800 |
| commit | a08a07e3397edbc6b916e9e87ed67355ab0b2f9e (patch) | |
| tree | a7a5840534dbbed3ba101ef3fadeccbbf3737e1e | |
| parent | ea16568d87f736736a532c0684de951bc382e4a9 (diff) | |
| download | emacs-a08a07e3397edbc6b916e9e87ed67355ab0b2f9e.tar.gz emacs-a08a07e3397edbc6b916e9e87ed67355ab0b2f9e.zip | |
Update Frames chapter of Lisp manager. Document clipboard manager.
* doc/emacs/killing.texi (Clipboard): Document clipboard manager.
* doc/lispref/windows.texi (Basic Windows, Coordinates and Windows)
(Coordinates and Windows):
* display.texi (Refresh Screen, Line Height, Face Attributes)
(Overlay Arrow, Beeping, Glyphless Chars): Likewise.
* doc/lispref/frames.texi (Frames): Remove little-used "terminal frame" and
"window frame" terminology.
(Frame Parameters, Font and Color Parameters, Initial Parameters)
(Size and Position, Visibility of Frames): Callers changed.
(Frames): Clarify which terminals in framep are graphical.
(Initial Parameters): --geometry is not the only option which adds
to initial-frame-alist.
(Position Parameters): Note that icon-left and icon-top are for
old window managers only.
(Size Parameters): Sizes are in characters even on graphical
displays.
(Management Parameters): Note that window-id and outer-window-id
can't really be changed, and that auto-raise isn't always obeyed.
(Cursor Parameters): Document cursor-type explicitly.
(Size and Position): The aliases set-screen-height and
set-screen-width have been deleted.
(Visibility of Frames): Mention "minimization".
* doc/lispref/os.texi (Startup Summary): Minor clarifications.
(Startup Summary, Suspending Emacs): Standardize on "text
terminal" terminology.
| -rw-r--r-- | admin/FOR-RELEASE | 2 | ||||
| -rw-r--r-- | doc/emacs/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/emacs/killing.texi | 11 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 29 | ||||
| -rw-r--r-- | doc/lispref/anti.texi | 6 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 26 | ||||
| -rw-r--r-- | doc/lispref/elisp.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/frames.texi | 383 | ||||
| -rw-r--r-- | doc/lispref/os.texi | 16 | ||||
| -rw-r--r-- | doc/lispref/vol1.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/vol2.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/windows.texi | 10 | ||||
| -rw-r--r-- | etc/NEWS | 7 |
13 files changed, 276 insertions, 224 deletions
diff --git a/admin/FOR-RELEASE b/admin/FOR-RELEASE index 9daade6367c..636d400f5cb 100644 --- a/admin/FOR-RELEASE +++ b/admin/FOR-RELEASE | |||
| @@ -197,7 +197,7 @@ elisp.texi | |||
| 197 | errors.texi rgm | 197 | errors.texi rgm |
| 198 | eval.texi cyd | 198 | eval.texi cyd |
| 199 | files.texi cyd | 199 | files.texi cyd |
| 200 | frames.texi | 200 | frames.texi cyd |
| 201 | functions.texi cyd | 201 | functions.texi cyd |
| 202 | hash.texi cyd | 202 | hash.texi cyd |
| 203 | help.texi cyd | 203 | help.texi cyd |
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 5be02a39742..5a1d1394b23 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-03-04 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * killing.texi (Clipboard): Document clipboard manager. | ||
| 4 | |||
| 1 | 2012-02-29 Glenn Morris <rgm@gnu.org> | 5 | 2012-02-29 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * ack.texi (Acknowledgments): Use @Tex{} in more places. | 7 | * ack.texi (Acknowledgments): Use @Tex{} in more places. |
diff --git a/doc/emacs/killing.texi b/doc/emacs/killing.texi index e76e2fafc55..270ca9e77a8 100644 --- a/doc/emacs/killing.texi +++ b/doc/emacs/killing.texi | |||
| @@ -490,6 +490,17 @@ new yank to the clipboard. | |||
| 490 | To prevent kill and yank commands from accessing the clipboard, | 490 | To prevent kill and yank commands from accessing the clipboard, |
| 491 | change the variable @code{x-select-enable-clipboard} to @code{nil}. | 491 | change the variable @code{x-select-enable-clipboard} to @code{nil}. |
| 492 | 492 | ||
| 493 | @cindex clipboard manager | ||
| 494 | @vindex x-select-enable-clipboard-manager | ||
| 495 | Many X desktop environments support a feature called the | ||
| 496 | @dfn{clipboard manager}. If you exit Emacs while it is the current | ||
| 497 | ``owner'' of the clipboard data, and there is a clipboard manager | ||
| 498 | running, Emacs transfers the clipboard data to the clipboard manager | ||
| 499 | so that it is not lost. In some circumstances, this may cause a delay | ||
| 500 | when exiting Emacs; if you wish to prevent Emacs from transferring | ||
| 501 | data to the clipboard manager, change the variable | ||
| 502 | @code{x-select-enable-clipboard-manager} to @code{nil}. | ||
| 503 | |||
| 493 | @vindex x-select-enable-primary | 504 | @vindex x-select-enable-primary |
| 494 | @findex clipboard-kill-region | 505 | @findex clipboard-kill-region |
| 495 | @findex clipboard-kill-ring-save | 506 | @findex clipboard-kill-ring-save |
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 1cbee05d4d4..51eed431ca2 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,32 @@ | |||
| 1 | 2012-03-04 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * frames.texi (Frames): Remove little-used "terminal frame" and | ||
| 4 | "window frame" terminology. | ||
| 5 | (Frame Parameters, Font and Color Parameters, Initial Parameters) | ||
| 6 | (Size and Position, Visibility of Frames): Callers changed. | ||
| 7 | (Frames): Clarify which terminals in framep are graphical. | ||
| 8 | (Initial Parameters): --geometry is not the only option which adds | ||
| 9 | to initial-frame-alist. | ||
| 10 | (Position Parameters): Note that icon-left and icon-top are for | ||
| 11 | old window managers only. | ||
| 12 | (Size Parameters): Sizes are in characters even on graphical | ||
| 13 | displays. | ||
| 14 | (Management Parameters): Note that window-id and outer-window-id | ||
| 15 | can't really be changed, and that auto-raise isn't always obeyed. | ||
| 16 | (Cursor Parameters): Document cursor-type explicitly. | ||
| 17 | (Size and Position): The aliases set-screen-height and | ||
| 18 | set-screen-width have been deleted. | ||
| 19 | (Visibility of Frames): Mention "minimization". | ||
| 20 | |||
| 21 | * os.texi (Startup Summary): Minor clarifications. | ||
| 22 | (Startup Summary, Suspending Emacs): Standardize on "text | ||
| 23 | terminal" terminology. | ||
| 24 | |||
| 25 | * windows.texi (Basic Windows, Coordinates and Windows) | ||
| 26 | (Coordinates and Windows): | ||
| 27 | * display.texi (Refresh Screen, Line Height, Face Attributes) | ||
| 28 | (Overlay Arrow, Beeping, Glyphless Chars): Likewise. | ||
| 29 | |||
| 1 | 2012-03-04 Glenn Morris <rgm@gnu.org> | 30 | 2012-03-04 Glenn Morris <rgm@gnu.org> |
| 2 | 31 | ||
| 3 | * abbrevs.texi: Small copyedits throughout. | 32 | * abbrevs.texi: Small copyedits throughout. |
diff --git a/doc/lispref/anti.texi b/doc/lispref/anti.texi index dbd39de2f6d..2463d6535fd 100644 --- a/doc/lispref/anti.texi +++ b/doc/lispref/anti.texi | |||
| @@ -93,9 +93,9 @@ are always drawn using the X core font driver. | |||
| 93 | @item | 93 | @item |
| 94 | Display terminals are no longer represented using a ``terminal'' data | 94 | Display terminals are no longer represented using a ``terminal'' data |
| 95 | type; this is not necessary, because we have removed the ability to | 95 | type; this is not necessary, because we have removed the ability to |
| 96 | display on graphical and text-only terminals simultaneously. For the | 96 | display on graphical and text terminals simultaneously. For the same |
| 97 | same reason, the @code{window-system} variable is no longer | 97 | reason, the @code{window-system} variable is no longer frame-local, |
| 98 | frame-local, and the @code{window-system} function has been removed. | 98 | and the @code{window-system} function has been removed. |
| 99 | 99 | ||
| 100 | @item | 100 | @item |
| 101 | The functions @code{list-system-processes} and | 101 | The functions @code{list-system-processes} and |
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 9c4720d9102..281ddda9cec 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -62,7 +62,7 @@ you call these functions when input is available, they don't redisplay | |||
| 62 | immediately, but the requested redisplay does happen | 62 | immediately, but the requested redisplay does happen |
| 63 | eventually---after all the input has been processed. | 63 | eventually---after all the input has been processed. |
| 64 | 64 | ||
| 65 | On text-only terminals, suspending and resuming Emacs normally also | 65 | On text terminals, suspending and resuming Emacs normally also |
| 66 | refreshes the screen. Some terminal emulators record separate | 66 | refreshes the screen. Some terminal emulators record separate |
| 67 | contents for display-oriented programs such as Emacs and for ordinary | 67 | contents for display-oriented programs such as Emacs and for ordinary |
| 68 | sequential display. If you are using such a terminal, you might want | 68 | sequential display. If you are using such a terminal, you might want |
| @@ -1809,7 +1809,7 @@ into a Lisp value as described above. However, in this case the | |||
| 1809 | numeric height value specifies the line spacing, rather than the line | 1809 | numeric height value specifies the line spacing, rather than the line |
| 1810 | height. | 1810 | height. |
| 1811 | 1811 | ||
| 1812 | On text-only terminals, the line spacing cannot be altered. | 1812 | On text terminals, the line spacing cannot be altered. |
| 1813 | 1813 | ||
| 1814 | @node Faces | 1814 | @node Faces |
| 1815 | @section Faces | 1815 | @section Faces |
| @@ -2058,7 +2058,7 @@ floating point and function values are not allowed. | |||
| 2058 | Font weight---one of the symbols (from densest to faintest) | 2058 | Font weight---one of the symbols (from densest to faintest) |
| 2059 | @code{ultra-bold}, @code{extra-bold}, @code{bold}, @code{semi-bold}, | 2059 | @code{ultra-bold}, @code{extra-bold}, @code{bold}, @code{semi-bold}, |
| 2060 | @code{normal}, @code{semi-light}, @code{light}, @code{extra-light}, or | 2060 | @code{normal}, @code{semi-light}, @code{light}, @code{extra-light}, or |
| 2061 | @code{ultra-light}. On text-only terminals that support | 2061 | @code{ultra-light}. On text terminals which support |
| 2062 | variable-brightness text, any weight greater than normal is displayed | 2062 | variable-brightness text, any weight greater than normal is displayed |
| 2063 | as extra bright, and any weight less than normal is displayed as | 2063 | as extra bright, and any weight less than normal is displayed as |
| 2064 | half-bright. | 2064 | half-bright. |
| @@ -2066,8 +2066,8 @@ half-bright. | |||
| 2066 | @item :slant | 2066 | @item :slant |
| 2067 | Font slant---one of the symbols @code{italic}, @code{oblique}, | 2067 | Font slant---one of the symbols @code{italic}, @code{oblique}, |
| 2068 | @code{normal}, @code{reverse-italic}, or @code{reverse-oblique}. On | 2068 | @code{normal}, @code{reverse-italic}, or @code{reverse-oblique}. On |
| 2069 | text-only terminals that support variable-brightness text, slanted | 2069 | text terminals that support variable-brightness text, slanted text is |
| 2070 | text is displayed as half-bright. | 2070 | displayed as half-bright. |
| 2071 | 2071 | ||
| 2072 | @item :foreground | 2072 | @item :foreground |
| 2073 | Foreground color, a string. The value can be a system-defined color | 2073 | Foreground color, a string. The value can be a system-defined color |
| @@ -3649,9 +3649,9 @@ this list. | |||
| 3649 | 3649 | ||
| 3650 | Each variable on this list can have properties | 3650 | Each variable on this list can have properties |
| 3651 | @code{overlay-arrow-string} and @code{overlay-arrow-bitmap} that | 3651 | @code{overlay-arrow-string} and @code{overlay-arrow-bitmap} that |
| 3652 | specify an overlay arrow string (for text-only terminals) or fringe | 3652 | specify an overlay arrow string (for text terminals) or fringe bitmap |
| 3653 | bitmap (for graphical terminals) to display at the corresponding | 3653 | (for graphical terminals) to display at the corresponding overlay |
| 3654 | overlay arrow position. If either property is not set, the default | 3654 | arrow position. If either property is not set, the default |
| 3655 | @code{overlay-arrow-string} or @code{overlay-arrow} fringe indicator | 3655 | @code{overlay-arrow-string} or @code{overlay-arrow} fringe indicator |
| 3656 | is used. | 3656 | is used. |
| 3657 | 3657 | ||
| @@ -6043,8 +6043,8 @@ This is a synonym for @code{ding}. | |||
| 6043 | 6043 | ||
| 6044 | @defopt visible-bell | 6044 | @defopt visible-bell |
| 6045 | This variable determines whether Emacs should flash the screen to | 6045 | This variable determines whether Emacs should flash the screen to |
| 6046 | represent a bell. Non-@code{nil} means yes, @code{nil} means no. This | 6046 | represent a bell. Non-@code{nil} means yes, @code{nil} means no. |
| 6047 | is effective on graphical displays, and on text-only terminals | 6047 | This is effective on graphical displays, and on text terminals |
| 6048 | provided the terminal's Termcap entry defines the visible bell | 6048 | provided the terminal's Termcap entry defines the visible bell |
| 6049 | capability (@samp{vb}). | 6049 | capability (@samp{vb}). |
| 6050 | @end defopt | 6050 | @end defopt |
| @@ -6340,7 +6340,7 @@ such changes affect all of Emacs display. | |||
| 6340 | they appear in a buffer, but in some special way (e.g. as a box | 6340 | they appear in a buffer, but in some special way (e.g. as a box |
| 6341 | containing a hexadecimal code). These include characters that cannot | 6341 | containing a hexadecimal code). These include characters that cannot |
| 6342 | be displayed with any available font (on a graphical display), or that | 6342 | be displayed with any available font (on a graphical display), or that |
| 6343 | cannot be encoded by the terminal's coding system (on a text-only | 6343 | cannot be encoded by the terminal's coding system (on a text |
| 6344 | terminal). Specific characters can also be defined to be glyphless. | 6344 | terminal). Specific characters can also be defined to be glyphless. |
| 6345 | 6345 | ||
| 6346 | @defvar glyphless-char-display | 6346 | @defvar glyphless-char-display |
| @@ -6355,7 +6355,7 @@ Don't display the character. | |||
| 6355 | 6355 | ||
| 6356 | @item @code{thin-space} | 6356 | @item @code{thin-space} |
| 6357 | Display a thin space, 1-pixel wide on graphical displays, or | 6357 | Display a thin space, 1-pixel wide on graphical displays, or |
| 6358 | 1-character wide on text-only terminals. | 6358 | 1-character wide on text terminals. |
| 6359 | 6359 | ||
| 6360 | @item @code{empty-box} | 6360 | @item @code{empty-box} |
| 6361 | Display an empty box. | 6361 | Display an empty box. |
| @@ -6374,7 +6374,7 @@ Except for @code{zero-width}, these methods display using the | |||
| 6374 | 6374 | ||
| 6375 | An entry can also be a cons cell @code{(@var{graphical} | 6375 | An entry can also be a cons cell @code{(@var{graphical} |
| 6376 | . @var{text})}, where @var{graphical} and @var{text} are the display | 6376 | . @var{text})}, where @var{graphical} and @var{text} are the display |
| 6377 | methods on graphical displays and text-only terminals respectively. | 6377 | methods on graphical displays and text terminals respectively. |
| 6378 | 6378 | ||
| 6379 | The char-table has one extra slot, which determines how to display any | 6379 | The char-table has one extra slot, which determines how to display any |
| 6380 | character that cannot be displayed with any available font, or cannot | 6380 | character that cannot be displayed with any available font, or cannot |
diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi index 8e2e02a2ec0..7a444ee4039 100644 --- a/doc/lispref/elisp.texi +++ b/doc/lispref/elisp.texi | |||
| @@ -972,7 +972,7 @@ Frames | |||
| 972 | * Window System Selections::Transferring text to and from other X clients. | 972 | * Window System Selections::Transferring text to and from other X clients. |
| 973 | * Drag and Drop:: Internals of Drag-and-Drop implementation. | 973 | * Drag and Drop:: Internals of Drag-and-Drop implementation. |
| 974 | * Color Names:: Getting the definitions of color names. | 974 | * Color Names:: Getting the definitions of color names. |
| 975 | * Text Terminal Colors:: Defining colors for text-only terminals. | 975 | * Text Terminal Colors:: Defining colors for text terminals. |
| 976 | * Resources:: Getting resource values from the server. | 976 | * Resources:: Getting resource values from the server. |
| 977 | * Display Feature Testing:: Determining the features of a terminal. | 977 | * Display Feature Testing:: Determining the features of a terminal. |
| 978 | 978 | ||
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index 1e4ae6b135a..a01ad051489 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi | |||
| @@ -23,26 +23,25 @@ into smaller windows. @xref{Splitting Windows}. | |||
| 23 | more Emacs frames. In Emacs Lisp, a @dfn{terminal object} is a Lisp | 23 | more Emacs frames. In Emacs Lisp, a @dfn{terminal object} is a Lisp |
| 24 | object that represents a terminal. @xref{Terminal Type}. | 24 | object that represents a terminal. @xref{Terminal Type}. |
| 25 | 25 | ||
| 26 | @cindex terminal frame | 26 | @cindex text terminal |
| 27 | @cindex window frame | 27 | @cindex graphical terminal |
| 28 | There are two classes of terminals: text-only terminals and | 28 | @cindex graphical display |
| 29 | graphical terminals. Text-only terminals are non-graphics-capable | 29 | There are two classes of terminals: @dfn{text terminals} and |
| 30 | display devices, including ``terminal emulators'' such as xterm. On | 30 | @dfn{graphical terminals}. Text terminals are non-graphics-capable |
| 31 | text-only terminals, each frame occupies the entire terminal screen; | 31 | displays, including @command{xterm} and other terminal emulators. On |
| 32 | although you can create additional frames and switch between them, | 32 | a text terminal, each Emacs frame occupies the terminal's entire |
| 33 | only one frame can be shown at any given time. We refer to frames on | 33 | screen; although you can create additional frames and switch between |
| 34 | text-only terminals as @dfn{terminal frames}. Graphical terminals, on | 34 | them, the terminal only shows one frame at a time. Graphical |
| 35 | the other hand, are graphics-capable windowing systems, such as the X | 35 | terminals, on the other hand, are managed by graphical display systems |
| 36 | Window System. On a graphical terminal, Emacs can display multiple | 36 | such as the X Window System, which allow Emacs to show multiple frames |
| 37 | frames simultaneously. We refer to such frames as @dfn{window | 37 | simultaneously on the same display. |
| 38 | frames}. | ||
| 39 | 38 | ||
| 40 | On GNU and Unix systems, you can create additional frames on any | 39 | On GNU and Unix systems, you can create additional frames on any |
| 41 | available terminal, within a single Emacs session, regardless of | 40 | available terminal, within a single Emacs session, regardless of |
| 42 | whether Emacs was started on a text-only or graphical terminal. Emacs | 41 | whether Emacs was started on a text or graphical terminal. Emacs can |
| 43 | can display on both graphical and text-only terminals simultaneously. | 42 | display on both graphical and text terminals simultaneously. This |
| 44 | This comes in handy, for instance, when you connect to the same | 43 | comes in handy, for instance, when you connect to the same session |
| 45 | session from several remote locations. @xref{Multiple Terminals}. | 44 | from several remote locations. @xref{Multiple Terminals}. |
| 46 | 45 | ||
| 47 | @defun framep object | 46 | @defun framep object |
| 48 | This predicate returns a non-@code{nil} value if @var{object} is a | 47 | This predicate returns a non-@code{nil} value if @var{object} is a |
| @@ -50,14 +49,15 @@ frame, and @code{nil} otherwise. For a frame, the value indicates which | |||
| 50 | kind of display the frame uses: | 49 | kind of display the frame uses: |
| 51 | 50 | ||
| 52 | @table @code | 51 | @table @code |
| 53 | @item x | ||
| 54 | The frame is displayed in an X window. | ||
| 55 | @item t | 52 | @item t |
| 56 | A terminal frame on a character display. | 53 | The frame is displayed on a text terminal. |
| 54 | @item x | ||
| 55 | The frame is displayed on an X graphical terminal. | ||
| 57 | @item w32 | 56 | @item w32 |
| 58 | The frame is displayed on MS-Windows 9X/NT. | 57 | The frame is displayed on a MS-Windows graphical terminal. |
| 59 | @item ns | 58 | @item ns |
| 60 | The frame is displayed on a GNUstep or Macintosh Cocoa display. | 59 | The frame is displayed on a GNUstep or Macintosh Cocoa graphical |
| 60 | terminal. | ||
| 61 | @item pc | 61 | @item pc |
| 62 | The frame is displayed on an MS-DOS terminal. | 62 | The frame is displayed on an MS-DOS terminal. |
| 63 | @end table | 63 | @end table |
| @@ -71,10 +71,10 @@ selected frame. | |||
| 71 | 71 | ||
| 72 | @defun terminal-live-p object | 72 | @defun terminal-live-p object |
| 73 | This predicate returns a non-@code{nil} value if @var{object} is a | 73 | This predicate returns a non-@code{nil} value if @var{object} is a |
| 74 | terminal that is alive (i.e.@: was not deleted), and @code{nil} | 74 | terminal that is live (i.e.@: not deleted), and @code{nil} otherwise. |
| 75 | otherwise. For live terminals, the return value indicates what kind | 75 | For live terminals, the return value indicates what kind of frames are |
| 76 | of frames are displayed on that terminal; the list of possible values | 76 | displayed on that terminal; the list of possible values is the same as |
| 77 | is the same as for @code{framep} above. | 77 | for @code{framep} above. |
| 78 | @end defun | 78 | @end defun |
| 79 | 79 | ||
| 80 | @menu | 80 | @menu |
| @@ -99,7 +99,7 @@ is the same as for @code{framep} above. | |||
| 99 | * Window System Selections:: Transferring text to and from other X clients. | 99 | * Window System Selections:: Transferring text to and from other X clients. |
| 100 | * Drag and Drop:: Internals of Drag-and-Drop implementation. | 100 | * Drag and Drop:: Internals of Drag-and-Drop implementation. |
| 101 | * Color Names:: Getting the definitions of color names. | 101 | * Color Names:: Getting the definitions of color names. |
| 102 | * Text Terminal Colors:: Defining colors for text-only terminals. | 102 | * Text Terminal Colors:: Defining colors for text terminals. |
| 103 | * Resources:: Getting resource values from the server. | 103 | * Resources:: Getting resource values from the server. |
| 104 | * Display Feature Testing:: Determining the features of a terminal. | 104 | * Display Feature Testing:: Determining the features of a terminal. |
| 105 | @end menu | 105 | @end menu |
| @@ -118,7 +118,7 @@ for the new frame. @xref{Frame Parameters}. If you specify the | |||
| 118 | @code{terminal} parameter in @var{alist}, the new frame is created on | 118 | @code{terminal} parameter in @var{alist}, the new frame is created on |
| 119 | that terminal. Otherwise, if you specify the @code{window-system} | 119 | that terminal. Otherwise, if you specify the @code{window-system} |
| 120 | frame parameter in @var{alist}, that determines whether the frame | 120 | frame parameter in @var{alist}, that determines whether the frame |
| 121 | should be displayed on a text-only or graphical terminal. | 121 | should be displayed on a text terminal or a graphical terminal. |
| 122 | @xref{Window Systems}. If neither is specified, the new frame is | 122 | @xref{Window Systems}. If neither is specified, the new frame is |
| 123 | created in the same terminal as the selected frame. | 123 | created in the same terminal as the selected frame. |
| 124 | 124 | ||
| @@ -163,15 +163,15 @@ frame. | |||
| 163 | @cindex multiple X displays | 163 | @cindex multiple X displays |
| 164 | @cindex displays, multiple | 164 | @cindex displays, multiple |
| 165 | 165 | ||
| 166 | Emacs represents each terminal, whether graphical or text-only, as a | 166 | Emacs represents each terminal as a @dfn{terminal object} data type |
| 167 | @dfn{terminal object} data type (@pxref{Terminal Type}). On GNU and | 167 | (@pxref{Terminal Type}). On GNU and Unix systems, Emacs can use |
| 168 | Unix systems, Emacs can use multiple terminals simultaneously in each | 168 | multiple terminals simultaneously in each session. On other systems, |
| 169 | session. On other systems, it can only use a single terminal. Each | 169 | it can only use a single terminal. Each terminal object has the |
| 170 | terminal object has the following attributes: | 170 | following attributes: |
| 171 | 171 | ||
| 172 | @itemize @bullet | 172 | @itemize @bullet |
| 173 | @item | 173 | @item |
| 174 | The name of the device used by the terminal (e.g., @samp{:0.0} or | 174 | The name of the device used by the terminal (e.g.@: @samp{:0.0} or |
| 175 | @file{/dev/tty}). | 175 | @file{/dev/tty}). |
| 176 | 176 | ||
| 177 | @item | 177 | @item |
| @@ -180,7 +180,7 @@ The terminal and keyboard coding systems used on the terminal. | |||
| 180 | 180 | ||
| 181 | @item | 181 | @item |
| 182 | The kind of display associated with the terminal. This is the symbol | 182 | The kind of display associated with the terminal. This is the symbol |
| 183 | returned by the function @code{terminal-live-p} (i.e., @code{x}, | 183 | returned by the function @code{terminal-live-p} (i.e.@: @code{x}, |
| 184 | @code{t}, @code{w32}, @code{ns}, or @code{pc}). @xref{Frames}. | 184 | @code{t}, @code{w32}, @code{ns}, or @code{pc}). @xref{Frames}. |
| 185 | 185 | ||
| 186 | @item | 186 | @item |
| @@ -189,7 +189,7 @@ A list of terminal parameters. @xref{Terminal Parameters}. | |||
| 189 | 189 | ||
| 190 | There is no primitive for creating terminal objects. Emacs creates | 190 | There is no primitive for creating terminal objects. Emacs creates |
| 191 | them as needed, such as when you call @code{make-frame-on-display} | 191 | them as needed, such as when you call @code{make-frame-on-display} |
| 192 | (which is described below). | 192 | (described below). |
| 193 | 193 | ||
| 194 | @defun terminal-name &optional terminal | 194 | @defun terminal-name &optional terminal |
| 195 | This function returns the file name of the device used by | 195 | This function returns the file name of the device used by |
| @@ -199,7 +199,7 @@ a frame, meaning that frame's terminal. | |||
| 199 | @end defun | 199 | @end defun |
| 200 | 200 | ||
| 201 | @defun terminal-list | 201 | @defun terminal-list |
| 202 | This function returns a list of all terminal objects currently in use. | 202 | This function returns a list of all live terminal objects. |
| 203 | @end defun | 203 | @end defun |
| 204 | 204 | ||
| 205 | @defun get-device-terminal device | 205 | @defun get-device-terminal device |
| @@ -248,15 +248,15 @@ never be buffer-local (@pxref{Buffer-Local Variables}). | |||
| 248 | 248 | ||
| 249 | On GNU and Unix systems, each X display is a separate graphical | 249 | On GNU and Unix systems, each X display is a separate graphical |
| 250 | terminal. When Emacs is started from within the X window system, it | 250 | terminal. When Emacs is started from within the X window system, it |
| 251 | uses the X display chosen with the @code{DISPLAY} environment | 251 | uses the X display specified by the @env{DISPLAY} environment |
| 252 | variable, or with the @samp{--display} option. @xref{Initial | 252 | variable, or by the @samp{--display} option (@pxref{Initial Options,,, |
| 253 | Options,,, emacs, The GNU Emacs Manual}. Emacs can connect to other X | 253 | emacs, The GNU Emacs Manual}). Emacs can connect to other X displays |
| 254 | displays via the command @code{make-frame-on-display}. Each X display | 254 | via the command @code{make-frame-on-display}. Each X display has its |
| 255 | has its own selected frame and its own minibuffer windows; however, | 255 | own selected frame and its own minibuffer windows; however, only one |
| 256 | only one of those frames is ``@emph{the} selected frame'' at any given | 256 | of those frames is ``@emph{the} selected frame'' at any given moment |
| 257 | moment (@pxref{Input Focus}). Emacs can even connect to other | 257 | (@pxref{Input Focus}). Emacs can even connect to other text |
| 258 | text-only terminals, by interacting with the @command{emacsclient} | 258 | terminals, by interacting with the @command{emacsclient} program. |
| 259 | program. @xref{Emacs Server,,, emacs, The GNU Emacs Manual}. | 259 | @xref{Emacs Server,,, emacs, The GNU Emacs Manual}. |
| 260 | 260 | ||
| 261 | A single X server can handle more than one display. Each X display | 261 | A single X server can handle more than one display. Each X display |
| 262 | has a three-part name, @samp{@var{host}:@var{server}.@var{screen}}. | 262 | has a three-part name, @samp{@var{host}:@var{server}.@var{screen}}. |
| @@ -267,8 +267,8 @@ server, Emacs knows by the similarity in their names that they share a | |||
| 267 | single keyboard. | 267 | single keyboard. |
| 268 | 268 | ||
| 269 | On some ``multi-monitor'' setups, a single X display outputs to more | 269 | On some ``multi-monitor'' setups, a single X display outputs to more |
| 270 | than one monitor. Currently, there is no way for Emacs to distinguish | 270 | than one physical monitor. Currently, there is no way for Emacs to |
| 271 | between the different physical monitors. | 271 | distinguish between the different physical monitors. |
| 272 | 272 | ||
| 273 | @deffn Command make-frame-on-display display &optional parameters | 273 | @deffn Command make-frame-on-display display &optional parameters |
| 274 | This function creates and returns a new frame on @var{display}, taking | 274 | This function creates and returns a new frame on @var{display}, taking |
| @@ -277,8 +277,8 @@ the other frame parameters from the alist @var{parameters}. | |||
| 277 | 277 | ||
| 278 | Before creating the frame, this function ensures that Emacs is ``set | 278 | Before creating the frame, this function ensures that Emacs is ``set |
| 279 | up'' to display graphics. For instance, if Emacs has not processed X | 279 | up'' to display graphics. For instance, if Emacs has not processed X |
| 280 | resources (e.g., if it was started on a text-only terminal), it does | 280 | resources (e.g.@: if it was started on a text terminal), it does so at |
| 281 | so at this time. In all other respects, this function behaves like | 281 | this time. In all other respects, this function behaves like |
| 282 | @code{make-frame} (@pxref{Creating Frames}). | 282 | @code{make-frame} (@pxref{Creating Frames}). |
| 283 | @end deffn | 283 | @end deffn |
| 284 | 284 | ||
| @@ -324,15 +324,15 @@ on that display (@pxref{Deleting Frames}). | |||
| 324 | Just what parameters a frame has depends on what display mechanism it | 324 | Just what parameters a frame has depends on what display mechanism it |
| 325 | uses. | 325 | uses. |
| 326 | 326 | ||
| 327 | Frame parameters exist mostly for the sake of window systems. A | 327 | Frame parameters exist mostly for the sake of graphical displays. |
| 328 | terminal frame has a few parameters, mostly for compatibility's sake; | 328 | Most frame parameters have no effect when applied to a frame on a text |
| 329 | only the @code{height}, @code{width}, @code{name}, @code{title}, | 329 | terminal; only the @code{height}, @code{width}, @code{name}, |
| 330 | @code{menu-bar-lines}, @code{buffer-list} and @code{buffer-predicate} | 330 | @code{title}, @code{menu-bar-lines}, @code{buffer-list} and |
| 331 | parameters do something special. If the terminal supports colors, the | 331 | @code{buffer-predicate} parameters do something special. If the |
| 332 | parameters @code{foreground-color}, @code{background-color}, | 332 | terminal supports colors, the parameters @code{foreground-color}, |
| 333 | @code{background-mode} and @code{display-type} are also meaningful. | 333 | @code{background-color}, @code{background-mode} and |
| 334 | If the terminal supports frame transparency, the parameter | 334 | @code{display-type} are also meaningful. If the terminal supports |
| 335 | @code{alpha} is also meaningful. | 335 | frame transparency, the parameter @code{alpha} is also meaningful. |
| 336 | 336 | ||
| 337 | @menu | 337 | @menu |
| 338 | * Parameter Access:: How to change a frame's parameters. | 338 | * Parameter Access:: How to change a frame's parameters. |
| @@ -386,12 +386,13 @@ parameter values to frames that will be created henceforth. | |||
| 386 | @node Initial Parameters | 386 | @node Initial Parameters |
| 387 | @subsection Initial Frame Parameters | 387 | @subsection Initial Frame Parameters |
| 388 | 388 | ||
| 389 | You can specify the parameters for the initial startup frame | 389 | You can specify the parameters for the initial startup frame by |
| 390 | by setting @code{initial-frame-alist} in your init file (@pxref{Init File}). | 390 | setting @code{initial-frame-alist} in your init file (@pxref{Init |
| 391 | File}). | ||
| 391 | 392 | ||
| 392 | @defopt initial-frame-alist | 393 | @defopt initial-frame-alist |
| 393 | This variable's value is an alist of parameter values used when creating | 394 | This variable's value is an alist of parameter values used when |
| 394 | the initial window frame. You can set this variable to specify the | 395 | creating the initial frame. You can set this variable to specify the |
| 395 | appearance of the initial frame without altering subsequent frames. | 396 | appearance of the initial frame without altering subsequent frames. |
| 396 | Each element has the form: | 397 | Each element has the form: |
| 397 | 398 | ||
| @@ -443,11 +444,13 @@ Functions that display a buffer in a separate frame can override the | |||
| 443 | default parameters by supplying their own parameters. @xref{Definition | 444 | default parameters by supplying their own parameters. @xref{Definition |
| 444 | of special-display-frame-alist}. | 445 | of special-display-frame-alist}. |
| 445 | 446 | ||
| 446 | If you use options that specify window appearance when you invoke Emacs, | 447 | If you invoke Emacs with command-line options that specify frame |
| 447 | they take effect by adding elements to @code{default-frame-alist}. One | 448 | appearance, those options take effect by adding elements to either |
| 448 | exception is @samp{-geometry}, which adds the specified position to | 449 | @code{initial-frame-alist} or @code{default-frame-alist}. Options |
| 449 | @code{initial-frame-alist} instead. @xref{Emacs Invocation,, Command | 450 | which affect just the initial frame, such as @samp{-geometry} and |
| 450 | Line Arguments for Emacs Invocation, emacs, The GNU Emacs Manual}. | 451 | @samp{--maximized}, add to @code{initial-frame-alist}; the others add |
| 452 | to @code{default-frame-alist}. @pxref{Emacs Invocation,, Command Line | ||
| 453 | Arguments for Emacs Invocation, emacs, The GNU Emacs Manual}. | ||
| 451 | 454 | ||
| 452 | @node Window Frame Parameters | 455 | @node Window Frame Parameters |
| 453 | @subsection Window Frame Parameters | 456 | @subsection Window Frame Parameters |
| @@ -458,8 +461,8 @@ it uses. This section describes the parameters that have special | |||
| 458 | meanings on some or all kinds of terminals. Of these, @code{name}, | 461 | meanings on some or all kinds of terminals. Of these, @code{name}, |
| 459 | @code{title}, @code{height}, @code{width}, @code{buffer-list} and | 462 | @code{title}, @code{height}, @code{width}, @code{buffer-list} and |
| 460 | @code{buffer-predicate} provide meaningful information in terminal | 463 | @code{buffer-predicate} provide meaningful information in terminal |
| 461 | frames, and @code{tty-color-mode} is meaningful @emph{only} in | 464 | frames, and @code{tty-color-mode} is meaningful only for frames on |
| 462 | terminal frames. | 465 | text terminals. |
| 463 | 466 | ||
| 464 | @menu | 467 | @menu |
| 465 | * Basic Parameters:: Parameters that are fundamental. | 468 | * Basic Parameters:: Parameters that are fundamental. |
| @@ -523,7 +526,7 @@ named, this parameter will be @code{nil}. | |||
| 523 | @cindex window position on display | 526 | @cindex window position on display |
| 524 | 527 | ||
| 525 | Position parameters' values are normally measured in pixels, but on | 528 | Position parameters' values are normally measured in pixels, but on |
| 526 | text-only terminals they count characters or lines instead. | 529 | text terminals they count characters or lines instead. |
| 527 | 530 | ||
| 528 | @table @code | 531 | @table @code |
| 529 | @vindex left, a frame parameter | 532 | @vindex left, a frame parameter |
| @@ -560,19 +563,17 @@ to the top (or bottom) edge of the screen. It works just like | |||
| 560 | 563 | ||
| 561 | @vindex icon-left, a frame parameter | 564 | @vindex icon-left, a frame parameter |
| 562 | @item icon-left | 565 | @item icon-left |
| 563 | The screen position of the left edge @emph{of the frame's icon}, in | 566 | The screen position of the left edge of the frame's icon, in pixels, |
| 564 | pixels, counting from the left edge of the screen. This takes effect if | 567 | counting from the left edge of the screen. This takes effect when the |
| 565 | and when the frame is iconified. | 568 | frame is iconified, if the window manager supports this feature. If |
| 566 | 569 | you specify a value for this parameter, then you must also specify a | |
| 567 | If you specify a value for this parameter, then you must also specify | 570 | value for @code{icon-top} and vice versa. |
| 568 | a value for @code{icon-top} and vice versa. The window manager may | ||
| 569 | ignore these two parameters. | ||
| 570 | 571 | ||
| 571 | @vindex icon-top, a frame parameter | 572 | @vindex icon-top, a frame parameter |
| 572 | @item icon-top | 573 | @item icon-top |
| 573 | The screen position of the top edge @emph{of the frame's icon}, in | 574 | The screen position of the top edge of the frame's icon, in pixels, |
| 574 | pixels, counting from the top edge of the screen. This takes effect if | 575 | counting from the top edge of the screen. This takes effect when the |
| 575 | and when the frame is iconified. | 576 | frame is iconified, if the window manager supports this feature. |
| 576 | 577 | ||
| 577 | @vindex user-position, a frame parameter | 578 | @vindex user-position, a frame parameter |
| 578 | @item user-position | 579 | @item user-position |
| @@ -600,8 +601,9 @@ parameters represent the user's stated preference; otherwise, use | |||
| 600 | @subsubsection Size Parameters | 601 | @subsubsection Size Parameters |
| 601 | @cindex window size on display | 602 | @cindex window size on display |
| 602 | 603 | ||
| 603 | Size parameters' values are normally measured in pixels, but on | 604 | Frame parameters specify frame sizes in character units. On |
| 604 | text-only terminals they count characters or lines instead. | 605 | graphical displays, the @code{default} face determines the actual |
| 606 | pixel sizes of these character units (@pxref{Face Attributes}). | ||
| 605 | 607 | ||
| 606 | @table @code | 608 | @table @code |
| 607 | @vindex height, a frame parameter | 609 | @vindex height, a frame parameter |
| @@ -756,8 +758,9 @@ If non-@code{nil}, this frame's window is never split automatically. | |||
| 756 | @subsubsection Window Management Parameters | 758 | @subsubsection Window Management Parameters |
| 757 | @cindex window manager interaction, and frame parameters | 759 | @cindex window manager interaction, and frame parameters |
| 758 | 760 | ||
| 759 | These frame parameters, meaningful only on window system displays, | 761 | The following frame parameters control various aspects of the |
| 760 | interact with the window manager. | 762 | frame's interaction with the window manager. They have no effect on |
| 763 | text terminals. | ||
| 761 | 764 | ||
| 762 | @table @code | 765 | @table @code |
| 763 | @vindex visibility, a frame parameter | 766 | @vindex visibility, a frame parameter |
| @@ -768,11 +771,13 @@ iconified. @xref{Visibility of Frames}. | |||
| 768 | 771 | ||
| 769 | @vindex auto-raise, a frame parameter | 772 | @vindex auto-raise, a frame parameter |
| 770 | @item auto-raise | 773 | @item auto-raise |
| 771 | Whether selecting the frame raises it (non-@code{nil} means yes). | 774 | If non-@code{nil}, Emacs automatically raises the frame when it is |
| 775 | selected. Some window managers do not allow this. | ||
| 772 | 776 | ||
| 773 | @vindex auto-lower, a frame parameter | 777 | @vindex auto-lower, a frame parameter |
| 774 | @item auto-lower | 778 | @item auto-lower |
| 775 | Whether deselecting the frame lowers it (non-@code{nil} means yes). | 779 | If non-@code{nil}, Emacs automatically lowers the frame when it is |
| 780 | deselected. Some window managers do not allow this. | ||
| 776 | 781 | ||
| 777 | @vindex icon-type, a frame parameter | 782 | @vindex icon-type, a frame parameter |
| 778 | @item icon-type | 783 | @item icon-type |
| @@ -788,12 +793,15 @@ appears. If this is @code{nil}, the frame's title is used. | |||
| 788 | 793 | ||
| 789 | @vindex window-id, a frame parameter | 794 | @vindex window-id, a frame parameter |
| 790 | @item window-id | 795 | @item window-id |
| 791 | The number of the window-system window used by the frame | 796 | The ID number which the graphical display uses for this frame. Emacs |
| 792 | to contain the actual Emacs windows. | 797 | assigns this parameter when the frame is created; changing the |
| 798 | parameter has no effect on the actual ID number. | ||
| 793 | 799 | ||
| 794 | @vindex outer-window-id, a frame parameter | 800 | @vindex outer-window-id, a frame parameter |
| 795 | @item outer-window-id | 801 | @item outer-window-id |
| 796 | The number of the outermost window-system window used for the whole frame. | 802 | The ID number of the outermost window-system window in which the frame |
| 803 | exists. As with @code{window-id}, changing this parameter has no | ||
| 804 | actual effect. | ||
| 797 | 805 | ||
| 798 | @vindex wait-for-wm, a frame parameter | 806 | @vindex wait-for-wm, a frame parameter |
| 799 | @item wait-for-wm | 807 | @item wait-for-wm |
| @@ -848,9 +856,26 @@ Display a horizontal bar @var{height} pixels high. | |||
| 848 | @end table | 856 | @end table |
| 849 | 857 | ||
| 850 | @vindex cursor-type | 858 | @vindex cursor-type |
| 851 | The buffer-local variable @code{cursor-type} overrides the value of | 859 | The @code{cursor-type} frame parameter may be overridden by the |
| 852 | the @code{cursor-type} frame parameter, but if it is @code{t}, that | 860 | variables @code{cursor-type} and |
| 853 | means to use the cursor specified for the frame. | 861 | @code{cursor-in-non-selected-windows}: |
| 862 | |||
| 863 | @defvar cursor-type | ||
| 864 | This buffer-local variable controls how the cursor looks in a selected | ||
| 865 | window showing the buffer. If its value is @code{t}, that means to | ||
| 866 | use the cursor specified by the @code{cursor-type} frame parameter. | ||
| 867 | Otherwise, the value should be one of the cursor types listed above, | ||
| 868 | and it overrides the @code{cursor-type} frame parameter. | ||
| 869 | @end defvar | ||
| 870 | |||
| 871 | @defopt cursor-in-non-selected-windows | ||
| 872 | This buffer-local variable controls how the cursor looks in a window | ||
| 873 | that is not selected. It supports the same values as the | ||
| 874 | @code{cursor-type} frame parameter; also, @code{nil} means don't | ||
| 875 | display a cursor in nonselected windows, and @code{t} (the default) | ||
| 876 | means use a standard modification of the usual cursor type (solid box | ||
| 877 | becomes hollow box, and bar becomes a narrower bar). | ||
| 878 | @end defopt | ||
| 854 | 879 | ||
| 855 | @defopt blink-cursor-alist | 880 | @defopt blink-cursor-alist |
| 856 | This variable specifies how to blink the cursor. Each element has the | 881 | This variable specifies how to blink the cursor. Each element has the |
| @@ -866,15 +891,6 @@ variable do not take effect immediately, only when you specify the | |||
| 866 | @code{cursor-type} frame parameter. | 891 | @code{cursor-type} frame parameter. |
| 867 | @end defopt | 892 | @end defopt |
| 868 | 893 | ||
| 869 | @defopt cursor-in-non-selected-windows | ||
| 870 | This variable controls how the cursor looks in a window that is not | ||
| 871 | selected. It supports the same values as the @code{cursor-type} frame | ||
| 872 | parameter; also, @code{nil} means don't display a cursor in | ||
| 873 | nonselected windows, and @code{t} (the default) means use a standard | ||
| 874 | modification of the usual cursor type (solid box becomes hollow box, | ||
| 875 | and bar becomes a narrower bar). | ||
| 876 | @end defopt | ||
| 877 | |||
| 878 | @node Font and Color Parameters | 894 | @node Font and Color Parameters |
| 879 | @subsubsection Font and Color Parameters | 895 | @subsubsection Font and Color Parameters |
| 880 | @cindex font and color, frame parameters | 896 | @cindex font and color, frame parameters |
| @@ -903,7 +919,7 @@ to whether the background color is a light one or a dark one. | |||
| 903 | @cindex standard colors for character terminals | 919 | @cindex standard colors for character terminals |
| 904 | This parameter overrides the terminal's color support as given by the | 920 | This parameter overrides the terminal's color support as given by the |
| 905 | system's terminal capabilities database in that this parameter's value | 921 | system's terminal capabilities database in that this parameter's value |
| 906 | specifies the color mode to use in terminal frames. The value can be | 922 | specifies the color mode to use on a text terminal. The value can be |
| 907 | either a symbol or a number. A number specifies the number of colors | 923 | either a symbol or a number. A number specifies the number of colors |
| 908 | to use (and, indirectly, what commands to issue to produce each | 924 | to use (and, indirectly, what commands to issue to produce each |
| 909 | color). For example, @code{(tty-color-mode . 8)} specifies use of the | 925 | color). For example, @code{(tty-color-mode . 8)} specifies use of the |
| @@ -1047,17 +1063,17 @@ selected frame. | |||
| 1047 | @defunx frame-pixel-width &optional frame | 1063 | @defunx frame-pixel-width &optional frame |
| 1048 | These functions return the height and width of the main display area | 1064 | These functions return the height and width of the main display area |
| 1049 | of @var{frame}, measured in pixels. If you don't supply @var{frame}, | 1065 | of @var{frame}, measured in pixels. If you don't supply @var{frame}, |
| 1050 | they use the selected frame. For a text-only terminal, the results are | 1066 | they use the selected frame. For a text terminal, the results are in |
| 1051 | in characters rather than pixels. | 1067 | characters rather than pixels. |
| 1052 | 1068 | ||
| 1053 | These values include the internal borders, and windows' scroll bars and | 1069 | These values include the internal borders, and windows' scroll bars |
| 1054 | fringes (which belong to individual windows, not to the frame itself). | 1070 | and fringes (which belong to individual windows, not to the frame |
| 1055 | The exact value of the heights depends on the window-system and toolkit | 1071 | itself). The exact value of the heights depends on the window-system |
| 1056 | in use. With Gtk+, the height does not include any tool bar or menu | 1072 | and toolkit in use. With Gtk+, the height does not include any tool |
| 1057 | bar. With the Motif or Lucid toolkits, it includes the tool bar but | 1073 | bar or menu bar. With the Motif or Lucid toolkits, it includes the |
| 1058 | not the menu bar. In a graphical version with no toolkit, it includes | 1074 | tool bar but not the menu bar. In a graphical version with no |
| 1059 | both the tool bar and menu bar. For a text-only terminal, the result | 1075 | toolkit, it includes both the tool bar and menu bar. For a text |
| 1060 | includes the menu bar. | 1076 | terminal, the result includes the menu bar. |
| 1061 | @end defun | 1077 | @end defun |
| 1062 | 1078 | ||
| 1063 | @defun frame-char-height &optional frame | 1079 | @defun frame-char-height &optional frame |
| @@ -1084,13 +1100,13 @@ fit. | |||
| 1084 | 1100 | ||
| 1085 | If @var{pretend} is non-@code{nil}, then Emacs displays @var{lines} | 1101 | If @var{pretend} is non-@code{nil}, then Emacs displays @var{lines} |
| 1086 | lines of output in @var{frame}, but does not change its value for the | 1102 | lines of output in @var{frame}, but does not change its value for the |
| 1087 | actual height of the frame. This is only useful for a terminal frame. | 1103 | actual height of the frame. This is only useful on text terminals. |
| 1088 | Using a smaller height than the terminal actually implements may be | 1104 | Using a smaller height than the terminal actually implements may be |
| 1089 | useful to reproduce behavior observed on a smaller screen, or if the | 1105 | useful to reproduce behavior observed on a smaller screen, or if the |
| 1090 | terminal malfunctions when using its whole screen. Setting the frame | 1106 | terminal malfunctions when using its whole screen. Setting the frame |
| 1091 | height ``for real'' does not always work, because knowing the correct | 1107 | height ``for real'' does not always work, because knowing the correct |
| 1092 | actual size may be necessary for correct cursor positioning on a | 1108 | actual size may be necessary for correct cursor positioning on |
| 1093 | terminal frame. | 1109 | text terminals. |
| 1094 | @end defun | 1110 | @end defun |
| 1095 | 1111 | ||
| 1096 | @defun set-frame-width frame width &optional pretend | 1112 | @defun set-frame-width frame width &optional pretend |
| @@ -1099,13 +1115,6 @@ The argument @var{pretend} has the same meaning as in | |||
| 1099 | @code{set-frame-height}. | 1115 | @code{set-frame-height}. |
| 1100 | @end defun | 1116 | @end defun |
| 1101 | 1117 | ||
| 1102 | @findex set-screen-height | ||
| 1103 | @findex set-screen-width | ||
| 1104 | The older functions @code{set-screen-height} and | ||
| 1105 | @code{set-screen-width} were used to specify the height and width of the | ||
| 1106 | screen, in Emacs versions that did not support multiple frames. They | ||
| 1107 | are semi-obsolete, but still work; they apply to the selected frame. | ||
| 1108 | |||
| 1109 | @node Geometry | 1118 | @node Geometry |
| 1110 | @subsection Geometry | 1119 | @subsection Geometry |
| 1111 | 1120 | ||
| @@ -1230,9 +1239,10 @@ while processing @code{frame-title-format} or | |||
| 1230 | @section Deleting Frames | 1239 | @section Deleting Frames |
| 1231 | @cindex deleting frames | 1240 | @cindex deleting frames |
| 1232 | 1241 | ||
| 1233 | Frames remain potentially visible until you explicitly @dfn{delete} | 1242 | A @dfn{live frame} is one that has not been deleted. When a frame |
| 1234 | them. A deleted frame cannot appear on the screen, but continues to | 1243 | is deleted, it is removed from its terminal display, although it may |
| 1235 | exist as a Lisp object until there are no references to it. | 1244 | continue to exist as a Lisp object until there are no more references |
| 1245 | to it. | ||
| 1236 | 1246 | ||
| 1237 | @deffn Command delete-frame &optional frame force | 1247 | @deffn Command delete-frame &optional frame force |
| 1238 | @vindex delete-frame-functions | 1248 | @vindex delete-frame-functions |
| @@ -1263,25 +1273,25 @@ calls the function @code{delete-frame}. @xref{Misc Events}. | |||
| 1263 | @cindex frames, scanning all | 1273 | @cindex frames, scanning all |
| 1264 | 1274 | ||
| 1265 | @defun frame-list | 1275 | @defun frame-list |
| 1266 | The function @code{frame-list} returns a list of all the live frames, | 1276 | This function returns a list of all the live frames, i.e.@: those that |
| 1267 | i.e.@: those that have not been deleted. It is analogous to | 1277 | have not been deleted. It is analogous to @code{buffer-list} for |
| 1268 | @code{buffer-list} for buffers, and includes frames on all terminals. | 1278 | buffers, and includes frames on all terminals. The list that you get |
| 1269 | The list that you get is newly created, so modifying the list doesn't | 1279 | is newly created, so modifying the list doesn't have any effect on the |
| 1270 | have any effect on the internals of Emacs. | 1280 | internals of Emacs. |
| 1271 | @end defun | 1281 | @end defun |
| 1272 | 1282 | ||
| 1273 | @defun visible-frame-list | 1283 | @defun visible-frame-list |
| 1274 | This function returns a list of just the currently visible frames. | 1284 | This function returns a list of just the currently visible frames. |
| 1275 | @xref{Visibility of Frames}. (Terminal frames always count as | 1285 | @xref{Visibility of Frames}. Frames on text terminals always count as |
| 1276 | ``visible,'' even though only the selected one is actually displayed.) | 1286 | ``visible'', even though only the selected one is actually displayed. |
| 1277 | @end defun | 1287 | @end defun |
| 1278 | 1288 | ||
| 1279 | @defun next-frame &optional frame minibuf | 1289 | @defun next-frame &optional frame minibuf |
| 1280 | The function @code{next-frame} lets you cycle conveniently through all | 1290 | This function lets you cycle conveniently through all the frames on |
| 1281 | the frames on the current display from an arbitrary starting point. It | 1291 | the current display from an arbitrary starting point. It returns the |
| 1282 | returns the ``next'' frame after @var{frame} in the cycle. If | 1292 | ``next'' frame after @var{frame} in the cycle. If @var{frame} is |
| 1283 | @var{frame} is omitted or @code{nil}, it defaults to the selected frame | 1293 | omitted or @code{nil}, it defaults to the selected frame (@pxref{Input |
| 1284 | (@pxref{Input Focus}). | 1294 | Focus}). |
| 1285 | 1295 | ||
| 1286 | The second argument, @var{minibuf}, says which frames to consider: | 1296 | The second argument, @var{minibuf}, says which frames to consider: |
| 1287 | 1297 | ||
| @@ -1369,20 +1379,20 @@ function @code{select-frame}. This does not alter the window system's | |||
| 1369 | concept of focus; rather, it escapes from the window manager's control | 1379 | concept of focus; rather, it escapes from the window manager's control |
| 1370 | until that control is somehow reasserted. | 1380 | until that control is somehow reasserted. |
| 1371 | 1381 | ||
| 1372 | When using a text-only terminal, only one frame can be displayed at a | 1382 | When using a text terminal, only one frame can be displayed at a time |
| 1373 | time on the terminal, so after a call to @code{select-frame}, the next | 1383 | on the terminal, so after a call to @code{select-frame}, the next |
| 1374 | redisplay actually displays the newly selected frame. This frame | 1384 | redisplay actually displays the newly selected frame. This frame |
| 1375 | remains selected until a subsequent call to @code{select-frame}. Each | 1385 | remains selected until a subsequent call to @code{select-frame}. Each |
| 1376 | terminal frame has a number which appears in the mode line before the | 1386 | frame on a text terminal has a number which appears in the mode line |
| 1377 | buffer name (@pxref{Mode Line Variables}). | 1387 | before the buffer name (@pxref{Mode Line Variables}). |
| 1378 | 1388 | ||
| 1379 | @defun select-frame-set-input-focus frame &optional norecord | 1389 | @defun select-frame-set-input-focus frame &optional norecord |
| 1380 | This function selects @var{frame}, raises it (should it happen to be | 1390 | This function selects @var{frame}, raises it (should it happen to be |
| 1381 | obscured by other frames) and tries to give it the X server's focus. | 1391 | obscured by other frames) and tries to give it the X server's focus. |
| 1382 | On a text-only terminal, the next redisplay displays the new frame on | 1392 | On a text terminal, the next redisplay displays the new frame on the |
| 1383 | the entire terminal screen. The optional argument @var{norecord} has | 1393 | entire terminal screen. The optional argument @var{norecord} has the |
| 1384 | the same meaning as for @code{select-frame} (see below). The return | 1394 | same meaning as for @code{select-frame} (see below). The return value |
| 1385 | value of this function is not significant. | 1395 | of this function is not significant. |
| 1386 | @end defun | 1396 | @end defun |
| 1387 | 1397 | ||
| 1388 | @defun select-frame frame &optional norecord | 1398 | @defun select-frame frame &optional norecord |
| @@ -1466,20 +1476,34 @@ position consistent with the new selected frame. | |||
| 1466 | @cindex visible frame | 1476 | @cindex visible frame |
| 1467 | @cindex invisible frame | 1477 | @cindex invisible frame |
| 1468 | @cindex iconified frame | 1478 | @cindex iconified frame |
| 1479 | @cindex minimized frame | ||
| 1469 | @cindex frame visibility | 1480 | @cindex frame visibility |
| 1470 | 1481 | ||
| 1471 | A window frame may be @dfn{visible}, @dfn{invisible}, or | 1482 | A frame on a graphical display may be @dfn{visible}, @dfn{invisible}, |
| 1472 | @dfn{iconified}. If it is visible, you can see its contents, unless | 1483 | or @dfn{iconified}. If it is visible, its contents are displayed in |
| 1473 | other windows cover it. If it is iconified, the frame's contents do | 1484 | the usual manner. If it is iconified, its contents are not displayed, |
| 1474 | not appear on the screen, but an icon does. (Note: because of the | 1485 | but there is a little icon somewhere to bring the frame back into view |
| 1475 | way in which some window managers implement the concept of multiple | 1486 | (some window managers refer to this state as @dfn{minimized} rather |
| 1476 | workspaces, or desktops, all frames on other workspaces may appear to | 1487 | than @dfn{iconified}, but from Emacs' point of view they are the same |
| 1477 | Emacs to be iconified.) If the frame is invisible, it doesn't show on | 1488 | thing). If a frame is invisible, it is not displayed at all. |
| 1478 | the screen, not even as an icon. | ||
| 1479 | 1489 | ||
| 1480 | Visibility is meaningless for terminal frames, since only the selected | 1490 | Visibility is meaningless on text terminals, since only the selected |
| 1481 | one is actually displayed in any case. | 1491 | one is actually displayed in any case. |
| 1482 | 1492 | ||
| 1493 | @defun frame-visible-p frame | ||
| 1494 | This function returns the visibility status of frame @var{frame}. The | ||
| 1495 | value is @code{t} if @var{frame} is visible, @code{nil} if it is | ||
| 1496 | invisible, and @code{icon} if it is iconified. | ||
| 1497 | |||
| 1498 | On a text terminal, all frames are considered visible, whether they | ||
| 1499 | are currently being displayed or not. | ||
| 1500 | @end defun | ||
| 1501 | |||
| 1502 | @deffn Command iconify-frame &optional frame | ||
| 1503 | This function iconifies frame @var{frame}. If you omit @var{frame}, it | ||
| 1504 | iconifies the selected frame. | ||
| 1505 | @end deffn | ||
| 1506 | |||
| 1483 | @deffn Command make-frame-visible &optional frame | 1507 | @deffn Command make-frame-visible &optional frame |
| 1484 | This function makes frame @var{frame} visible. If you omit | 1508 | This function makes frame @var{frame} visible. If you omit |
| 1485 | @var{frame}, it makes the selected frame visible. This does not raise | 1509 | @var{frame}, it makes the selected frame visible. This does not raise |
| @@ -1495,29 +1519,12 @@ Unless @var{force} is non-@code{nil}, this function refuses to make | |||
| 1495 | @var{frame} invisible if all other frames are invisible.. | 1519 | @var{frame} invisible if all other frames are invisible.. |
| 1496 | @end deffn | 1520 | @end deffn |
| 1497 | 1521 | ||
| 1498 | @deffn Command iconify-frame &optional frame | ||
| 1499 | This function iconifies frame @var{frame}. If you omit @var{frame}, it | ||
| 1500 | iconifies the selected frame. | ||
| 1501 | @end deffn | ||
| 1502 | |||
| 1503 | @defun frame-visible-p frame | ||
| 1504 | This returns the visibility status of frame @var{frame}. The value is | ||
| 1505 | @code{t} if @var{frame} is visible, @code{nil} if it is invisible, and | ||
| 1506 | @code{icon} if it is iconified. | ||
| 1507 | |||
| 1508 | On a text-only terminal, all frames are considered visible, whether | ||
| 1509 | they are currently being displayed or not, and this function returns | ||
| 1510 | @code{t} for all frames. | ||
| 1511 | @end defun | ||
| 1512 | |||
| 1513 | The visibility status of a frame is also available as a frame | 1522 | The visibility status of a frame is also available as a frame |
| 1514 | parameter. You can read or change it as such. @xref{Management | 1523 | parameter. You can read or change it as such. @xref{Management |
| 1515 | Parameters}. | 1524 | Parameters}. The user can also iconify and deiconify frames with the |
| 1516 | 1525 | window manager. This happens below the level at which Emacs can exert | |
| 1517 | The user can iconify and deiconify frames with the window manager. | 1526 | any control, but Emacs does provide events that you can use to keep |
| 1518 | This happens below the level at which Emacs can exert any control, but | 1527 | track of such changes. @xref{Misc Events}. |
| 1519 | Emacs does provide events that you can use to keep track of such | ||
| 1520 | changes. @xref{Misc Events}. | ||
| 1521 | 1528 | ||
| 1522 | @node Raising and Lowering | 1529 | @node Raising and Lowering |
| 1523 | @section Raising and Lowering Frames | 1530 | @section Raising and Lowering Frames |
| @@ -2110,10 +2117,10 @@ and that name is still supported as an alias. | |||
| 2110 | 2117 | ||
| 2111 | @node Text Terminal Colors | 2118 | @node Text Terminal Colors |
| 2112 | @section Text Terminal Colors | 2119 | @section Text Terminal Colors |
| 2113 | @cindex colors on text-only terminals | 2120 | @cindex colors on text terminals |
| 2114 | 2121 | ||
| 2115 | Text-only terminals usually support only a small number of colors, | 2122 | Text terminals usually support only a small number of colors, and |
| 2116 | and the computer uses small integers to select colors on the terminal. | 2123 | the computer uses small integers to select colors on the terminal. |
| 2117 | This means that the computer cannot reliably tell what the selected | 2124 | This means that the computer cannot reliably tell what the selected |
| 2118 | color looks like; instead, you have to inform your application which | 2125 | color looks like; instead, you have to inform your application which |
| 2119 | small integers correspond to which colors. However, Emacs does know | 2126 | small integers correspond to which colors. However, Emacs does know |
| @@ -2127,10 +2134,10 @@ in @ref{Color Names}. | |||
| 2127 | 2134 | ||
| 2128 | These functions accept a display (either a frame or the name of a | 2135 | These functions accept a display (either a frame or the name of a |
| 2129 | terminal) as an optional argument. We hope in the future to make | 2136 | terminal) as an optional argument. We hope in the future to make |
| 2130 | Emacs support different colors on different text-only terminals; then | 2137 | Emacs support different colors on different text terminals; then this |
| 2131 | this argument will specify which terminal to operate on (the default | 2138 | argument will specify which terminal to operate on (the default being |
| 2132 | being the selected frame's terminal; @pxref{Input Focus}). At | 2139 | the selected frame's terminal; @pxref{Input Focus}). At present, |
| 2133 | present, though, the @var{frame} argument has no effect. | 2140 | though, the @var{frame} argument has no effect. |
| 2134 | 2141 | ||
| 2135 | @defun tty-color-define name number &optional rgb frame | 2142 | @defun tty-color-define name number &optional rgb frame |
| 2136 | This function associates the color name @var{name} with | 2143 | This function associates the color name @var{name} with |
| @@ -2144,12 +2151,12 @@ Emacs will not know what it looks like. | |||
| 2144 | @end defun | 2151 | @end defun |
| 2145 | 2152 | ||
| 2146 | @defun tty-color-clear &optional frame | 2153 | @defun tty-color-clear &optional frame |
| 2147 | This function clears the table of defined colors for a text-only terminal. | 2154 | This function clears the table of defined colors for a text terminal. |
| 2148 | @end defun | 2155 | @end defun |
| 2149 | 2156 | ||
| 2150 | @defun tty-color-alist &optional frame | 2157 | @defun tty-color-alist &optional frame |
| 2151 | This function returns an alist recording the known colors supported by a | 2158 | This function returns an alist recording the known colors supported by |
| 2152 | text-only terminal. | 2159 | a text terminal. |
| 2153 | 2160 | ||
| 2154 | Each element has the form @code{(@var{name} @var{number} . @var{rgb})} | 2161 | Each element has the form @code{(@var{name} @var{number} . @var{rgb})} |
| 2155 | or @code{(@var{name} @var{number})}. Here, @var{name} is the color | 2162 | or @code{(@var{name} @var{number})}. Here, @var{name} is the color |
| @@ -2265,8 +2272,8 @@ a mouse. | |||
| 2265 | @defun display-graphic-p &optional display | 2272 | @defun display-graphic-p &optional display |
| 2266 | This function returns @code{t} if @var{display} is a graphic display | 2273 | This function returns @code{t} if @var{display} is a graphic display |
| 2267 | capable of displaying several frames and several different fonts at | 2274 | capable of displaying several frames and several different fonts at |
| 2268 | once. This is true for displays that use a window system such as X, and | 2275 | once. This is true for displays that use a window system such as X, |
| 2269 | false for text-only terminals. | 2276 | and false for text terminals. |
| 2270 | @end defun | 2277 | @end defun |
| 2271 | 2278 | ||
| 2272 | @defun display-mouse-p &optional display | 2279 | @defun display-mouse-p &optional display |
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index e63300cfac4..f7df5f4bf87 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi | |||
| @@ -101,8 +101,8 @@ even earlier than this.) | |||
| 101 | It runs the normal hook @code{before-init-hook}. | 101 | It runs the normal hook @code{before-init-hook}. |
| 102 | 102 | ||
| 103 | @item | 103 | @item |
| 104 | It initializes the window frame and faces, if appropriate, and turns | 104 | It initializes the initial frame's faces, and turns on the menu bar |
| 105 | on the menu bar and tool bar, if the initial frame needs them. | 105 | and tool bar if needed. |
| 106 | 106 | ||
| 107 | @item | 107 | @item |
| 108 | It loads the library @file{site-start}, if it exists. This is not | 108 | It loads the library @file{site-start}, if it exists. This is not |
| @@ -144,7 +144,7 @@ If the buffer @samp{*scratch*} exists and is still in Fundamental mode | |||
| 144 | @code{initial-major-mode}. | 144 | @code{initial-major-mode}. |
| 145 | 145 | ||
| 146 | @item | 146 | @item |
| 147 | If started on a text-only terminal, it loads the terminal-specific | 147 | If started on a text terminal, it loads the terminal-specific |
| 148 | Lisp library, which is specified by the variable | 148 | Lisp library, which is specified by the variable |
| 149 | @code{term-file-prefix} (@pxref{Terminal-Specific}). This is not done | 149 | @code{term-file-prefix} (@pxref{Terminal-Specific}). This is not done |
| 150 | in @code{--batch} mode, nor if @code{term-file-prefix} is @code{nil}. | 150 | in @code{--batch} mode, nor if @code{term-file-prefix} is @code{nil}. |
| @@ -600,7 +600,7 @@ directly does not run this hook. | |||
| 600 | @subsection Suspending Emacs | 600 | @subsection Suspending Emacs |
| 601 | @cindex suspending Emacs | 601 | @cindex suspending Emacs |
| 602 | 602 | ||
| 603 | On text-only terminals, it is possible to @dfn{suspend Emacs}, which | 603 | On text terminals, it is possible to @dfn{suspend Emacs}, which |
| 604 | means stopping Emacs temporarily and returning control to its superior | 604 | means stopping Emacs temporarily and returning control to its superior |
| 605 | process, which is usually the shell. This allows you to resume | 605 | process, which is usually the shell. This allows you to resume |
| 606 | editing later in the same Emacs process, with the same buffers, the | 606 | editing later in the same Emacs process, with the same buffers, the |
| @@ -740,10 +740,10 @@ terminal object, a frame (meaning the terminal for that frame), or | |||
| 740 | 740 | ||
| 741 | @deffn Command suspend-frame | 741 | @deffn Command suspend-frame |
| 742 | This command @dfn{suspends} a frame. For GUI frames, it calls | 742 | This command @dfn{suspends} a frame. For GUI frames, it calls |
| 743 | @code{iconify-frame} (@pxref{Visibility of Frames}); for text-only | 743 | @code{iconify-frame} (@pxref{Visibility of Frames}); for frames on |
| 744 | frames, it calls either @code{suspend-emacs} or @code{suspend-tty}, | 744 | text terminals, it calls either @code{suspend-emacs} or |
| 745 | depending on whether the frame is displayed on the controlling | 745 | @code{suspend-tty}, depending on whether the frame is displayed on the |
| 746 | terminal device or not. | 746 | controlling terminal device or not. |
| 747 | @end deffn | 747 | @end deffn |
| 748 | 748 | ||
| 749 | @node System Environment | 749 | @node System Environment |
diff --git a/doc/lispref/vol1.texi b/doc/lispref/vol1.texi index 1dac75107fb..a92a807b747 100644 --- a/doc/lispref/vol1.texi +++ b/doc/lispref/vol1.texi | |||
| @@ -994,7 +994,7 @@ Frames | |||
| 994 | * Window System Selections::Transferring text to and from other X clients. | 994 | * Window System Selections::Transferring text to and from other X clients. |
| 995 | * Drag and Drop:: Internals of Drag-and-Drop implementation. | 995 | * Drag and Drop:: Internals of Drag-and-Drop implementation. |
| 996 | * Color Names:: Getting the definitions of color names. | 996 | * Color Names:: Getting the definitions of color names. |
| 997 | * Text Terminal Colors:: Defining colors for text-only terminals. | 997 | * Text Terminal Colors:: Defining colors for text terminals. |
| 998 | * Resources:: Getting resource values from the server. | 998 | * Resources:: Getting resource values from the server. |
| 999 | * Display Feature Testing:: Determining the features of a terminal. | 999 | * Display Feature Testing:: Determining the features of a terminal. |
| 1000 | 1000 | ||
diff --git a/doc/lispref/vol2.texi b/doc/lispref/vol2.texi index d5c14fc7150..97b21aba10b 100644 --- a/doc/lispref/vol2.texi +++ b/doc/lispref/vol2.texi | |||
| @@ -993,7 +993,7 @@ Frames | |||
| 993 | * Window System Selections::Transferring text to and from other X clients. | 993 | * Window System Selections::Transferring text to and from other X clients. |
| 994 | * Drag and Drop:: Internals of Drag-and-Drop implementation. | 994 | * Drag and Drop:: Internals of Drag-and-Drop implementation. |
| 995 | * Color Names:: Getting the definitions of color names. | 995 | * Color Names:: Getting the definitions of color names. |
| 996 | * Text Terminal Colors:: Defining colors for text-only terminals. | 996 | * Text Terminal Colors:: Defining colors for text terminals. |
| 997 | * Resources:: Getting resource values from the server. | 997 | * Resources:: Getting resource values from the server. |
| 998 | * Display Feature Testing:: Determining the features of a terminal. | 998 | * Display Feature Testing:: Determining the features of a terminal. |
| 999 | 999 | ||
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 98263f4093c..07be7fa9079 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi | |||
| @@ -68,7 +68,7 @@ window, and the contents of the selected message in another window. | |||
| 68 | graphical desktop environments and window systems, such as the X | 68 | graphical desktop environments and window systems, such as the X |
| 69 | Window System. When Emacs is run on X, each of its graphical X | 69 | Window System. When Emacs is run on X, each of its graphical X |
| 70 | windows is an Emacs frame (containing one or more Emacs windows). | 70 | windows is an Emacs frame (containing one or more Emacs windows). |
| 71 | When Emacs is run on a text-only terminal, the frame fills the entire | 71 | When Emacs is run on a text terminal, the frame fills the entire |
| 72 | terminal screen. | 72 | terminal screen. |
| 73 | 73 | ||
| 74 | @cindex tiled windows | 74 | @cindex tiled windows |
| @@ -2964,8 +2964,8 @@ the bottommost row. | |||
| 2964 | 2964 | ||
| 2965 | Note that these are the actual outer edges of the window, including | 2965 | Note that these are the actual outer edges of the window, including |
| 2966 | any header line, mode line, scroll bar, fringes, and display margins. | 2966 | any header line, mode line, scroll bar, fringes, and display margins. |
| 2967 | On a text-only terminal, if the window has a neighbor on its right, | 2967 | On a text terminal, if the window has a neighbor on its right, its |
| 2968 | its right edge includes the separator line between the window and its | 2968 | right edge includes the separator line between the window and its |
| 2969 | neighbor. | 2969 | neighbor. |
| 2970 | @end defun | 2970 | @end defun |
| 2971 | 2971 | ||
| @@ -3046,8 +3046,8 @@ argument because it always uses the frame that @var{window} is on. | |||
| 3046 | 3046 | ||
| 3047 | The following functions return window positions in pixels, rather | 3047 | The following functions return window positions in pixels, rather |
| 3048 | than character units. Though mostly useful on graphical displays, | 3048 | than character units. Though mostly useful on graphical displays, |
| 3049 | they can also be called on text-only terminals, where the screen area | 3049 | they can also be called on text terminals, where the screen area of |
| 3050 | of each text character is taken to be ``one pixel''. | 3050 | each text character is taken to be ``one pixel''. |
| 3051 | 3051 | ||
| 3052 | @defun window-pixel-edges &optional window | 3052 | @defun window-pixel-edges &optional window |
| 3053 | This function returns a list of pixel coordinates for the edges of | 3053 | This function returns a list of pixel coordinates for the edges of |
| @@ -542,7 +542,6 @@ point motion, do not alter the primary selection. | |||
| 542 | *** mouse-2 is now bound to `mouse-yank-primary'. | 542 | *** mouse-2 is now bound to `mouse-yank-primary'. |
| 543 | This pastes from the primary selection, ignoring the kill-ring. | 543 | This pastes from the primary selection, ignoring the kill-ring. |
| 544 | Previously, mouse-2 was bound to `mouse-yank-at-click'. | 544 | Previously, mouse-2 was bound to `mouse-yank-at-click'. |
| 545 | |||
| 546 | +++ | 545 | +++ |
| 547 | *** `x-select-enable-clipboard' now defaults to t on all platforms. | 546 | *** `x-select-enable-clipboard' now defaults to t on all platforms. |
| 548 | +++ | 547 | +++ |
| @@ -569,7 +568,7 @@ between applications. | |||
| 569 | 568 | ||
| 570 | +++ | 569 | +++ |
| 571 | *** Support for X cut buffers has been removed. | 570 | *** Support for X cut buffers has been removed. |
| 572 | 571 | +++ | |
| 573 | *** X clipboard managers are now supported. | 572 | *** X clipboard managers are now supported. |
| 574 | To inhibit this, change `x-select-enable-clipboard-manager' to nil. | 573 | To inhibit this, change `x-select-enable-clipboard-manager' to nil. |
| 575 | 574 | ||
| @@ -1118,7 +1117,9 @@ x-make-font-unitalic (make-face-unitalic), | |||
| 1118 | mldrag-drag-mode-line (mouse-drag-mode-line), | 1117 | mldrag-drag-mode-line (mouse-drag-mode-line), |
| 1119 | mldrag-drag-vertical-line (mouse-drag-vertical-line), | 1118 | mldrag-drag-vertical-line (mouse-drag-vertical-line), |
| 1120 | iswitchb-default-keybindings (iswitchb-mode), char-bytes (== 1), | 1119 | iswitchb-default-keybindings (iswitchb-mode), char-bytes (== 1), |
| 1121 | isearch-return-char (isearch-printing-char), make-local-hook (not needed) | 1120 | isearch-return-char (isearch-printing-char), make-local-hook (not needed), |
| 1121 | set-screen-height (set-frame-height), set-screen-width (set-frame-width) | ||
| 1122 | |||
| 1122 | 1123 | ||
| 1123 | +++ | 1124 | +++ |
| 1124 | ** The following obsolete (mostly since at least 21.1) variables and varaliases | 1125 | ** The following obsolete (mostly since at least 21.1) variables and varaliases |