[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Select and Paste
From: |
Eli Zaretskii |
Subject: |
Re: Select and Paste |
Date: |
Fri, 01 Dec 2006 13:54:55 +0200 |
> From: Richard Stallman <address@hidden>
> Date: Thu, 30 Nov 2006 14:48:43 -0500
> Cc: address@hidden
>
> is a very nice feature to have in the menus but maybe not the best name
> for it since "Select" in nearly the same context refers to selecting
> text in the buffer.
>
> Maybe "Paste More"?
>
> How about Paste Menu?
How about "Paste From Menu"?
> BTW "Paste" is enabled when you are in an info buffer, but "Select and
> Paste" is not.
>
> 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.
As for the buffer-read-only test, I see that it doesn't work in more
than just Paste: for example, Cut also becomes enabled when I mark a
region in a read-only buffer. I didn't have time to debug this,
though.