aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJan Djärv2010-09-02 12:17:02 +0200
committerJan Djärv2010-09-02 12:17:02 +0200
commit452401254341cbabb9a55f316d0354b1e98aa2ee (patch)
treec51f2856fffb87110416a4a5929618cac37b230f /doc
parent084e6df30d2e12fffded94c00b27d15889d0999c (diff)
downloademacs-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.texi9
-rw-r--r--doc/lispref/ChangeLog6
-rw-r--r--doc/lispref/frames.texi22
-rw-r--r--doc/lispref/text.texi9
-rw-r--r--doc/misc/ChangeLog3
-rw-r--r--doc/misc/cl.texi8
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,
273at the risk of large memory consumption if other applications generate 273at the risk of large memory consumption if other applications generate
274large selections. 274large 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
279save it to the @dfn{cut buffer}. The cut buffer is an obsolete
280predecessor to the primary selection; most modern applications do not
281use it. Saving text to the cut buffer is slow and inefficient, so
282Emacs 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
286commands, such as @kbd{C-y} (@code{yank}) and @kbd{Mouse-2} 277commands, 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 @@
12010-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
12010-08-28 Eli Zaretskii <eliz@gnu.org> 72010-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
1989The X server also has a set of eight numbered @dfn{cut buffers} which can
1990store text or other data being moved between applications. Cut buffers
1991are considered obsolete, but Emacs supports them for the sake of X
1992clients that still use them. Cut buffers are numbered from 0 to 7.
1993
1994@defun x-get-cut-buffer &optional n
1995This function returns the contents of cut buffer number @var{n}.
1996If 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}
2001This function stores @var{string} into the first cut buffer (cut buffer
20020). If @var{push} is @code{nil}, only the first cut buffer is changed.
2003If @var{push} is non-@code{nil}, that says to move the values down
2004through the series of cut buffers, much like the way successive kills in
2005Emacs move down the kill ring. In other words, the previous value of
2006the first cut buffer moves into the second cut buffer, and the second to
2007the third, and so on through all eight cut buffers.
2008@end defun
2009
2010@defopt selection-coding-system 1988@defopt selection-coding-system
2011This variable specifies the coding system to use when reading and 1989This variable specifies the coding system to use when reading and
2012writing selections or the clipboard. @xref{Coding 1990writing 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
1127This variable provides a way of communicating killed text to other 1127This variable provides a way of communicating killed text to other
1128programs, when you are using a window system. Its value should be 1128programs, 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
1131If the value is a function, @code{kill-new} and @code{kill-append} call 1131If the value is a function, @code{kill-new} and @code{kill-append} call
1132it with the new first element of the kill ring as the first argument. 1132it with the new first element of the kill ring as the argument.
1133The second, optional, argument has the same meaning as the @var{push}
1134argument to @code{x-set-cut-buffer} (@pxref{Definition of
1135x-set-cut-buffer}) and only affects the second and later cut buffers.
1136 1133
1137The normal use of this function is to set the window system's primary 1134The normal use of this function is to set the window system's primary
1138selection (and first cut buffer) from the newly killed text. 1135selection 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 @@
12010-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
12010-09-01 Lars Magne Ingebrigtsen <larsi@gnus.org> 42010-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
1043frame-width window-point 1043frame-width window-point
1044get-register window-start 1044get-register window-start
1045getenv window-width 1045getenv window-width
1046global-key-binding x-get-cut-buffer 1046global-key-binding x-get-secondary-selection
1047keymap-parent x-get-cutbuffer 1047keymap-parent x-get-selection
1048local-key-binding x-get-secondary-selection 1048local-key-binding
1049mark x-get-selection 1049mark
1050mark-marker 1050mark-marker
1051@end smallexample 1051@end smallexample
1052 1052