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

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

Re: Advising forward-char not working properly


From: Kenichi Handa
Subject: Re: Advising forward-char not working properly
Date: Mon, 23 Jun 2003 16:53:36 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <87znk9w8h6.fsf@zamazal.org>, Milan Zamazal <pdm@zamazal.org> writes:

>>>>>>  "RS" == Richard Stallman <rms@gnu.org> writes:
>             When I advise the function forward-char or backward-char,
>         the advice is not invoked if the function is called via its key
>         binding.

RS>  These functions are executed directly in many cases.

> It's quite suspicious to me why invoking a command through `C-f' behaves
> differently than calling it via `M-x forward-char'.  I'm not saying it's
> a bug, but I wish Emacs were less mysterious :-|.
    
Long ago, when Gerd implemented the new display engine, I
did some test to check the effect of those special handling
of forward-char, backward-char, and self-insert-command.  As
far as I remember, the result was that I couldn't see any
merit in those special handlings.  But, what I did was to
keep pressing C-f and C-b in the TUTORIAL buffer while
making the auto repeating ratio of the keyboard as fast as
possible.  As they are interactive commands and my machine
was a rather fast one, this test is not that reliable.  But
at least, there's a possibility that we no longer need those
special handling.

How about disabling those codes and see if users really
complain or not?

---
Ken'ichi HANDA
handa@m17n.org





reply via email to

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