From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: org-agenda-do-date-late and emacs freeze Date: Sun, 02 Mar 2014 22:25:32 -0600 Message-ID: <87fvmzq56r.fsf@fastmail.fm> References: <20140218123848.GA9094@pedroche.uni-erfurt.de> <87lhwrq5dt.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKKRf-0004FT-Pc for emacs-orgmode@gnu.org; Sun, 02 Mar 2014 23:25:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKKRa-00088T-Qg for emacs-orgmode@gnu.org; Sun, 02 Mar 2014 23:25:39 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:47686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKKRa-00088J-KT for emacs-orgmode@gnu.org; Sun, 02 Mar 2014 23:25:34 -0500 Received: from archeee (unknown [50.172.132.15]) by mail.messagingengine.com (Postfix) with ESMTPA id 7B515C007AC for ; Sun, 2 Mar 2014 23:25:33 -0500 (EST) In-Reply-To: <87lhwrq5dt.fsf@fastmail.fm> (Matt Lundin's message of "Sun, 02 Mar 2014 22:21:18 -0600") 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 Matt Lundin writes: > 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... > > Does it happen when you have filtered the agenda? If so, then I can > confirm this bug... > ... > I previously documented the issue in this thread: > > - http://comments.gmane.org/gmane.emacs.orgmode/75288 AFAICT, there is something of a ping-pong game going on between multiple bugs whose solutions conflict with each other. 1. The bug was first introduced with the following commit: --8<---------------cut here---------------start------------->8--- commit fafb5f3429c41cba1eddb9fc78d9f9e0980acbe2 Author: Bastien Guerry Date: Mon Feb 11 14:56:38 2013 +0100 org-agenda.el: Fix bug when displaying a temporary overlay * org-agenda.el (org-agenda-schedule, org-agenda-deadline): Cosmetic changes. (org-agenda-show-new-time): Fix bug when displaying a temporary overlay with the scheduled/deadline information. Thanks to Thomas Morgan for reporting this bug and testing the patch. --8<---------------cut here---------------end--------------->8--- ...which was a response to the following bug... http://article.gmane.org/gmane.emacs.orgmode/65538/match=agenda 2. The bug was solved by the following patch. --8<---------------cut here---------------start------------->8--- commit 7f9d0688d47140bcac7bea627474802adfce31ee Author: Carsten Dominik Date: Sat Aug 31 15:44:34 2013 +0200 Fix cursor movement to a specific column * lisp/org-compat.el (org-move-to-column): Turn off invisibility stuff for moving the cursor to a column. Pathc by Nick Docks --8<---------------cut here---------------end--------------->8--- 3. However, the problem resurfaced with the following patch, which effectively reversed the previous fix. --8<---------------cut here---------------start------------->8--- commit 2911965bfef9072a3031d48dfe2ea50bcb3ff9df Author: Bastien Guerry Date: Wed Nov 6 09:59:46 2013 +0100 org-agenda: Fix bug when showing the new time * org-agenda.el (org-agenda-show-new-time): Ignore invisible text when inserting the new time as a text property. * org-compat.el (org-move-to-column): New argument `ignore-invisible' to turn on `buffer-invisibility-spec'. Thanks to Marcin Borkowski and Karl Voit for reporting this. --8<---------------cut here---------------end--------------->8--- The timing of the patch leads me to believe that it was a solution to the problems outlined in this thread. - http://comments.gmane.org/gmane.emacs.orgmode/69934 So, in summary, it seems we have different bugs whose solutions have thus far conflicted with each other. Matt