From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jay Dresser Newsgroups: gmane.emacs.help Subject: I can't redefine ";" !!! Date: Mon, 17 Mar 2003 08:37:23 GMT Organization: AT&T Broadband Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <857kay2xjd.fsf@altair4.dresserfamily.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1047890511 13751 80.91.224.249 (17 Mar 2003 08:41:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 17 Mar 2003 08:41:51 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 17 09:41:50 2003 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 18uqBp-0003Ze-00 for ; Mon, 17 Mar 2003 09:41:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18uqB4-00023K-00 for gnu-help-gnu-emacs@m.gmane.org; Mon, 17 Mar 2003 03:41:02 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn12feed!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc52.ops.asp.att.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-NNTP-Posting-Host: 24.127.23.23 Original-X-Complaints-To: abuse@attbi.com Original-X-Trace: rwcrnsc52.ops.asp.att.net 1047890243 24.127.23.23 (Mon, 17 Mar 2003 08:37:23 GMT) Original-NNTP-Posting-Date: Mon, 17 Mar 2003 08:37:23 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:111152 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7652 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7652 This is blowing my mind. I've never had a problem redefining keys before. (define-key asm-mode-map ";" 'self-insert-command) I am trying to disable the bizarre behavior of ";" in assembler mode. I just want it to insert a ";". No matter what I do (global-map, asm-mode-map, in mainline of .emacs, inside asm-mode-hook) it _always_ comes up defined as 'asm-comment, which is apparently set by going to asm-mode. I thought that the hook code was called after going into the mode, but maybe it's before. Anyway, is there any way to make this work? Thanks. -- Jay Dresser / usenet @ dresserfamily . org