From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-agenda-do-date-late and emacs freeze Date: Tue, 18 Feb 2014 08:09:24 -0500 Message-ID: <87fvngefej.fsf@gmail.com> References: <20140218123848.GA9094@pedroche.uni-erfurt.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFkQq-0007kC-Lm for emacs-orgmode@gnu.org; Tue, 18 Feb 2014 08:09:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFkQi-0005FA-CU for emacs-orgmode@gnu.org; Tue, 18 Feb 2014 08:09:52 -0500 Received: from plane.gmane.org ([80.91.229.3]:38147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFkQi-0005Ey-75 for emacs-orgmode@gnu.org; Tue, 18 Feb 2014 08:09:44 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WFkQb-0002HT-Lw for emacs-orgmode@gnu.org; Tue, 18 Feb 2014 14:09:37 +0100 Received: from pool-98-110-172-167.bstnma.fios.verizon.net ([98.110.172.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Feb 2014 14:09:37 +0100 Received: from ndokos by pool-98-110-172-167.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Feb 2014 14:09:37 +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 Igor Sosa Mayor writes: > Hi, > > is there a way to debug what is happening after pressing some key > combination. > > I have the problem that in the agenda view when I press M-+ to run the > function org-agenda-do-date-late, sometimes (and this is the problme: it > happens randomly, not always), emacs gets freezed and I have to press > C-g to cancel. Interestingly when I press C-g I see the date on the > right side updated and everything continues working OK... > > Many thanks in advance! (setq debug-on-quit t) You will get backtraces every time that you press C-g even for unrelated reasons (you can just press q in the backtrace buffer to continue), but at least you'll get one also when the problem happens. I assume that "emacs freezes" means that it is using lots of CPU (which you can test independently by using "top" on linux, or something similar on other OSes). -- Nick