From mboxrd@z Thu Jan 1 00:00:00 1970 From: Torsten Wagner Subject: org-bibtex does not work Date: Tue, 29 Nov 2011 14:28:16 +0900 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVGEs-0000rV-Mk for emacs-orgmode@gnu.org; Tue, 29 Nov 2011 00:28:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVGEr-0008I3-JC for emacs-orgmode@gnu.org; Tue, 29 Nov 2011 00:28:18 -0500 Received: from mail-gy0-f169.google.com ([209.85.160.169]:41121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVGEr-0008Hv-E3 for emacs-orgmode@gnu.org; Tue, 29 Nov 2011 00:28:17 -0500 Received: by ghrr17 with SMTP id r17so7312101ghr.0 for ; Mon, 28 Nov 2011 21:28:16 -0800 (PST) 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: Org Mode Mailing List Hi all, I finally converted all my BibTex references into a org file. Now I face the problem that I can't generate a BibTeX file. org-bibtex ask me for the filename and then it seems to be stuck in a infinite loop. Only way to get out of this is using C-g. The BibTeX file never appeared. setting the debugger to start on quit (setq debug-on-quit) results in Debugger entered--Lisp error: (quit) bibtex-realign() bibtex-reformat() (progn (insert entry) (when tags (bibtex-beginning-of-entry) (if (re-search-forward "keywords.*=.*{\\(.*\\)}" nil t) (progn (goto-char (match-end 1)) (insert ", ")) (bibtex-make-field "keywords" t t)) (insert (mapconcat (function identity) tags ", "))) (bibtex-reformat) (buffer-string)) (unwind-protect (progn (insert entry) (when tags (bibtex-beginning-of-entry) (if (re-search-forward "keywords.*=.*{\\(.*\\)}" nil t) (progn (goto-char (match-end 1)) (insert ", ")) (bibtex-make-field "keywords" t t)) (insert (mapconcat (function identity) tags ", "))) (bibtex-reformat) (buffer-string)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (insert entry) (when tags (bibtex-beginning-of-entry) (if (re-search-forward "keywords.*=.*{\\(.*\\)}" nil t) (progn (goto-char (match-end 1)) (insert ", ")) (bibtex-make-field "keywords" t t)) (insert (mapconcat (function identity) tags ", "))) (bibtex-reformat) (buffer-string)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))) followed by many many more lines. I tried to export a single entry in a own buffer as well without success. I skipped my entire emacs settings and used a bare-bone emacs with exactly the same result. As from the debugger it seems to be a problem of the internal bibtex mode. However, I hope someone here is capable to help. I updated both emacs and org-mode without luck org-mode 7.7 (git build from today) emacs GNU Emacs 24.0.91.1 (bzr build from today) Would be helpfull already if someone could confirm whether it works at the moment or whether it seems broken Thanks Torsten