[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inhibiting read-only
From: |
Jambunathan K |
Subject: |
Re: Inhibiting read-only |
Date: |
Wed, 19 Jun 2013 23:14:29 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Lars Magne Ingebrigtsen <address@hidden> writes:
> Jambunathan K <address@hidden> writes:
>
>> (add-text-properties (point) (point-max) '(read-only t))
>
> I do not want to put the `read-only' text property on the rest of the
> text, because that makes copying/yanking the text really annoying.
So `read-only' is discarded while yanking. (See `yank-excluded-properties') .
But when you are yanking a (... 'read-only 'read-only) text in the
middle of an (... 'read-only 'editable) field, I see that the 'read-only
property is removed altogether on the newly yanked portion. (I am
wondering) Shouldn't the yanked text should inherit the read-only
property of the surrounding text and thus get the ('read-only 'editable)
value.
- Re: Inhibiting read-only, (continued)
- Re: Inhibiting read-only, Juanma Barranquero, 2013/06/19
- Re: Inhibiting read-only, Juanma Barranquero, 2013/06/19
- Re: Inhibiting read-only, Jambunathan K, 2013/06/19
- Re: Inhibiting read-only, Juanma Barranquero, 2013/06/19
- Re: Inhibiting read-only, Lars Magne Ingebrigtsen, 2013/06/19
- Re: Inhibiting read-only, Juanma Barranquero, 2013/06/19
- Re: Inhibiting read-only, Lars Magne Ingebrigtsen, 2013/06/19
- Re: Inhibiting read-only,
Jambunathan K <=
Re: Inhibiting read-only, Juanma Barranquero, 2013/06/19
Re: Inhibiting read-only, James Cloos, 2013/06/19