From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Brinkhoff Newsgroups: gmane.emacs.devel Subject: Re: New text property: `inhibit-read-only' Date: Mon, 17 Nov 2014 08:47:43 +0100 Organization: nocrew Message-ID: <85k32u8e00.fsf@junk.nocrew.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1416210515 12320 80.91.229.3 (17 Nov 2014 07:48:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2014 07:48:35 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 17 08:48:25 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XqH2u-0008Po-Jf for ged-emacs-devel@m.gmane.org; Mon, 17 Nov 2014 08:48:24 +0100 Original-Received: from localhost ([::1]:46551 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqH2u-000101-4H for ged-emacs-devel@m.gmane.org; Mon, 17 Nov 2014 02:48:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqH2a-0000ql-KT for emacs-devel@gnu.org; Mon, 17 Nov 2014 02:48:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqH2T-0006rX-5L for emacs-devel@gnu.org; Mon, 17 Nov 2014 02:48:04 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:40054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqH2S-0006rM-W6 for emacs-devel@gnu.org; Mon, 17 Nov 2014 02:47:57 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XqH2P-0008Ea-Sd for emacs-devel@gnu.org; Mon, 17 Nov 2014 08:47:53 +0100 Original-Received: from c-4957e555.012-14-67626717.cust.bredbandsbolaget.se ([85.229.87.73]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Nov 2014 08:47:53 +0100 Original-Received: from lars by c-4957e555.012-14-67626717.cust.bredbandsbolaget.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Nov 2014 08:47:53 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-4957e555.012-14-67626717.cust.bredbandsbolaget.se User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:GIFru8LZuYgFyhs+NZLTFIqBnNk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:177391 Archived-At: 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?