emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: sit-for (detect_input_pending ?) and postfix input m


From: Michael Cadilhac
Subject: Re: address@hidden: sit-for (detect_input_pending ?) and postfix input methods.]
Date: Thu, 06 Oct 2005 14:36:53 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Kenichi Handa <address@hidden> writes:

> In article <address@hidden>, Michael Cadilhac <address@hidden> writes:
>
>>>  --- 770,777 ----
>>>         ((get this-command 'flyspell-delayed)
>>>          ;; the current command is not delayed, that
>>>          ;; is that we must check the word now
>>>  !       (and (not unread-command-events)
>>>  !     (sit-for flyspell-delay)))
>>>         (t t)))
>>>       (t t)))
>
>>    Thanks for your deep explanation !
>
>>    Note that with your workaround, you're disabling a flyspell feature
>>    which  is, when you  type a  world and  don't add  delimiters, this
>>    world will eventually be checked after `flyspell-delay' seconds.
>
> ??? The above change should not disable that feature.  The
> reason why "world" is not checked is because when you type
> the last "d", you are still in the command loop within input
> method (because "d" has a possibility of being tranlated to
> ð when you type "/" after it), thus after-change-functions
> is bound to nil.  If you type "worlk" instead, it should be
> checked after `flyspell-delay' seconds because the last "k"
> is committed instantly.

  Yep, you're right. Sorry for the misunderstanding of the behavior.

  So your patch is ok for me. Thanks !

-- 
    Michael Cadilhac, a.k.a. Micha [mika] |
                    Epita/LRDE promo 2007 |  Please note that you should
  2 rue de la Convention | 08.70.65.13.14 |  s/address@hidden/@/ my mail 
address.
94270 Le Kremlin Bicetre | 06.23.20.31.30 |




reply via email to

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