From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: Stack overflow in regexp matcher Date: Sun, 26 Oct 2014 12:11:23 +0100 Message-ID: References: <20141024195101.GH11946@boo.workgroup> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xie5U-0008DX-0z for emacs-orgmode@gnu.org; Mon, 27 Oct 2014 02:47:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xie5M-0000y7-J6 for emacs-orgmode@gnu.org; Mon, 27 Oct 2014 02:47:31 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:21619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xie5M-0000xo-CC for emacs-orgmode@gnu.org; Mon, 27 Oct 2014 02:47:24 -0400 In-Reply-To: (Charles C. Berry's message of "Sat, 25 Oct 2014 10:00:06 -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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Charles C. Berry" Cc: emacs-orgmode --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2014-10-25 11:00, "Charles C. Berry" writes: > OK, thanks. It had to be something in my init. > > I have (defun org-mode-reftex-setup () ... ) from > > http://www.mfasold.net/blog/2009/02/using-emacs-org-mode-to-draft-papers/ > > in my init. Interesting, I have this #+begin_src emacs-lisp ;; from http://orgmode.org/worg/org-faq.html#using-reftex-in-org-mode ;; Changed it to follow http://tincman.wordpress.com/2011/01/04/research-pa= per-management-with-emacs-org-mode-and-reftex/ (defun org-mode-reftex-setup () (load-library "reftex") (and (buffer-file-name) (file-exists-p (buffer-file-name)) (progn=20 (reftex-parse-all) ;add a custom reftex cite format to insert links (reftex-set-cite-format '((?b . "[[bib:%l][%l-bib]]") (?c . "\\cite{%l}") (?n . "[[note:%l][%l-note]]") (?l . "%t (%a)\n[[bibdesk:/Users/schmitta/projets/bib/alan.bi= b::%l][%l-BibDesk]]") (?t . "%t") (?h . "** %t (%a)\n:PROPERTIES:\n:Custom_ID: %l\n:END:\n[[bib= :%l][%l-bib]]\n[[bibdesk:/Users/schmitta/projets/bib/alan.bib::%l][%l-BibDe= sk]]")))))) #+end_src > So, the ECM is to save a file like that decribed above without the > *.org extension. > > Open it (in fundamental mode) and issue > > M-: (re-search-forward "^[^%]*\\\\usepackage.*{biblatex}" nil t)) > > and get > > eval: Stack overflow in regexp matcher > > So, maybe this is not an org-mode issue. ?? Indeed. Thanks, Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBCgAGBQJUTNbhAAoJEAQNCjtO0uXH6REIAJ9S9mgHxBXwsqSTsznvlzec /rcc7aFTEGvxxe7q0Yjs5uBBkFONmYbaQwN76wrnQSjLnkqIiRzD0UXbUjBfH0sL v/4q6lfn5+p8Ssp70e9NtHrSpfKz1YjU2MFGLanfjPSiVHGTxLCA48BVXrrf5Dbt xsRp8xl9OdHjUb2YSuwPFBR6hrC4RMcMY+IYrSEiOW1CCng0XpkBsL5ZSyScghWy DCVR63xB9RU3G/c+KzCM2kJgZrAJeSV/a3XjyqtKQeUFYmQfWKI1Zzx4xuVrsKRw PH4k9PKkgDSGvepxfwksPFR2gT6K9A5mJ0F6fBmwkFGKQ5dclq9xYXsgjTQkCHs= =tans -----END PGP SIGNATURE----- --=-=-=--