From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Heslin Newsgroups: gmane.emacs.devel Subject: Segfault after bad value for meta-prefix-char Date: Thu, 20 Jan 2005 00:24:30 +0000 (UTC) Message-ID: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1106182486 13916 80.91.229.6 (20 Jan 2005 00:54:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 Jan 2005 00:54:46 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 20 01:54:40 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CrQat-0001Ns-00 for ; Thu, 20 Jan 2005 01:54:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CrQmr-0007S9-J6 for ged-emacs-devel@m.gmane.org; Wed, 19 Jan 2005 20:07:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CrQk8-0005mn-U9 for emacs-devel@gnu.org; Wed, 19 Jan 2005 20:04:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CrQhR-0004QI-UI for emacs-devel@gnu.org; Wed, 19 Jan 2005 20:01:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CrQh6-0003uN-Gx for emacs-devel@gnu.org; Wed, 19 Jan 2005 20:01:04 -0500 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CrQ7p-0000pj-HE for emacs-devel@gnu.org; Wed, 19 Jan 2005 19:24:37 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CrQ7n-0006rD-00 for ; Thu, 20 Jan 2005 01:24:35 +0100 Original-Received: from 213-152-32-235.dsl.eclipse.net.uk ([213.152.32.235]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Jan 2005 01:24:35 +0100 Original-Received: from public by 213-152-32-235.dsl.eclipse.net.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Jan 2005 01:24:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 23 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 213-152-32-235.dsl.eclipse.net.uk User-Agent: slrn/0.9.8.0 (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: main.gmane.org gmane.emacs.devel:32401 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32401 Since I never use the ESC key in Emacs, I was experimenting with trying to see if I could bind it to something like keyboard-escape-quit, which I might find useful. Someone in the archives of the xemacs mailing list posted this code: (setq meta-prefix-char -1) So I tried it in GNU Emacs (very stale CVS checkout), and got a segfault. To reproduce it do: emacs -q (setq meta-prefix-char -1) C-x C-e M-x Apparently xemacs documents: "To disable the meta-prefix-char, set it to a negative number." Even if this usage is not legal in GNU Emacs, trying it presumably should not cause a segfault. It would be nice if it were possible to make the escape key a non-prefix key (when running under a windowing system, not a console). Peter