From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: A way to make Emacs completely disregard a key Date: Mon, 26 Jul 2010 21:54:24 -0600 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1280202904 3273 80.91.229.12 (27 Jul 2010 03:55:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Jul 2010 03:55:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 27 05:55:03 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OdbFr-000866-UP for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jul 2010 05:55:00 +0200 Original-Received: from localhost ([127.0.0.1]:58197 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdbFr-0002cm-H9 for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jul 2010 23:54:59 -0400 Original-Received: from [140.186.70.92] (port=38670 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdbFT-0002cg-8V for help-gnu-emacs@gnu.org; Mon, 26 Jul 2010 23:54:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OdbFS-0001pF-5m for help-gnu-emacs@gnu.org; Mon, 26 Jul 2010 23:54:35 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:45653) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdbFS-0001p6-0N for help-gnu-emacs@gnu.org; Mon, 26 Jul 2010 23:54:34 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OdbFL-0007xM-Uv for help-gnu-emacs@gnu.org; Tue, 27 Jul 2010 05:54:27 +0200 Original-Received: from c-71-237-24-138.hsd1.co.comcast.net ([71.237.24.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jul 2010 05:54:27 +0200 Original-Received: from kevin.d.rodgers by c-71-237-24-138.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jul 2010 05:54:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-71-237-24-138.hsd1.co.comcast.net User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74299 Archived-At: Deniz Dogan wrote: > I have undefined so that it is unbound. But still I get " is > undefined" in the echo area and a beep, which I don't want. I know I > can just bind this to a no-op command instead, (global-set-key (kbd "") 'ignore) > but is there a smart > way to make Emacs completely disregard any hit of the key? So > e.g. C-x C-s would be interpreted as C-x C-s, since is not > even snapped up by Emacs. (define-key special-event-map (kbd "") 'ignore) (info "(elisp)Special Events") -- Kevin Rodgers Denver, Colorado, USA