So, what he really wants is to not have the system clipboard consulted or updated during the execution of a keyboard macro, when the kill-ring should be "internal" data. If that sounds like a good idea, I can whip up a patch.
This would be entirely harmless if, at the end of the macro, the current kill ring contents were copied to the clipboard if the kill ring was set during the macro. Can you do that? Lennart wrote: Is not the variable `x-select-enable-clipboard' for this? The mere existence of the variable doesn't solve this problem, but maybe the solution could make use of that variable. Perhaps would it be convenient to put a defadvice around on execute-kbd-macro for this? No! Emacs code should not use defadvice. When you're trying to make improvements in Emacs or fix problems in Emacs, please do NOT think of defadvice as the way to do it. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel