comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » idl-pvwave-mode on Emacs: prompt is locked text
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: idl-pvwave-mode on Emacs: prompt is locked text [message #92628 is a reply to message #92627] Tue, 26 January 2016 10:48 Go to previous messageGo to previous message
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
On Tuesday, January 26, 2016 at 10:37:59 AM UTC-8, Edward Hyer wrote:
> Hi IDL Wizards,
>
> I'm going to post this question to Stack Overflow too as it's maybe an emacs question, but this is making me crazy.
>
> The symptom is this: when you copy text out of the *idl* buffer into a file buffer, and include the 'IDL> ' prompt (as you must if you want to copy multiple lines), the lines are set to read-only in the file buffer. The 'IDL> ' cannot be deleted, nothing can be changed.
>
> This is new behavior from emacs, and since it's emacs, I'm sure there's a lisp command to turn it off, but I don't know what it is.
>
> Am I the only one still using the idl-mode in emacs? Has anyone seen this?
>
> --Edward H.

OK, lots of discussion on this. If anyone cares, I found a potential solution, and a cheap workaround.
The potential solution is to add to .emacs:

(add-to-list 'yank-excluded-properties 'read-only)

The cheap workaround is save+revert, which will replace the text in the buffer with what can be saved in the file (text properties cannot be saved in the file, and so are stripped out).

--Edward H.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: 4D Interpolation
Next Topic: IDLWAVE Maintainer Wanted

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:52:07 PDT 2025

Total time taken to generate the page: 0.00392 seconds