Fabrice Popineau <Fabrice.Popineau(a)supelec.fr> writes:
* Surendra Singhi <efuzzyone(a)netscape.net> writes:
> When I try to copy some text from read-only buffer, first I get
> warnings 'buffer is read-only', there should be no warnings as I
> am just copying an not modifying anything. Then, when I paste this
> read only text in some other buffer. I cannot modify the text. The
> read-only property should be only maintained in the buffer from
> where text was copied and not globally. Finally, I am not able to
> paste this text anywhere outside XEmacs.
I can't reproduce this behavior. Take some buffer, pout it in read-only
mode and you can still copy things and paste them outside.
Sorry, my bug report was wrong, copying and pasting from a read only
buffer works fine.
However, I have noticed some similar behaviour. Run some package
the slime (common lisp interface) package. It opens an interaction
buffer, and there is a prompt in this buffer. If you copy text from this
buffer and paste it somewhere else, you won't be able to overwrite part
of it. This is because there seems to be a read-only property attached
to the text of the prompt and this property is pasted with the the text.
It is this which I should have mentioned in bug report. How do I get rid of
this read-only property? And what should I do to be able to copy it into some
place outside XEmacs.
Thanks for your help.
| By all means marry; if you get a good wife, you'll be happy. If you
| get a bad one, you'll become a philosopher.
| -- Socrates