diff options
| author | Jan Djärv | 2010-09-02 12:17:02 +0200 |
|---|---|---|
| committer | Jan Djärv | 2010-09-02 12:17:02 +0200 |
| commit | 452401254341cbabb9a55f316d0354b1e98aa2ee (patch) | |
| tree | c51f2856fffb87110416a4a5929618cac37b230f /doc | |
| parent | 084e6df30d2e12fffded94c00b27d15889d0999c (diff) | |
| download | emacs-452401254341cbabb9a55f316d0354b1e98aa2ee.tar.gz emacs-452401254341cbabb9a55f316d0354b1e98aa2ee.zip | |
Remove cut buffer from documentation.
* doc/emacs/frames.texi (Cut/Paste Other App): Remove vut-buffer text.
* doc/lispref/text.texi (Low-Level Kill Ring):
* doc/lispref/frames.texi (Window System Selections): Remove cut buffer
documentation.
* doc/misc/cl.texi (Basic Setf): Remove x-get-cut-buffer and x-get-cutbuffer.
* lisp/term/x-win.el (x-select-text):
* lisp/term/pc-win.el (x-selection-value):
* lisp/term/ns-win.el (x-selection-value):
* lisp/eshell/em-term.el:
* lisp/w32-fns.el (x-get-selection-value):
* lisp/mouse-sel.el (mouse-sel-set-selection-function):
* lisp/frame.el (display-selections-p): Remove cut-buffer in documentation.
* lisp/term.el (term-mouse-paste): Don't call x-get-cutbuffer.
Remove cut buffer from error message.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/frames.texi | 9 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/lispref/frames.texi | 22 | ||||
| -rw-r--r-- | doc/lispref/text.texi | 9 | ||||
| -rw-r--r-- | doc/misc/ChangeLog | 3 | ||||
| -rw-r--r-- | doc/misc/cl.texi | 8 |
6 files changed, 16 insertions, 41 deletions
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index fb7413e8593..df4f0beff9e 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi | |||
| @@ -273,15 +273,6 @@ the kill ring. This prevents you from losing the existing selection, | |||
| 273 | at the risk of large memory consumption if other applications generate | 273 | at the risk of large memory consumption if other applications generate |
| 274 | large selections. | 274 | large selections. |
| 275 | 275 | ||
| 276 | @cindex cut buffer | ||
| 277 | @vindex x-cut-buffer-max | ||
| 278 | Whenever Emacs saves some text to the primary selection, it may also | ||
| 279 | save it to the @dfn{cut buffer}. The cut buffer is an obsolete | ||
| 280 | predecessor to the primary selection; most modern applications do not | ||
| 281 | use it. Saving text to the cut buffer is slow and inefficient, so | ||
| 282 | Emacs only does it if the text is shorter than the value of | ||
| 283 | @code{x-cut-buffer-max} (20000 characters by default). | ||
| 284 | |||
| 285 | You can yank the primary selection into Emacs using the usual yank | 276 | You can yank the primary selection into Emacs using the usual yank |
| 286 | commands, such as @kbd{C-y} (@code{yank}) and @kbd{Mouse-2} | 277 | commands, such as @kbd{C-y} (@code{yank}) and @kbd{Mouse-2} |
| 287 | (@code{mouse-yank-at-click}). These commands actually check the | 278 | (@code{mouse-yank-at-click}). These commands actually check the |
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index cd99c701ac2..a494cac961b 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2010-09-02 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * text.texi (Low-Level Kill Ring): | ||
| 4 | * frames.texi (Window System Selections): Remove cut buffer | ||
| 5 | documentation. | ||
| 6 | |||
| 1 | 2010-08-28 Eli Zaretskii <eliz@gnu.org> | 7 | 2010-08-28 Eli Zaretskii <eliz@gnu.org> |
| 2 | 8 | ||
| 3 | * display.texi (Fringe Size/Pos): Add a cross-reference to "Layout | 9 | * display.texi (Fringe Size/Pos): Add a cross-reference to "Layout |
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index 78b4178bb21..d27010d2096 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi | |||
| @@ -1985,28 +1985,6 @@ with X conventions.) The default for @var{data-type} is | |||
| 1985 | @code{STRING}. | 1985 | @code{STRING}. |
| 1986 | @end defun | 1986 | @end defun |
| 1987 | 1987 | ||
| 1988 | @cindex cut buffer | ||
| 1989 | The X server also has a set of eight numbered @dfn{cut buffers} which can | ||
| 1990 | store text or other data being moved between applications. Cut buffers | ||
| 1991 | are considered obsolete, but Emacs supports them for the sake of X | ||
| 1992 | clients that still use them. Cut buffers are numbered from 0 to 7. | ||
| 1993 | |||
| 1994 | @defun x-get-cut-buffer &optional n | ||
| 1995 | This function returns the contents of cut buffer number @var{n}. | ||
| 1996 | If omitted @var{n} defaults to 0. | ||
| 1997 | @end defun | ||
| 1998 | |||
| 1999 | @defun x-set-cut-buffer string &optional push | ||
| 2000 | @anchor{Definition of x-set-cut-buffer} | ||
| 2001 | This function stores @var{string} into the first cut buffer (cut buffer | ||
| 2002 | 0). If @var{push} is @code{nil}, only the first cut buffer is changed. | ||
| 2003 | If @var{push} is non-@code{nil}, that says to move the values down | ||
| 2004 | through the series of cut buffers, much like the way successive kills in | ||
| 2005 | Emacs move down the kill ring. In other words, the previous value of | ||
| 2006 | the first cut buffer moves into the second cut buffer, and the second to | ||
| 2007 | the third, and so on through all eight cut buffers. | ||
| 2008 | @end defun | ||
| 2009 | |||
| 2010 | @defopt selection-coding-system | 1988 | @defopt selection-coding-system |
| 2011 | This variable specifies the coding system to use when reading and | 1989 | This variable specifies the coding system to use when reading and |
| 2012 | writing selections or the clipboard. @xref{Coding | 1990 | writing selections or the clipboard. @xref{Coding |
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index a7c4a3e62f4..142a071f494 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi | |||
| @@ -1126,16 +1126,13 @@ use @code{string=} to compare it with the last text Emacs provided.) | |||
| 1126 | @defvar interprogram-cut-function | 1126 | @defvar interprogram-cut-function |
| 1127 | This variable provides a way of communicating killed text to other | 1127 | This variable provides a way of communicating killed text to other |
| 1128 | programs, when you are using a window system. Its value should be | 1128 | programs, when you are using a window system. Its value should be |
| 1129 | @code{nil} or a function of one required and one optional argument. | 1129 | @code{nil} or a function of one required argument. |
| 1130 | 1130 | ||
| 1131 | If the value is a function, @code{kill-new} and @code{kill-append} call | 1131 | If the value is a function, @code{kill-new} and @code{kill-append} call |
| 1132 | it with the new first element of the kill ring as the first argument. | 1132 | it with the new first element of the kill ring as the argument. |
| 1133 | The second, optional, argument has the same meaning as the @var{push} | ||
| 1134 | argument to @code{x-set-cut-buffer} (@pxref{Definition of | ||
| 1135 | x-set-cut-buffer}) and only affects the second and later cut buffers. | ||
| 1136 | 1133 | ||
| 1137 | The normal use of this function is to set the window system's primary | 1134 | The normal use of this function is to set the window system's primary |
| 1138 | selection (and first cut buffer) from the newly killed text. | 1135 | selection from the newly killed text. |
| 1139 | @xref{Window System Selections}. | 1136 | @xref{Window System Selections}. |
| 1140 | @end defvar | 1137 | @end defvar |
| 1141 | 1138 | ||
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index d811c3b7e43..c97688438c6 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,6 @@ | |||
| 1 | 2010-09-02 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | * cl.texi (Basic Setf): Remove x-get-cut-buffer and x-get-cutbuffer. | ||
| 3 | |||
| 1 | 2010-09-01 Lars Magne Ingebrigtsen <larsi@gnus.org> | 4 | 2010-09-01 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 5 | ||
| 3 | * gnus.texi (HTML): Document gnus-max-image-proportion. | 6 | * gnus.texi (HTML): Document gnus-max-image-proportion. |
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi index 96e4a28ae82..de57ff7d095 100644 --- a/doc/misc/cl.texi +++ b/doc/misc/cl.texi | |||
| @@ -1043,10 +1043,10 @@ frame-visible-p window-hscroll | |||
| 1043 | frame-width window-point | 1043 | frame-width window-point |
| 1044 | get-register window-start | 1044 | get-register window-start |
| 1045 | getenv window-width | 1045 | getenv window-width |
| 1046 | global-key-binding x-get-cut-buffer | 1046 | global-key-binding x-get-secondary-selection |
| 1047 | keymap-parent x-get-cutbuffer | 1047 | keymap-parent x-get-selection |
| 1048 | local-key-binding x-get-secondary-selection | 1048 | local-key-binding |
| 1049 | mark x-get-selection | 1049 | mark |
| 1050 | mark-marker | 1050 | mark-marker |
| 1051 | @end smallexample | 1051 | @end smallexample |
| 1052 | 1052 | ||