emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r101299: Remove cut buffer from docum


From: Jan D.
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r101299: Remove cut buffer from documentation.
Date: Thu, 02 Sep 2010 12:17:02 +0200
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 101299
committer: Jan D. <address@hidden>
branch nick: trunk
timestamp: Thu 2010-09-02 12:17:02 +0200
message:
  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.
modified:
  doc/emacs/frames.texi
  doc/lispref/ChangeLog
  doc/lispref/frames.texi
  doc/lispref/text.texi
  doc/misc/ChangeLog
  doc/misc/cl.texi
  lisp/ChangeLog
  lisp/eshell/em-term.el
  lisp/frame.el
  lisp/mouse-sel.el
  lisp/term.el
  lisp/term/ns-win.el
  lisp/term/pc-win.el
  lisp/term/x-win.el
  lisp/w32-fns.el
=== modified file 'doc/emacs/frames.texi'
--- a/doc/emacs/frames.texi     2010-07-29 17:10:41 +0000
+++ b/doc/emacs/frames.texi     2010-09-02 10:17:02 +0000
@@ -273,15 +273,6 @@
 at the risk of large memory consumption if other applications generate
 large selections.
 
address@hidden cut buffer
address@hidden x-cut-buffer-max
-  Whenever Emacs saves some text to the primary selection, it may also
-save it to the @dfn{cut buffer}.  The cut buffer is an obsolete
-predecessor to the primary selection; most modern applications do not
-use it.  Saving text to the cut buffer is slow and inefficient, so
-Emacs only does it if the text is shorter than the value of
address@hidden (20000 characters by default).
-
   You can yank the primary selection into Emacs using the usual yank
 commands, such as @kbd{C-y} (@code{yank}) and @kbd{Mouse-2}
 (@code{mouse-yank-at-click}).  These commands actually check the

=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog     2010-08-28 08:10:13 +0000
+++ b/doc/lispref/ChangeLog     2010-09-02 10:17:02 +0000
@@ -1,3 +1,9 @@
+2010-09-02  Jan Djärv  <address@hidden>
+
+       * text.texi (Low-Level Kill Ring):
+       * frames.texi (Window System Selections): Remove cut buffer
+       documentation.
+
 2010-08-28  Eli Zaretskii  <address@hidden>
 
        * display.texi (Fringe Size/Pos): Add a cross-reference to "Layout

=== modified file 'doc/lispref/frames.texi'
--- a/doc/lispref/frames.texi   2010-08-28 08:10:13 +0000
+++ b/doc/lispref/frames.texi   2010-09-02 10:17:02 +0000
@@ -1985,28 +1985,6 @@
 @code{STRING}.
 @end defun
 
