[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New text property: `inhibit-read-only'
From: |
Lars Brinkhoff |
Subject: |
Re: New text property: `inhibit-read-only' |
Date: |
Mon, 17 Nov 2014 08:47:43 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Larsi wrote:
>> So I've just implemented an `inhibit-read-only' text property and
>> pushed it.
That's exactly what I was looking for the other week! (When I didn't
find it, my workaround was to set the read-only text property to t
everywhere except for the writable bits.)
Stefan Monnier wrote:
> What is different that the solution used in Custom buffers can't be
> used or doesn't work well in eww?
That solution being: The buffer is writable, but uses a keymap with
self-insert-command remapped to signal an error. Ecxept for editable
fields, which use another keymap. Right?