From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: [michael.cadilhac-@t-lrde.epita.fr: sit-for (detect_input_pending ?) and postfix input methods.] Date: Thu, 06 Oct 2005 10:01:40 +0900 Message-ID: References: <87y858udxg.fsf@mahaena.lrde> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1128560799 29194 80.91.229.2 (6 Oct 2005 01:06:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2005 01:06:39 +0000 (UTC) Cc: micha@lrde.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 06 03:06:36 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ENK94-0004M8-59 for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2005 03:02:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ENK93-0008TW-Ku for ged-emacs-devel@m.gmane.org; Wed, 05 Oct 2005 21:02:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ENK8q-0008TN-2L for emacs-devel@gnu.org; Wed, 05 Oct 2005 21:01:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ENK8o-0008RZ-88 for emacs-devel@gnu.org; Wed, 05 Oct 2005 21:01:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ENK8o-0008RV-2p for emacs-devel@gnu.org; Wed, 05 Oct 2005 21:01:46 -0400 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1ENK8n-00075D-GO for emacs-devel@gnu.org; Wed, 05 Oct 2005 21:01:45 -0400 Original-Received: from nfs.m17n.org (nfs.m17n.org [192.47.44.7]) by tsukuba.m17n.org (8.13.4/8.13.4/Debian-3) with ESMTP id j9611gkS004784; Thu, 6 Oct 2005 10:01:42 +0900 Original-Received: from etlken (etlken.m17n.org [192.47.44.125]) by nfs.m17n.org (8.13.4/8.13.4/Debian-3) with ESMTP id j9611fZM025463; Thu, 6 Oct 2005 10:01:42 +0900 Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1ENK8i-0003BB-00; Thu, 06 Oct 2005 10:01:40 +0900 Original-To: Michael Cadilhac In-reply-to: <87y858udxg.fsf@mahaena.lrde> (message from Michael Cadilhac on Wed, 05 Oct 2005 18:27:39 +0200) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:43594 Archived-At: In article <87y858udxg.fsf@mahaena.lrde>, Michael Cadilhac 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 =F0 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. --- Kenichi Handa handa@m17n.org