From: Matt Lundin <mdl@imapmail.org>
To: emacs-orgmode@gnu.org
Subject: Re: org-agenda-do-date-late and emacs freeze
Date: Sun, 02 Mar 2014 22:21:18 -0600 [thread overview]
Message-ID: <87lhwrq5dt.fsf@fastmail.fm> (raw)
In-Reply-To: <20140218123848.GA9094@pedroche.uni-erfurt.de> (Igor Sosa Mayor's message of "Tue, 18 Feb 2014 13:38:48 +0100")
Igor Sosa Mayor <joseleopoldo1792@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 am using...
- emacs 24.3.1
- org 8.2.5h
...on...
Linux box 3.13.5-1-ARCH #1 SMP PREEMPT Sun Feb 23 00:10:07 CET 2014 i686 GNU/Linux
Emacs freezes as you describe when whenever I attempt to reschedule an
item in a *filtered* agenda that has invisible lines between it and the
next visible agenda item. This is the crucial condition: there must be
invisible text in the agenda buffer immediately following the agenda
item being rescheduled. Take the following agenda:
--8<---------------cut here---------------start------------->8---
Day-agenda (W09):
Sunday 2 March 2014
inbox: Scheduled: Call Jack :phone:
inbox: Scheduled: Call Jill :phone:
inbox: Scheduled: Run up a hill :errands:
inbox: Scheduled: Call the hospital :phone:
--8<---------------cut here---------------end--------------->8---
So long as the agenda is unfiltered, then org-agenda-do-date-later works
fine.
If I filter the agenda by the tag "phone"...
--8<---------------cut here---------------start------------->8---
Day-agenda (W09):
Sunday 2 March 2014
inbox: Scheduled: Call Jack :phone:
inbox: Scheduled: Call Jill :phone:
inbox: Scheduled: Call the hospital :phone:
--8<---------------cut here---------------end--------------->8---
...then org-agenda-do-date-later causes Emacs to go into an infinite
loop on "Call Jill" but *not* on the other phone items. This is because
of the invisible "Run up a hill" that comes after "Call Jill."
I have tested this several times with emacs -Q and can replicate it each
time.
I previously documented the issue in this thread:
- http://comments.gmane.org/gmane.emacs.orgmode/75288
Matt
next prev parent reply other threads:[~2014-03-03 4:21 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-18 12:38 org-agenda-do-date-late and emacs freeze Igor Sosa Mayor
2014-02-18 13:09 ` Nick Dokos
2014-02-18 14:00 ` Igor Sosa Mayor
2014-02-18 14:29 ` Igor Sosa Mayor
2014-03-01 8:39 ` Bastien
2014-03-03 4:21 ` Matt Lundin [this message]
2014-03-03 4:25 ` Matt Lundin
2014-03-17 2:07 ` Bastien
2014-03-17 9:03 ` Igor Sosa Mayor
2014-03-20 16:08 ` Bastien
2014-03-21 18:57 ` Matt Lundin
2014-03-25 18:37 ` Matt Lundin
2014-03-25 20:59 ` Bastien
2014-03-28 13:40 ` Igor Sosa Mayor
2014-03-03 14:51 ` Igor Sosa Mayor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lhwrq5dt.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.