From: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: [michael.cadilhac-@t-lrde.epita.fr: sit-for (detect_input_pending ?) and postfix input methods.]
Date: Thu, 06 Oct 2005 21:45:06 +0900 [thread overview]
Message-ID: <E1ENV7S-0000kb-00@etlken> (raw)
In-Reply-To: <87r7ayu8ii.fsf@mahaena.lrde> (message from Michael Cadilhac on Thu, 06 Oct 2005 14:36:53 +0200)
In article <87r7ayu8ii.fsf@mahaena.lrde>, Michael Cadilhac <michael.cadilhac-@t-lrde.epita.fr> writes:
>> ??? 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 !
Thank you for testing it. I'll install it if there's no
objection.
---
Kenichi Handa
handa@m17n.org
*** flyspell.el 23 Sep 2005 10:59:25 +0900 1.75
--- flyspell.el 06 Oct 2005 21:44:30 +0900
***************
*** 770,776 ****
((get this-command 'flyspell-delayed)
;; the current command is not delayed, that
;; is that we must check the word now
! (sit-for flyspell-delay))
(t t)))
(t t)))
--- 770,782 ----
((get this-command 'flyspell-delayed)
;; the current command is not delayed, that
;; is that we must check the word now
!
! ;; Note: When an input method is activated, it is likely that
! ;; unread-command-events is non-nil now. Then, sit-for
! ;; instantly returns t. As a workaround for that bug, here we
! ;; explicitely checks unread-command-events.
! (and (not unread-command-events)
! (sit-for flyspell-delay)))
(t t)))
(t t)))
next prev parent reply other threads:[~2005-10-06 12:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1EMIa9-0005hI-PX@fencepost.gnu.org>
2005-10-05 7:26 ` [michael.cadilhac-@t-lrde.epita.fr: sit-for (detect_input_pending ?) and postfix input methods.] Kenichi Handa
2005-10-05 16:27 ` Michael Cadilhac
2005-10-06 1:01 ` Kenichi Handa
2005-10-06 12:36 ` Michael Cadilhac
2005-10-06 12:45 ` Kenichi Handa [this message]
2005-10-05 17:42 ` Stefan Monnier
2005-10-06 1:17 ` Kenichi Handa
2005-10-10 4:15 ` Richard M. Stallman
2005-10-10 9:46 ` Kim F. Storm
2005-10-10 10:53 ` David Kastrup
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1ENV7S-0000kb-00@etlken \
--to=handa@m17n.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.