emacs-devel
[Top][All Lists]
Advanced

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

Re: Select and Paste


From: martin rudalics
Subject: Re: Select and Paste
Date: Sat, 02 Dec 2006 20:53:10 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

>     > That seems like a bug, but it doesn't happen when I try it,
>     > and the code checks buffer-read-only.  Can you debug why it
>     > fails for you?
>
>     The fact that Paste and Select and Paste behave differently is not a
>     bug: Paste could be enabled because Emacs sees text in the X selection
>     (or the Windows clipboard).  In that case, if the Emacs kill-ring is
>     empty, Select and Paste will be disabled.
>
> Both of these have conditions of the form (and ... (not buffer-read-only)),
> so I don't see how either of them could be enabled in a read-only buffer
> regardless of other circumstances.
>
> The same is true of Cut.

Maybe because the key definitions come from `menu-bar-enable-clipboard'.





reply via email to

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