From mboxrd@z Thu Jan 1 00:00:00 1970 From: Buck Brody Subject: Re: remember template is slow Date: Mon, 12 Jul 2010 09:18:34 -0700 Message-ID: References: <87iq4n33ik.fsf@gollum.intra.norang.ca> Reply-To: buckbrody@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=55994 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYLiL-0002Iq-Rb for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 12:18:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYLiG-0002Ps-HS for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 12:18:41 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:41839) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYLiG-0002Ph-EZ for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 12:18:36 -0400 Received: by vws1 with SMTP id 1so2768700vws.0 for ; Mon, 12 Jul 2010 09:18:34 -0700 (PDT) In-Reply-To: <87iq4n33ik.fsf@gollum.intra.norang.ca> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bernt Hansen Cc: emacs-orgmode , "Daniel J. Sinder" Bernt, Here are the results: org-remember 1 2.497 2.497 org-do-remember 1 2.496 2.496 org-remember-apply-template 1 2.4939999999 2.4939999999 org-mode 1 2.259 2.259 org-install-agenda-files-menu 1 2.258 2.258 org-agenda-files 1 2.257 2.257 org-select-remember-template 1 0.229 0.229 org-remember-handler 1 0.001 0.001 org-set-regexps-and-options 1 0.001 0.001 org-remember-finalize 1 0.001 0.001 org-fix-tags-on-the-fly 2 0.001 0.0005 org-delete-backward-char 1 0.001 0.001 org-remember-kill 1 0.001 0.001 org-set-font-lock-defaults 1 0.001 0.001 org-hide-wide-columns 2 0.001 0.0005 org-align-tags-here 2 0.001 0.0005 On Sat, Jul 10, 2010 at 5:49 AM, Bernt Hansen wrote: > > "Daniel J. Sinder" writes: > > > On Wed, Jul 7, 2010 at 9:30 AM, Buck Brody wrote: > > > > =A0 =A0 I'm finding that my remember templates are slow to load. =A0I'v= e got a lag of about three to four > > =A0 =A0 seconds. =A0I know that doesn't sound like much, but it's kind = of puts a kink in the workflow. =A0I > > =A0 =A0 use GNU emacs on Windows. =A0I also have cygwin installed, and = I have noticed that the problem > > =A0 =A0 doesn't occur when using cygwin. =A0Any ideas? > > > > For what it's worth, I've also had this problem for a while now.=A0 How= ever, I *do* use emacs w/ > > cygwin: > > Windows XP (w/ Cygwin) > > GNU Emacs 23.2.1 > > Org-mode version 6.36trans (release_6.36.453.g0cd4) > > > > I suspect (for no particular reason other than disdain for Windows) tha= t it is related to poor file > > system (NTFS) access speeds.=A0 For example, maybe org is trying to ope= n several files to look for > > TODO keywords and/or tags? > > You may want to try profiling the code as described by Carsten in the > following post: > > http://thread.gmane.org/gmane.emacs.orgmode/13182 > > That may provide additional information to show exactly where the > slowdown is taking place. > > Regards, > Bernt