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-paper-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 (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.bib::%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-BibDesk]]")))))) #+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 -- OpenPGP Key ID : 040D0A3B4ED2E5C7