help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I can't redefine ";" !!!


From: Kevin Rodgers
Subject: Re: I can't redefine ";" !!!
Date: Tue, 18 Mar 2003 10:06:15 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Jay Dresser wrote:

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.

Read the source.  Search for asm-comment-char and asm-mode-set-comment-hook.

--
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]