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

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

Re: C-;


From: bill14703
Subject: Re: C-;
Date: Wed, 1 Nov 2000 09:26:28 -0800 (PST)

"Ehud Karni" <ehud@unix.simonwiesel.co.il> writes:

> On Wed, 25 Oct 2000 16:04:00 -0700, jonathan bright
<jonathan.bright@onebox.com> wrote:
> > 
> > i'm unable to map Control SemiColon, for example:
> > 
> >     (define-key global-map "\C-;" 'forward-char)
> 
> The way to define Control ; (and any non ASCII
Control char is:
>     (define-key global-map [?\C-;] 'forward-char)

There are some problems here, however, at least on 
NTEmacs 20.6 and 20.7.

If I start emacs on NT with "emacs --no-init-file" 
and evaluate 

  (define-key global-map "\C-;" 'forward-char)

then M-x becomes undefined.


If I start emacs and do

  M-: (define-key global-map [?\C-;] 'forward-char)

then C-; works as expected.

If I start emacs, put

  (define-key global-map [?\C-;] 'forward-char)

in the *scratch* buffer, and evaluate the expression, 
then the parser seems to think that the ";" marks the 
beginning of a comment.

For example, if I position the curser at the 
beginning of the line, and type C-M-x to evaluate 
it, I get 

  Scan error: "Unbalanced parentheses", 183, 245



__________________________________________________
Do You Yahoo!?
>From homework help to love advice, Yahoo! Experts has your answer.
http://experts.yahoo.com/



reply via email to

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