emacs-devel
[Top][All Lists]
Advanced

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

Re: Possible emacs bug when type password fields


From: Borja Tarraso
Subject: Re: Possible emacs bug when type password fields
Date: Thu, 07 May 2009 21:53:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

Hi Stefan,

Near :-) this time works fine, i can write from the beginning, however
C-g stills does not work, when I press C-g it writes another additional
character.

Thanks!

Borja Tarraso

Andreas Schwab <address@hidden> writes:

> Stefan Monnier <address@hidden> writes:
>
>>>> --- lisp/subr.el   2009-05-02 00:32:01 +0000
>>>> +++ lisp/subr.el   2009-05-06 01:21:02 +0000
>>>> @@ -1997,10 +1997,11 @@
>>>> (and (arrayp pass) (clear-string pass))
>>>> (setq pass new-pass))))
>>>> ((not (numberp c)))
>>>> -          ((= c ?\C-u) ; kill line
>>>> +          ((eq c ?\C-u) ; kill line
>>
>>> That should not make a difference, since c is guaranteed to be a number
>>> here.
>>
>> That's the thing: by changing red-char into read-key (done by the
>> previous patch), it is not guaranteed any more.
>
> Look closer.  The preceeding clause catches all non-numberp cases.
>
> Andreas.




reply via email to

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