comparison man/lispref/x-windows.texi @ 444:576fb035e263 r21-2-37

Import from CVS: tag r21-2-37
author cvs
date Mon, 13 Aug 2007 11:36:19 +0200
parents 8de8e3f6228a
children 33f0f28b945c
comparison
equal deleted inserted replaced
443:a8296e22da4e 444:576fb035e263
1 @c -*-texinfo-*- 1 @c -*-texinfo-*-
2 @c This is part of the XEmacs Lisp Reference Manual. 2 @c This is part of the XEmacs Lisp Reference Manual.
3 @c Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc. 3 @c Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
4 @c See the file lispref.texi for copying conditions. 4 @c See the file lispref.texi for copying conditions.
5 @setfilename ../../info/x-windows.texinfo 5 @setfilename ../../info/x-windows.texinfo
6 @node X-Windows, ToolTalk Support, System Interface, Top 6 @node X-Windows, ToolTalk Support, System Interface, Top
7 @chapter Functions Specific to the X Window System 7 @chapter Functions Specific to the X Window System
8 @cindex X 8 @cindex X
70 @defun x-get-cutbuffer &optional n 70 @defun x-get-cutbuffer &optional n
71 This function returns the contents of cut buffer number @var{n}. (This 71 This function returns the contents of cut buffer number @var{n}. (This
72 function is called @code{x-get-cut-buffer} in FSF Emacs.) 72 function is called @code{x-get-cut-buffer} in FSF Emacs.)
73 @end defun 73 @end defun
74 74
75 @defun x-store-cutbuffer string 75 @defun x-store-cutbuffer string &optional push
76 This function stores @var{string} into the first cut buffer (cut buffer 76 This function stores @var{string} into the first cut buffer (cut buffer
77 0), moving the other values down through the series of cut buffers, 77 0).
78 kill-ring-style. (This function is called @code{x-set-cut-buffer} in FSF 78
79 Emacs.) 79 Normally, the contents of the first cut buffer are simply replaced by
80 @var{string}. However, if optional argument @var{push} is
81 non-@code{nil}, the cut buffers are rotated. This means that the
82 previous value of the first cut buffer moves to the second cut buffer,
83 and the second to the third, and so on, moving the other values down
84 through the series of cut buffers, kill-ring-style. There are 8 cut
85 buffers altogether.
86
87 Cut buffers are considered obsolete; you should use selections instead.
88
89 This function has no effect if support for cut buffers was not compiled in.
90
91 This function is called @code{x-set-cut-buffer} in FSF Emacs.
80 @end defun 92 @end defun
81 93
82 @node X Server 94 @node X Server
83 @section X Server 95 @section X Server
84 96
235 XEmacs will use. For changes to this variable to take effect, they must 247 XEmacs will use. For changes to this variable to take effect, they must
236 be made before the connection to the X server is initialized, that is, 248 be made before the connection to the X server is initialized, that is,
237 this variable may only be changed before XEmacs is dumped, or by setting 249 this variable may only be changed before XEmacs is dumped, or by setting
238 it in the file @file{lisp/term/x-win.el}. 250 it in the file @file{lisp/term/x-win.el}.
239 251
240 By default, this variable is nil at startup. When the connection 252 By default, this variable is @code{nil} at startup. When the connection
241 to the X server is first initialized, the X resource database will 253 to the X server is first initialized, the X resource database will
242 be consulted and the value will be set according to whether any 254 be consulted and the value will be set according to whether any
243 resources are found for the application class ``XEmacs''. 255 resources are found for the application class ``XEmacs''.
244 @end defvar 256 @end defvar
245 257
249 This section describes functions and a variable that you can use to 261 This section describes functions and a variable that you can use to
250 get information about the capabilities and origin of the X server 262 get information about the capabilities and origin of the X server
251 corresponding to a particular device. The device argument is generally 263 corresponding to a particular device. The device argument is generally
252 optional and defaults to the selected device. 264 optional and defaults to the selected device.
253 265
254 @defun x-server-version &optional device 266 @defun x-server-version &optional device
255 This function returns the list of version numbers of the X server 267 This function returns the list of version numbers of the X server
256 @var{device} is on. The returned value is a list of three integers: the 268 @var{device} is on. The returned value is a list of three integers: the
257 major and minor version numbers of the X protocol in use, and the 269 major and minor version numbers of the X protocol in use, and the
258 vendor-specific release number. 270 vendor-specific release number.
259 @end defun 271 @end defun