<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Jul 14,2009, at 8:15 PM, Nathaniel Cunningham wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_quote">On Tue, Jul 14, 2009 at 7:22 PM, Michael Gilbert <span dir="ltr"><<a href="mailto:mcg@gilbert.org">mcg@gilbert.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; padding-left: 1ex; position: static; z-index: auto; "> <br> Can anyone comment on how the kill-ring and clipboard interact? Or how I might further investigate this problem?<br> <br> </blockquote><div><br>I don't know what's going on in detail, but Aquamacs is using the system clipboard for pasting = yanking.  From the directory Aquamacs Emacs.app/Contents/Resources/site-lisp/,<br>grep -r "yank" . or similar ("clipboard", "kill-ring") brings up several likely candidates.  There is some cut-and-paste support coded into site-lisp/macosx/osxkeys.el, maybe that will help.</div></div></blockquote><br></div><div>Thank you, Nathaniel. That got me looking. Using C-h v kill-ring, I viewed 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-ring 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.</div><div><br></div><div>I am very confused.</div><div><br></div><div>-- Michael</div><div><br></div><div><br></div><br></body></html>