[Bug: 21.5] Cannot paste outside XEmacs, text copied from a read only buffer

Fabrice Popineau Fabrice.Popineau at supelec.fr
Mon Oct 10 10:27:58 EDT 2005


* Surendra Singhi <efuzzyone at 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.

However, I have noticed some similar behaviour. Run some package like
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.

Regards,

Fabrice




More information about the XEmacs-Beta mailing list