all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* completion should not inherit read-only property
@ 2006-12-07 17:44 T. V. Raman
  2006-12-07 22:43 ` Kevin Rodgers
  2006-12-08  5:04 ` Richard Stallman
  0 siblings, 2 replies; 8+ messages in thread
From: T. V. Raman @ 2006-12-07 17:44 UTC (permalink / raw)


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,
--raman

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-12-14 18:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-07 17:44 completion should not inherit read-only property T. V. Raman
2006-12-07 22:43 ` Kevin Rodgers
2006-12-13  3:12   ` T. V. Raman
2006-12-14 18:48     ` Kevin Rodgers
2006-12-08  5:04 ` Richard Stallman
2006-12-13  3:11   ` T. V. Raman
2006-12-13 22:02     ` Richard Stallman
2006-12-14 18:43     ` Kevin Rodgers

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.