[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [BUG] Infinite loop in org-agenda-show-new-time
From: |
Nick Dokos |
Subject: |
Re: [O] [BUG] Infinite loop in org-agenda-show-new-time |
Date: |
Sat, 10 Aug 2013 11:06:44 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Matt Lundin <address@hidden> writes:
> ...
> In other words, within the agenda buffer, move-to-column and
> move-end-of-line will move to the point to the end of the entire
> invisible region. That is why removing the local binding of
> buffer-invisibility-spec to nil triggers this bug, because when that
> variable is nil, the function org-agenda-show-new-time temporarily
> treats the agenda buffer as if it were visible (i.e., it ignores the
> invisible overlay).
>
I haven't been able to work on the problem, but assuming that your
diagnosis above is correct, perhaps the thing to do is to bind
buffeer-invisibility-spec to nil inside org-move-to-column:
--8<---------------cut here---------------start------------->8---
(defun org-move-to-column (column &optional force buffer)
(let ((buffer-invisibility-spec nil))
(if (featurep 'xemacs)
(org-xemacs-without-invisibility (move-to-column column force
buffer))
(move-to-column column force))))
--8<---------------cut here---------------end--------------->8---
What do you think?
--
Nick
- [O] [BUG] Infinite loop in org-agenda-show-new-time, Matt Lundin, 2013/08/05
- Re: [O] [BUG] Infinite loop in org-agenda-show-new-time, Nick Dokos, 2013/08/05
- Re: [O] [BUG] Infinite loop in org-agenda-show-new-time, Matt Lundin, 2013/08/05
- Re: [O] [BUG] Infinite loop in org-agenda-show-new-time, Nick Dokos, 2013/08/05
- Re: [O] [BUG] Infinite loop in org-agenda-show-new-time, Matt Lundin, 2013/08/06
- Re: [O] [BUG] Infinite loop in org-agenda-show-new-time, Nick Dokos, 2013/08/06
- Re: [O] [BUG] Infinite loop in org-agenda-show-new-time, Nick Dokos, 2013/08/06
- Re: [O] [BUG] Infinite loop in org-agenda-show-new-time, Matt Lundin, 2013/08/14
- Re: [O] [BUG] Infinite loop in org-agenda-show-new-time, Nick Dokos, 2013/08/14
- Re: [O] [BUG] Infinite loop in org-agenda-show-new-time,
Nick Dokos <=
- Re: [O] [BUG] Infinite loop in org-agenda-show-new-time, Matt Lundin, 2013/08/14
- Re: [O] [BUG] Infinite loop in org-agenda-show-new-time, Nick Dokos, 2013/08/14
- Re: [O] [BUG] Infinite loop in org-agenda-show-new-time, Carsten Dominik, 2013/08/23
- Re: [O] [BUG] Infinite loop in org-agenda-show-new-time, Nick Dokos, 2013/08/23