[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Stack overflow in regexp matcher

From: Alan Schmitt
Subject: Re: [O] Stack overflow in regexp matcher
Date: Sun, 26 Oct 2014 12:11:23 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (darwin)

On 2014-10-25 11:00, "Charles C. Berry" <address@hidden> 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 

  (defun org-mode-reftex-setup ()
    (load-library "reftex")
    (and (buffer-file-name) (file-exists-p (buffer-file-name))
           ;add a custom reftex cite format to insert links
            '((?b . "[[bib:%l][%l-bib]]")
              (?c . "\\cite{%l}")
              (?n . "[[note:%l][%l-note]]")
              (?l . "%t 
              (?t . "%t")
              (?h . "** %t (%a)\n:PROPERTIES:\n:Custom_ID: 

> 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. ??




OpenPGP Key ID : 040D0A3B4ED2E5C7

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]