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

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

Re: ESC C-% is seen as ESC C-5


From: Ehud Karni
Subject: Re: ESC C-% is seen as ESC C-5
Date: Mon, 8 Jan 2001 14:34:15 +0200

On Sun, 7 Jan 2001 09:11:38 +0200 (IST), Eli Zaretskii <address@hidden> wrote:
> 
> On 7 Jan 2001, Dan Jacobson wrote:
> > Is it all my fault that
> > ESC C-%             query-replace-regexp
> > is seen as
> > ESC C-5             digit-argument
> > on my 'US' keyboard?
> 
> ??? query-replace-regexp is bound to "ESC %", not "ESC C-%".  The latter 
> won't work on a tty, I think.

Eli, for a change, this time Mr. Jacobson is right. `replace.el' defines:
        (define-key esc-map "%" 'query-replace)
and     (define-key esc-map [?\C-%] 'query-replace-regexp)

but when he type ESC C-%, he does not hold the shift so he ends up with 
C-5. I checked both NTemacs and Emacs on X windows and ESC C-% works as
defined.

Of course you are right that it won't work on tty (no C-% in ASCII).

Ehud.


-- 
 @@@@@@ @@@ @@@@@@ @    @   Ehud Karni  Simon & Wiesel  Insurance agency
     @    @      @  @@  @   Tel: +972-3-6212-757    Fax: +972-3-6292-544
     @    @ @    @ @  @@    (USA)  Fax  and  voice  mail:  1-815-5509341
     @    @ @    @ @    @        Better     Safe     Than     Sorry
 http://www.simonwiesel.co.il    mailto:address@hidden



reply via email to

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