Matt Lundin <m...@imapmail.org> writes: > Igor Sosa Mayor <joseleopoldo1...@gmail.com> 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 <b...@altern.org> 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 <carsten.domi...@gmail.com> 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 <b...@altern.org> 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