On 29 Apr 2005, at 02:55, YAMAMOTO Mitsuharu wrote:

On Thu, 28 Apr 2005 20:47:46 +0100, David Reitter <[EMAIL PROTECTED]> said:

Hi, the recent changes to the clipboard handling routines (on OS X)
left me struggling to get back to normal behavior.

What point is different from "normal behavior" do you think when mouse-sel is not used?

The problems (below) go away if mouse-sel is not used, yet I cannot get it to not copy the region into the clipboard (killring) when some region is selected.


(setq mouse-sel-default-bindings 'interprogram-cut-paste)
(mouse-sel-mode 1)
(setq mouse-sel-set-selection-function
    (lambda (selection value)   
      (if (eq selection 'PRIMARY)
          (x-select-text value)
        (x-set-selection selection value))))
(defalias 'x-cut-buffer-or-selection-value 'x-get-selection-value)

Doesn't work, sorry. The same problem occurs: copy text into clipboard in ext. application, then select a region, then paste -> some previous clipboard text is inserted, not the one I want to copy.


Thanks for the patch, will check it out.

-D



_______________________________________________
Emacs-pretest-bug mailing list
Emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to