emacs-pretest-bug
[Top][All Lists]
Advanced

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

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


From: David Reitter
Subject: OSX: Interprogram cut/paste issues /// "No overlay corresponding to CLIPBOARD selection"
Date: Thu, 28 Apr 2005 20:47:46 +0100

Hi,
the recent changes to the clipboard handling routines (on OS X) left me struggling to get back to normal behavior. There seems to be a bug re copying from other applications:

- select / copy text in Mail (or wherever) into the clipboard
- switch to emacs, select and deselect some text
- try to paste.
either it'll paste some old clipboard content, or it'll say that the killring is empty.

My settings are appended below - the interprogram-X-function stuff is necessary so it won't copy the region to the clipboard, but the bug is reproducible either way.

Furthermore, I often get a "mouse-sel-selection-overlay: No overlay corresponding to CLIPBOARD selection" error when I try close a frame with the mouse (the window closer). The frame stays up.
Not sure where that is coming from.
The message appears in a different window (than the one displayed in the frame to be closed), and it seems to only occur with some frames and is not tied to their mode / buffer / dedicated-ness.



---
;; reset interprogram-cut-function etc to original values
(setq interprogram-cut-function 'x-select-text
      interprogram-paste-function 'x-get-selection-value)
;; (setq mouse-sel-default-bindings 'interprogram-cut-paste)

(mouse-sel-mode 1)
(global-set-key [(shift down-mouse-1)] 'mouse-extend)
(setq cua-use-hyper-key 'only) ;;this avoids shift-return

;; (require 'cua-base) ;autoload
(cua-mode 1) ;;  turns on transient-mark-mode

(setq cua-enable-cua-keys nil)
(setq cua-keep-region-after-copy t)
(setq mouse-sel-leave-point-near-mouse t)

also, x-select-enable-clipboard is t.






reply via email to

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