From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Hyatt Subject: Re: [BUG] Infinite loop in org-agenda-show-new-time Date: Thu, 26 Dec 2019 14:37:43 -0500 Message-ID: References: <87zjswb0vq.fsf@fastmail.fm> <87siyojc2c.fsf@gmail.com> <87fvun6gku.fsf@fastmail.fm> <87ob9bkd4c.fsf@gmail.com> <87txj2lo0j.fsf@fastmail.fm> <87mwopinzv.fsf@gmail.com> <87fvucuwva.fsf@fastmail.fm> <87vc38ff84.fsf@gmail.com> <3E07FCDB-2619-4BFE-BC68-C5181717152B@gmail.com> <87haegy5i9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000706501059aa083ed" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58039) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikYxI-0005H6-Rm for emacs-orgmode@gnu.org; Thu, 26 Dec 2019 14:37:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ikYxH-00054G-Iu for emacs-orgmode@gnu.org; Thu, 26 Dec 2019 14:37:56 -0500 Received: from mail-qv1-xf31.google.com ([2607:f8b0:4864:20::f31]:40626) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ikYxH-000542-F3 for emacs-orgmode@gnu.org; Thu, 26 Dec 2019 14:37:55 -0500 Received: by mail-qv1-xf31.google.com with SMTP id dp13so9370238qvb.7 for ; Thu, 26 Dec 2019 11:37:55 -0800 (PST) In-Reply-To: <87haegy5i9.fsf@gmail.com> 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" To: Nick Dokos Cc: "emacs-orgmode@gnu.org" --000000000000706501059aa083ed Content-Type: text/plain; charset="UTF-8" I've been having this same issue - the issue is quite reproducible for me, and it has been for years. I just finally grew tired of the issue and decided to investigate it, and yes, the issue is org-agenda-show-new-time. I also have invisible entries in the org buffer, and the call to org-move-to-column apparently will move several lines forward, which causes us to process the same lines over and over. Wrapping the call to org-move-to-column with a let setting the buffer-invisibility-spec to nil does fix the issue. On Fri, Aug 23, 2013 at 8:08 AM Nick Dokos wrote: > Carsten Dominik writes: > > > I also do not expect negative consequences. Please apply the patch, > will you? > > > > OK - patch attached. NB: there is at least one place where the "wrap the > call to org-move-to-column" has been applied, in > org.el:`org-comment-or-uncomment-region', presumably for exactly this > reason. If this patch does not cause unexpected problem, then the > wrapped setting above can be cleaned up. > > > I hope it conforms to conventions but let me know of any problems. > -- > Nick > --000000000000706501059aa083ed Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I've been having this same issue - the issue is quite = reproducible for me, and it has been for years.=C2=A0 I just finally grew t= ired of the issue and decided to investigate it, and yes, the issue is org-= agenda-show-new-time.

I also have invisible entries in t= he org buffer, and the call to org-move-to-column apparently=C2=A0will move= several lines forward, which causes us to process the same lines over and = over.

Wrapping the call to org-move-to-column= with a let setting the buffer-invisibility-spec to nil does fix the issue.= =C2=A0


On Fri, Aug 23, 2013 at 8:08 AM Nick Dokos= <ndokos@gmail.com> wrote:
Carsten Dominik &l= t;carsten.do= minik@gmail.com> writes:

> I also do not expect negative consequences.=C2=A0 Please apply the pat= ch, will you?
>

OK - patch attached. NB: there is at least one place where the "wrap t= he
call to org-move-to-column" has been applied, in
org.el:`org-comment-or-uncomment-region', presumably for exactly this reason. If this patch does not cause unexpected problem, then the
wrapped setting above can be cleaned up.


I hope it conforms to conventions but let me know of any problems.
--
Nick
--000000000000706501059aa083ed--