address@hidden cut buffer
-The X server also has a set of eight numbered @dfn{cut buffers} which can
-store text or other data being moved between applications.  Cut buffers
-are considered obsolete, but Emacs supports them for the sake of X
-clients that still use them.  Cut buffers are numbered from 0 to 7.
-
address@hidden x-get-cut-buffer &optional n
-This function returns the contents of cut buffer number @var{n}.
-If omitted @var{n} defaults to 0.
address@hidden defun
-
address@hidden x-set-cut-buffer string &optional push
address@hidden of x-set-cut-buffer}
-This function stores @var{string} into the first cut buffer (cut buffer
-0).  If @var{push} is @code{nil}, only the first cut buffer is changed.
-If @var{push} is address@hidden, that says to move the values down
-through the series of cut buffers, much like the way successive kills in
-Emacs move down the kill ring.  In other words, the previous value of
-the first cut buffer moves into the second cut buffer, and the second to
-the third, and so on through all eight cut buffers.
address@hidden defun
-
 @defopt selection-coding-system
 This variable specifies the coding system to use when reading and
 writing selections or the clipboard.  @xref{Coding

=== modified file 'doc/lispref/text.texi'
--- a/doc/lispref/text.texi     2010-07-21 18:05:31 +0000
+++ b/doc/lispref/text.texi     2010-09-02 10:17:02 +0000
@@ -1126,16 +1126,13 @@
 @defvar interprogram-cut-function
 This variable provides a way of communicating killed text to other
 programs, when you are using a window system.  Its value should be
address@hidden or a function of one required and one optional argument.
address@hidden or a function of one required argument.
 
 If the value is a function, @code{kill-new} and @code{kill-append} call
-it with the new first element of the kill ring as the first argument.
-The second, optional, argument has the same meaning as the @var{push}
-argument to @code{x-set-cut-buffer} (@pxref{Definition of
-x-set-cut-buffer}) and only affects the second and later cut buffers.
+it with the new first element of the kill ring as the argument.
 
 The normal use of this function is to set the window system's primary
-selection (and first cut buffer) from the newly killed text.
+selection from the newly killed text.
 @xref{Window System Selections}.
 @end defvar
 

=== modified file 'doc/misc/ChangeLog'
--- a/doc/misc/ChangeLog        2010-09-02 00:54:08 +0000
+++ b/doc/misc/ChangeLog        2010-09-02 10:17:02 +0000
@@ -1,3 +1,6 @@
+2010-09-02  Jan Djärv  <address@hidden>
+       * cl.texi (Basic Setf): Remove x-get-cut-buffer and x-get-cutbuffer.
+
 2010-09-01  Lars Magne Ingebrigtsen  <address@hidden>
 
        * gnus.texi (HTML): Document gnus-max-image-proportion.

=== modified file 'doc/misc/cl.texi'
--- a/doc/misc/cl.texi  2010-08-12 09:02:02 +0000
+++ b/doc/misc/cl.texi  2010-09-02 10:17:02 +0000
@@ -1043,10 +1043,10 @@
 frame-width                       window-point
 get-register                      window-start
 getenv                            window-width
-global-key-binding                x-get-cut-buffer
-keymap-parent                     x-get-cutbuffer
-local-key-binding                 x-get-secondary-selection
-mark                              x-get-selection
+global-key-binding                x-get-secondary-selection
+keymap-parent                     x-get-selection
+local-key-binding                 
+mark                              
 mark-marker
 @end smallexample
 

=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-09-02 09:47:08 +0000
+++ b/lisp/ChangeLog    2010-09-02 10:17:02 +0000
@@ -1,5 +1,16 @@
 2010-09-02  Jan Djärv  <address@hidden>
 
+       * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
+       Remove cut buffer from error message.
+
+       * term/x-win.el (x-select-text):
+       * term/pc-win.el (x-selection-value):
+       * term/ns-win.el (x-selection-value):
+       * eshell/em-term.el:
+       * w32-fns.el (x-get-selection-value):
+       * mouse-sel.el (mouse-sel-set-selection-function):
+       * frame.el (display-selections-p): Remove cut-buffer in documentation.
+
        * term/x-win.el: Update documentation for x-last-selected-text-*.
        (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
        (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.

=== modified file 'lisp/eshell/em-term.el'
--- a/lisp/eshell/em-term.el    2010-01-13 08:35:10 +0000
+++ b/lisp/eshell/em-term.el    2010-09-02 10:17:02 +0000
@@ -187,8 +187,7 @@
 ;   (if (boundp 'xemacs-logo)
 ;       (eshell-term-send-raw-string
 ;        (or (condition-case () (x-get-selection) (error ()))
-;         (x-get-cutbuffer)
-;         (error "No selection or cut buffer available")))
+;         (error "No selection available")))
 ;     ;; Give temporary modes such as isearch a chance to turn off.
 ;     (run-hooks 'mouse-leave-buffer-hook)
 ;     (setq this-command 'yank)

=== modified file 'lisp/frame.el'
--- a/lisp/frame.el     2010-08-29 16:17:13 +0000
+++ b/lisp/frame.el     2010-09-02 10:17:02 +0000
@@ -1210,8 +1210,7 @@
 (defun display-selections-p (&optional display)
   "Return non-nil if DISPLAY supports selections.
 A selection is a way to transfer text or other data between programs
-via special system buffers called `selection' or `cut buffer' or
-`clipboard'.
+via special system buffers called `selection' or `clipboard'.
 DISPLAY can be a display name, a frame, or nil (meaning the selected
 frame's display)."
   (let ((frame-type (framep-on-display display)))

=== modified file 'lisp/mouse-sel.el'
--- a/lisp/mouse-sel.el 2010-09-02 09:47:08 +0000
+++ b/lisp/mouse-sel.el 2010-09-02 10:17:02 +0000
@@ -314,8 +314,8 @@
   SELECTION, the name of the selection concerned, and
   VALUE, the text to store.
 
-This sets the selection as well as the cut buffer for the older applications,
-unless `mouse-sel-default-bindings' is `interprogram-cut-paste'.")
+This sets the selection, unless `mouse-sel-default-bindings' 
+is `interprogram-cut-paste'.")
 
 (declare-function x-selection-value "term/x-win" ())
 

=== modified file 'lisp/term.el'
--- a/lisp/term.el      2010-08-08 21:12:29 +0000
+++ b/lisp/term.el      2010-09-02 10:17:02 +0000
@@ -1231,8 +1231,7 @@
   (if (featurep 'xemacs)
       (term-send-raw-string
        (or (condition-case () (x-get-selection) (error ()))
-          (x-get-cutbuffer)
-          (error "No selection or cut buffer available")))
+          (error "No selection available")))
     ;; Give temporary modes such as isearch a chance to turn off.
     (run-hooks 'mouse-leave-buffer-hook)
     (setq this-command 'yank)

=== modified file 'lisp/term/ns-win.el'
--- a/lisp/term/ns-win.el       2010-09-02 09:47:08 +0000
+++ b/lisp/term/ns-win.el       2010-09-02 10:17:02 +0000
@@ -1041,8 +1041,7 @@
 (defun x-selection-value ()
   (let (text)
 
-    ;; Consult the selection, then the cut buffer.  Treat empty strings
-    ;; as if they were unset.
+    ;; Consult the selection.  Treat empty strings as if they were unset.
     (or text (setq text (ns-get-pasteboard)))
     (if (string= text "") (setq text nil))
 

=== modified file 'lisp/term/pc-win.el'
--- a/lisp/term/pc-win.el       2010-09-02 09:47:08 +0000
+++ b/lisp/term/pc-win.el       2010-09-02 10:17:02 +0000
@@ -192,7 +192,7 @@
 
 ;; From lisp/term/w32-win.el
 ;
-;;;; Selections and cut buffers
+;;;; Selections
 ;
 ;;; We keep track of the last text selected here, so we can check the
 ;;; current selection against it, and avoid passing back our own text
@@ -226,8 +226,7 @@
   (setq x-last-selected-text text))
 
 ;;; Return the value of the current selection.
-;;; Consult the selection, then the cut buffer.  Treat empty strings
-;;; as if they were unset.
+;;; Consult the selection.  Treat empty strings as if they were unset.
 (defun x-get-selection-value ()
   (if x-select-enable-clipboard
       (let (text)

=== modified file 'lisp/term/x-win.el'
--- a/lisp/term/x-win.el        2010-09-02 09:47:08 +0000
+++ b/lisp/term/x-win.el        2010-09-02 10:17:02 +0000
@@ -1192,7 +1192,7 @@
 ;; #x0dde      THAI MAIHANAKAT Thai
 
 
-;;;; Selections and cut buffers
+;;;; Selections
 
 ;; We keep track of the last text selected here, so we can check the
 ;; current selection against it, and avoid passing back our own text
@@ -1233,8 +1233,6 @@
 On Nextstep, put TEXT in the pasteboard."
   ;; With multi-tty, this function may be called from a tty frame.
   (when (eq (framep (selected-frame)) 'x)
-    ;; Don't send the cut buffer too much text.
-    ;; It becomes slow, and if really big it causes errors.
     (when x-select-enable-primary
       (x-set-selection 'PRIMARY text)
       (setq x-last-selected-text-primary text))

=== modified file 'lisp/w32-fns.el'
--- a/lisp/w32-fns.el   2010-09-02 09:47:08 +0000
+++ b/lisp/w32-fns.el   2010-09-02 10:17:02 +0000
@@ -425,7 +425,7 @@
                         'w32-charset-info-alist "21.1")
 
 
-;;;; Selections and cut buffers
+;;;; Selections
 
 ;; We keep track of the last text selected here, so we can check the
 ;; current selection against it, and avoid passing back our own text
@@ -450,8 +450,7 @@
 
 (defun x-get-selection-value ()
   "Return the value of the current selection.
-Consult the selection, then the cut buffer.  Treat empty strings as if
-they were unset."
+Consult the selection.  Treat empty strings as if they were unset."
   (if x-select-enable-clipboard
       (let (text)
        ;; Don't die if x-get-selection signals an error.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]