all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: completion should not inherit read-only property
Date: Thu, 07 Dec 2006 15:43:25 -0700	[thread overview]
Message-ID: <ela5fs$qq5$2@sea.gmane.org> (raw)
In-Reply-To: <17784.21266.323656.308120@gargle.gargle.HOWL>

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	other threads:[~2006-12-07 22:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-07 17:44 completion should not inherit read-only property T. V. Raman
2006-12-07 22:43 ` Kevin Rodgers [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ela5fs$qq5$2@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.