emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change behaviour of Copy/Cut/Paste from the menu bar.


From: Jason Rumney
Subject: Re: Change behaviour of Copy/Cut/Paste from the menu bar.
Date: Tue, 20 Jan 2004 16:10:45 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007

Jan D. wrote:

Now, if menu-bar-enable-clipboard is called we are almost there,
except for the Paste thing.  Emacs always pastes from the kill ring,
even if there is a CLIPBOARD selection.  So I suggest that we modify
lisp/term/x-term.el as below.  My question is if this is OK, and how
does the other ports (W32, Mac) handle Paste from the menu?  Is it
always from the clipboard, or from the kill-ring?
On W32, x-select-enable-clipboard defaults to t. There is no seperate SELECTION on Windows, so this gives the behavior users expect. It means we always paste from the clipboard unless Emacs is the clipboard owner, in which case we use the kill-ring to avoid clobbering Mule characters (code to handle this is in w32select.c).







reply via email to

[Prev in Thread] Current Thread [Next in Thread]