From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?S=E9bastien_Vauban?= Newsgroups: gmane.emacs.help Subject: Re: Anything.el for Windows Date: Mon, 18 Feb 2008 16:55:38 +0100 Organization: Sebastien Vauban Message-ID: <87y79icl8l.fsf@mundaneum.com> References: <87ve55gc7n.fsf@mundaneum.com> <87r6fqpbno.fsf@mundaneum.com> <874pcfjz2x.fsf@mundaneum.com> <87myq6iftr.fsf@mundaneum.com> <87odamcg3i.fsf@mundaneum.com> <87y79n65xz.fsf@mundaneum.com> <87r6ff4ngk.fsf@mundaneum.com> <873arumoua.fsf@mundaneum.com> <87myq2l4w5.fsf@mundaneum.com> <87skzqfvtt.fsf@mundaneum.com> <874pc6e3ne.fsf@mundaneum.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1203352851 9878 80.91.229.12 (18 Feb 2008 16:40:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Feb 2008 16:40:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 18 17:41:14 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JR93D-0000Bk-DX for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Feb 2008 17:41:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JR92j-0004AZ-1u for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Feb 2008 11:40:37 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!grolier!nerim.net!feed1.news.be.easynet.net!reader0.news.be.easynet.net!not-for-mail Original-Newsgroups: gnu.emacs.help X-Www-site: Under construction... User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:hVtxPBicsExXCx8UONiz/PiMYZs= Original-Lines: 43 Original-NNTP-Posting-Date: 18 Feb 2008 15:55:38 GMT Original-NNTP-Posting-Host: 81.188.7.152 Original-X-Trace: 1203350138 reader0.news.be.easynet.net 1586 [::ffff:81.188.7.152]:10604 Original-X-Complaints-To: abuse@be.easynet.net Original-Xref: shelby.stanford.edu gnu.emacs.help:156272 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:51644 Archived-At: Hi S=E9bastien, >>> One thing you could try is to insert a (message "foo") into >>> anything-c-source-locate's candidates lambda function, so >>> that you can see if it is called. >> >> I could now check that it's not called (after restart of >> Emacs). > > Grr, that's the worst thing you could tell. :-) No, maybe there's worse...=A0;-(( > Ok, I looked into anything.el and maybe I found the culprit. > What does > > (sit-for anything-idle-delay) > > return on your system? If it returns nil, then that's the > problem. ... it does return `t'. I realized I even used that fact to speed up things under Windows, as done in my `.emacs' (comes from EmacsWiki): --8<---------------cut here---------------start------------->8--- ;; make anything minibuffer better input latency (defadvice anything-check-minibuffer-input (around sit-for activate) (if (sit-for anything-idle-delay t) ad-do-it)) --8<---------------cut here---------------end--------------->8--- I commented that, and restarted Emacs to see if there was a change for my problem. No. It did not change anything, except it way slower now on Windows... Thanks for your help, Seb --=20 S=E9bastien=A0Vauban