emacs-devel
[Top][All Lists]
Advanced

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

Re: completion should not inherit read-only property


From: Kevin Rodgers
Subject: Re: completion should not inherit read-only property
Date: Thu, 07 Dec 2006 15:43:25 -0700
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

T. V. Raman wrote:
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.

What is this command `complete'?  What major and minor modes are
you using and how do you invoke `complete'?

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))

--
Kevin





reply via email to

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