From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: long delay after selecting capture template Date: Fri, 18 Mar 2016 07:53:39 +0800 Message-ID: <871t78d5ks.fsf@ericabrahamsen.net> References: <87h9g5kpf6.fsf@viking.dsc.soic.indiana.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aghjo-0001Kb-MA for emacs-orgmode@gnu.org; Thu, 17 Mar 2016 19:53:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aghjl-00010z-Hg for emacs-orgmode@gnu.org; Thu, 17 Mar 2016 19:53:56 -0400 Received: from plane.gmane.org ([80.91.229.3]:50837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aghjl-00010t-Al for emacs-orgmode@gnu.org; Thu, 17 Mar 2016 19:53:53 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aghjh-0004dN-W7 for emacs-orgmode@gnu.org; Fri, 18 Mar 2016 00:53:50 +0100 Received: from 61.149.185.69 ([61.149.185.69]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Mar 2016 00:53:49 +0100 Received: from eric by 61.149.185.69 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Mar 2016 00:53:49 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Allan Streib writes: > Hi, > > When I want to capture a task I hit C-c c and then t to select the task > template. > > Between striking the t key and seeing the template rendered, there is a > delay of several seconds (sometimes up to 10 seconds). No errors are > logged and the template eventually displays and everything is normal. > > As the whole point of capturing is to quickly log task items and get > back to the primary work at hand, this delay can be annoying. Any > suggestions at where to look to resolve this? I guess I would `toggle-debug-on-quit', then call capture, and while you're waiting for it to return, hit "C-g". That ought to pop up a backtrace, and you can see what code was being executed during the delay. It might be obvious what's wrong, or you can post the backtrace here. Yours, Eric