
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
>>>>> "Joseph" == Joseph C Slater <[EMAIL PROTECTED]> writes:
Joseph> I've been hunting around looking to figure out how to set
Joseph> the behavior of xemacs to be like emacs so that selecting
Joseph> some text puts it in the kill-ring (copy).
It's possible, but not easy. The problem is that in fact that's not
what Emacs does; it does something far more complicated because for
many users that behavior, implemented naively, really gets in the way
of other functionality.
The obvious try is something like (untested)
(defun select-and-copy ()
(own-clipboard)
(copy-region-as-kill (region-beginning) (region-end)))
(setq interprogram-cut-function 'select-and-copy)
But you'll end up with lots of garbage in your kill-ring, I think.
--
Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.
| <-- __Chronological__ --> | <-- __Thread__ --> |