From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ralf Fassel Newsgroups: gmane.emacs.help Subject: Re: Clearning a keymap completely Date: Fri, 09 Sep 2016 10:41:06 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473410738 27821 195.159.176.226 (9 Sep 2016 08:45:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Sep 2016 08:45:38 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 09 10:45:34 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1biHRD-0006KR-6E for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Sep 2016 10:45:31 +0200 Original-Received: from localhost ([::1]:56611 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biHRA-0007n6-PE for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Sep 2016 04:45:28 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 8 Original-X-Trace: individual.net 8lWOeGYGf7hM0eNrEMeqswqVQ4WqyrNH5aIUVQpDes9NKFnE8= Cancel-Lock: sha1:IHJ1otQa4GPGh9vnPWvn0LK2cMk= sha1:4cS1ZspT60ul5eDRj3snuBJoBZg= Original-Xref: usenet.stanford.edu gnu.emacs.help:218919 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111320 Archived-At: * Narendra Joshi | I need to remove all the self-insert commands in a buffer. I want to | be able to insert text into the buffer through emacs lisp but don't | want the user to be able to insert text. How can this be done? Set the buffer to read-only? R'