From: Bastien <bzg@gnu.org>
To: "Mathäus Meyer" <math.meyer@web.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-bibtex-read error calling bibtex-parse-entry
Date: Tue, 29 Apr 2014 14:32:59 +0200 [thread overview]
Message-ID: <877g68wc1w.fsf@bzg.ath.cx> (raw)
In-Reply-To: <loom.20140424T104608-724@post.gmane.org> ("Mathäus Meyer"'s message of "Thu, 24 Apr 2014 08:56:26 +0000 (UTC)")
Hi Mathäus,
Mathäus Meyer <math.meyer@web.de> writes:
> I cannot get org-bibtex to work for me. Tried in a clean emacs -Q. Emacs-
> Version: 24.4.50, org-vesion: 8.2.6
>
> Calling org-bibtex-read leads, independent of the bibtex entry used on (I
> tried everything, including the example of the org-bibtex-documentation), to
> the following error:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> looking-at(nil)
> bibtex-parse-entry()
> org-bibtex-read()
> call-interactively(org-bibtex-read record nil)
> command-execute(org-bibtex-read record)
> execute-extended-command(nil "org-bibtex-read")
> call-interactively(execute-extended-command nil nil)
> command-execute(execute-extended-command)
>
> I am sorry if this is the wrong place, but I am not sure how to test if
> bibtex-parse-entry is the real culprit. I would, of course, understand if I
> cannot get help here for the pre-release snapshot of Emacs I am using.
No worry, this is the right place to ask.
The function `bibtex-parse-entry' is using a regular expression called
`bibtex-entry-maybe-empty-head' to retrieve information from the point
location about the entry to parse.
The "looking-at(nil)" part of your error means this variable is not
set when `bibtex-parse-entry' -- while looking at the docstring of
`bibtex-entry-maybe-empty-head' I found `bibtex-set-dialect'... which
leaves us with the problem of correctly setting the dialect for the
buffer.
I don't know where to go from there, but you surely can dig further,
or someone else can help.
Best,
--
Bastien
prev parent reply other threads:[~2014-04-29 12:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-24 8:56 org-bibtex-read error calling bibtex-parse-entry Mathäus Meyer
2014-04-29 12:32 ` Bastien [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877g68wc1w.fsf@bzg.ath.cx \
--to=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=math.meyer@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).