emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Kevin Zettler <kevzettler@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-refresh-stats-properties: Stack overflow in regexp matcher
Date: Sat, 20 May 2017 09:12:25 +0200	[thread overview]
Message-ID: <874lwgovc6.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CACTHx_dMYG5hv0R+kkwf52SapjqouK1jQd=fXOF5KgxQN4edkQ@mail.gmail.com> (Kevin Zettler's message of "Fri, 19 May 2017 15:25:43 -0700")

Hello,

Kevin Zettler <kevzettler@gmail.com> writes:

> Apologies if this is a duplicate. I first sent when I wasn't registered
> with the mailing list. Looks like org Gmane is down
> http://news.gmane.org/gmane.emacs.orgmode I get a 404.
>
> I suddenly am unable to open my org agenda.  Invoking ~C-a~ and selecting
> any agenda command results in
>
> ~org-refresh-stats-properties: Stack overflow in regexp matcher~
>
> The debug trace looks like:
>
> #+BEGIN_SRC
> Debugger entered--Lisp error: (error "Stack overflow in regexp matcher")
>   re-search-forward("^\\*+
> .*\\(?:\\[\\([0-9]+\\)%\\|\\([0-9]+\\)/\\([0-9]+\\)\\]\\)"
> nil t)

I cannot reproduce it, but I pushed a regexp simplification in maint
branch. Does it solve your issue?

There's also a dubious

  (progn (org-end-of-subtree t t) (point))

in the function, which means that non-top-level headlines are skipped.
I don't know if this is intended. Anyway, that's unrelated to your
issue.

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2017-05-20  7:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-19 22:25 org-refresh-stats-properties: Stack overflow in regexp matcher Kevin Zettler
2017-05-20  7:12 ` Nicolas Goaziou [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-05-19 18:13 Kevin Zettler

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874lwgovc6.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=kevzettler@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).