From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: How to avoid insert anything without switching to read only Date: Mon, 11 Jul 2005 01:05:26 +0200 Message-ID: <851x66b6tl.fsf@lola.goethe.zz> References: <42CF8E15.7010900@student.lu.se> <42D1A191.6050509@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1121038058 19226 80.91.229.2 (10 Jul 2005 23:27:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Jul 2005 23:27:38 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, kifer@cs.sunysb.edu, "Kim F. Storm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 11 01:27:30 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DrlCl-0001QX-CU for ged-emacs-devel@m.gmane.org; Mon, 11 Jul 2005 01:27:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DrlEI-0004pS-S5 for ged-emacs-devel@m.gmane.org; Sun, 10 Jul 2005 19:28:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DrlBq-0003rb-9r for emacs-devel@gnu.org; Sun, 10 Jul 2005 19:26:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DrlBh-0003mh-71 for emacs-devel@gnu.org; Sun, 10 Jul 2005 19:26:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DrlBe-0003Uz-7p for emacs-devel@gnu.org; Sun, 10 Jul 2005 19:26:16 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Drkyt-0008O8-Iz for emacs-devel@gnu.org; Sun, 10 Jul 2005 19:13:03 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1Drkon-0002ws-07; Sun, 10 Jul 2005 19:02:37 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 200911C3C783; Mon, 11 Jul 2005 01:05:26 +0200 (CEST) Original-To: Lennart Borgman In-Reply-To: <42D1A191.6050509@student.lu.se> (Lennart Borgman's message of "Mon, 11 Jul 2005 00:30:41 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:40741 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40741 Lennart Borgman writes: > Kim F. Storm wrote: > >>"Richard M. Stallman" writes: >> >>>What you should do is rebind those characters to run >>>another command, one that does your special thing >>>and calls self-insert. >>> >>> >> >>Or use the command remap feature. >> > Thanks, but I am not able to understand how to apply any of your > suggestions in a case like this. The problem is that the keyboard > keys to change are all those that are outside a set of those defined > to useful things (say a-z for simplicity). All other keys should be > defined to do nothing. There are plenty of potential keys (65K). It > does not seem to be possible to handle them all separately. > > Can you please explain a little bit more in detail how you think > this could be done? Could the actual available keyboard keys in a > specific situation in some way be listed? I don't understand why it is worth doing in the first place. Why not just let those characters self-insert? They don't have any other meaning in vi. What use is it to have them beep? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum