From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Fran=C3=A7ois_Pinard?= Subject: Long lines prevent Org mode! Date: Tue, 07 Jan 2014 20:24:36 -0500 Message-ID: <87txdfw9ij.fsf@iro.umontreal.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0hsy-0006dR-6F for emacs-orgmode@gnu.org; Tue, 07 Jan 2014 20:24:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0hss-0005Uk-4F for emacs-orgmode@gnu.org; Tue, 07 Jan 2014 20:24:44 -0500 Received: from 206-248-137-202.dsl.teksavvy.com ([206.248.137.202]:60646 helo=mercure.progiciels-bpi.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0hsr-0005Ug-Uu for emacs-orgmode@gnu.org; Tue, 07 Jan 2014 20:24:38 -0500 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, Org maintainers. This morning, while using my little org-grep tool, I got a "Stack overflow in regexp matcher" diagnostic. I first looked for a bug in my things, but the problem lies in Org mode. It cannot be activated if the Org buffer happens to contain a long line. In the *Scratch* buffer, I wrote this little function: (defun essai (n) (with-temp-buffer (insert (make-string n ?x)) (org-mode))) and called it with various values of N. It works fine for small N, but breaks when (on the machine here) N reaches 33333. I wonder if the following article could help: [[https://groups.google.com/forum/#!topic/gnu.emacs.help/pxfMC5f7JHg][Sta= ck overflow in regexp matcher - Google=C2=A0Groupes]] Fran=C3=A7ois P.S. Would someone be kind enough to teach me the wisdom about how to insert Org mode fragments in an email so it is received the most legibly possible at the other end? Presumably, there is a Gnus way (which is it?) yet many people do not use it.