From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: can't press ret without error Date: Sun, 17 Jul 2016 11:59:31 +0200 Message-ID: <87shv8h9fg.fsf@saiph.selenimh> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOirM-0004tk-2o for emacs-orgmode@gnu.org; Sun, 17 Jul 2016 05:59:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bOirF-0007oE-Uj for emacs-orgmode@gnu.org; Sun, 17 Jul 2016 05:59:38 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:57274) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOirF-0007o8-NU for emacs-orgmode@gnu.org; Sun, 17 Jul 2016 05:59:33 -0400 In-Reply-To: (Samuel Wales's message of "Sat, 9 Jul 2016 21:52:18 -0700") 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: Samuel Wales Cc: emacs-orgmode@gnu.org Hello, Samuel Wales writes: > all i did was press return. this followed trying to comment > a blank line (which i wish emacs would just do). > > i cannot do a thorough bug report or q/a at this time but > thought this might be useful. > > Debugger entered--Lisp error: (error "Stack overflow in regexp matcher") > re-search-forward("^\\(?:\\*+ > \\|\\[\\(?:[0-9]+\\|fn:[-_[:word:]]+\\)\\]\\|%%(\\|[ > ]*\\(?:$\\||\\|\\+\\(?:-+\\+\\)+[ ]*$\\|#\\(?: > \\|$\\|\\+\\(?:BEGIN_\\S-+\\|\\S-+\\(?:\\[.*\\]\\)?:[ > ]*\\)\\)\\|:\\(?: \\|$\\|[-_[:word:]]+:[ ]*$\\)\\|-\\{5,\\}[ > ]*$\\|\\\\begin{\\([A-Za-z0-9*]+\\)}\\|CLOCK:\\|\\(?:[-+*]\\|\\(?:[0-9]+\\)[.)]\\)\\(?:[ > ]\\|$\\)\\)\\)" 422741 move) > org-element-paragraph-parser(422741 (211182)) It seems you are using very long lines. In particular one of them is ambiguous and the parser has to match too much (hence the stack overflow) to decide what is that line. It would help to see that line. Could you make an ECM? Thank you. Regards, -- Nicolas Goaziou