[Aquamacs-devel] [Aquamacs-bugs] more keybinding weirdness
David Reitter
david.reitter at gmail.com
Sun Feb 28 21:20:26 UTC 2010
On Feb 26, 2010, at 10:33 AM, Nathaniel Cunningham wrote:
> It's just as you say, David: We opted not to have basic "kill" commands append their kills to the NS pasteboard (only clipboard-kill and similar commands should do so). Yet, (current-kill 0), called by (yank), always uses the result of (funcall interprogram-paste-function) (and adds the resulting string it to the kill-ring) if `interprogram-paste-function' is defined.
>
> In order to get this working, and still avoid every kill going to the pasteboard, we have a couple of options:
> -- depending on how (yank) is called, determine whether or not to consult the pasteboard at all. Perhaps only consult it if called by (clipboard-kill) or (cua) functions.
Then, when CUA and osx-key-mode are off, users have no direct way of pasting the system clipboard.
> -- keep track of what occurred most recently: a kill or the setting of the system pasteboard. That was all kept track of directly in the pasteboard, before, since kills went there too.
>
The easiest route seems to be to do exactly what the NS port does unless CUA or-key-mode are on. When yanking, consult that variable.
> I will take a look at whether to change the value of `interprogram-paste-function' in a let construct in the `clipboard-paste' and related functions. But I won't get to thi osx s until tomorrow evening or Sunday.
>
OK thanks, let me know!
--
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: This is a digitally signed message part
URL: <http://lists.aquamacs.org/pipermail/aquamacs-devel/attachments/20100228/8a2cd2bb/attachment-0007.sig>
More information about the Aquamacs-devel
mailing list