From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Klaus Berndl Newsgroups: gmane.emacs.help Subject: Disabling all keybindings - How? Date: 11 Oct 2002 09:42:35 +0200 Organization: sd&m AG, Muenchen, Germany Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1034337572 25704 127.0.0.1 (11 Oct 2002 11:59:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 11 Oct 2002 11:59:32 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17zyS1-0006g2-00 for ; Fri, 11 Oct 2002 13:59:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17zyKM-0003Lx-00; Fri, 11 Oct 2002 07:51:34 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!newsfeed.online.be!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!news.sdm.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: sachrang.muc.sdm.de Original-X-Trace: solti3.muc.sdm.de 1034322155 2341 193.102.181.147 (11 Oct 2002 07:42:35 GMT) Original-X-Complaints-To: usenet@news.sdm.de Original-NNTP-Posting-Date: 11 Oct 2002 07:42:35 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:105920 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2465 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2465 I want to write a very small major-mode with only very few senseful keybindings (e.g.: v, h, c, q, s). I want to disable all other keybindings of Emacs because they make really no sense (A new frame is started with a new buffer in this major-mode, some actions have to be performed by the user (e.g.: hitting v or h), stuff is saved by hitting s and then we quit by hitting q (which deletes the new frame) - That's all. OK, now my question: How to disable all Emacs-keybindings for my new major-mode? Is this possible with one command? many thanks in advance, Klaus -- Klaus Berndl mailto: klaus.berndl@sdm.de sd&m AG http://www.sdm.de software design & management Thomas-Dehler-Str. 27, 81737 München, Germany Tel +49 89 63812-392, Fax -220