[Top][All Lists]

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

completion should not inherit read-only property

From: T. V. Raman
Subject: completion should not inherit read-only property
Date: Thu, 7 Dec 2006 09:44:50 -0800

I've noticed that recently, completion has started inheriting the
read-only property.

Test: if you have a string in a read-only buffer
e.g. foobarbasbar 

and you then type foo and complete it to foobarbasbar  using
command `complete' then the completed string ends up read-only. 

This is an irritant because if this happens to you in a mail
composition buffer (I use vm) then sending mail fails because
part of the buffer is read-only --- you end up having to eval
the appropriate lisp expression to remove the read-only property
with something like:
(let ((inhibit-read-only t))
    (put-text-property start end
                       'read-only nil))

Best Regards,

Email:  address@hidden
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: address@hidden
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs

reply via email to

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