> Is not the variable `x-select-enable-clipboard' for this?

No, that enables the use of the X "clipboard selection" in addition to the
X "primary selection", and is only relevant on X (not Windows, which has a
clipboard but doesn't have "selections").  The variables
`interprogram-cut-function' and `interprogram-paste-function' can be set
to nil to suppress the synchronization, but this isn't just a
customization issue (as in "this isn't a problem, you should set X to Y")
because the issue only arises during keyboard macro execution.  If we want
to support this, presumably we want a new variable thusly:

(defcustom macro-private-kills nil
  "*Non-nil means kill and yank commands executed by a keyboard macro
don't interact with window system cut and paste facilities."
  :type 'boolean
  :group 'killing
  :version "22.1")

Then `kill-new', `kill-append', and `current-kill' would be modified to
ignore `interprogram-*-function' if `macro-private-kills' is set and a
keyboard macro is executing.  Better variable names and/or docstrings are
of course welcome.

Davis Herring

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to