[Top][All Lists]

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

Re: OSX: Interprogram cut/paste issues /// "No overlay corresponding to

From: David Reitter
Subject: Re: OSX: Interprogram cut/paste issues /// "No overlay corresponding to CLIPBOARD selection"
Date: Fri, 29 Apr 2005 08:32:19 +0100

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

On Thu, 28 Apr 2005 20:47:46 +0100, David Reitter <address@hidden> 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.


reply via email to

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