[OS X Emacs] (does anyone here have knowledge of the) interaction between clipboard and kill-ring?
mcg at gilbert.org
Sun Jul 19 20:55:56 EDT 2009
>> On Tue, Jul 14, 2009 at 7:22 PM, Michael Gilbert <mcg at gilbert.org>
>>> Can anyone comment on how the kill-ring and clipboard interact? Or
>>> how I
>>> might further investigate this problem?
>> I don't know what's going on in detail, but Aquamacs is using the
>> clipboard for pasting = yanking. From the directory Aquamacs
>> grep -r "yank" . or similar ("clipboard", "kill-ring") brings up
>> likely candidates. There is some cut-and-paste support coded into
>> site-lisp/macosx/osxkeys.el, maybe that will help.
>> Thank you, Nathaniel. That got me looking. Using C-h v kill-ring, I
>> its contents. A bit hard to read, but from what it looks like there
>> is some
>> sort of weird interlacing of the Mac OS clipboard and regular kill-
>> contents. BUT I know for a fact stuff is NOT getting killed into the
>> clipboard, since I can look at the clipboard contents (or paste it
>> elsewhere) and it's the last thing Cut or Copied, not the thing
>> that was
>> killed in Aquamacs.
>> I am very confused.
> Usually the thing to do is to try to reproduce the problem after
> setting emacs
> to startup with no customizations etc (using the -Q option for
> instance, or restarting using the "restart aquamacs without
> customizations" menu item). Whether the
> kill ring and system clipboard interact is usually determined by the
> x-select-enable-clipboard, which can be customized, but the problem
> describe seems to go beyond just that.
Thank you, Mark! Did that, with a super simple test file. Exactly the
Not sure where to go from here. Something is very off. Any other
troubleshooting suggestions, anyone?
More information about the MacOSX-Emacs