emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* problem with bibtex-parse-buffers-stealthily
@ 2017-04-10 12:03 Alan Schmitt
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Schmitt @ 2017-04-10 12:03 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1195 bytes --]

Hello,

I'm having `bibtex-parse-buffers-stealthily' fail when there is an
org-mode buffer with a bibtex source block. For instance, if you have
the following block in an org file

#+begin_src bibtex
@article{FernandezGabbay2007,
  number = {6},
  volume = {205},
  pages = {917--965},
  year = {2007},
  journaltitle = {Information \& Computation},
  title = {Nominal rewriting},
  author = {Fernández, Maribel and Gabbay, Murdoch J.},
}
#+end_src

then when the bibtex-parse-buffers-stealthily runs, there is this error:

Error running timer ‘bibtex-parse-buffers-stealthily’:
(wrong-type-argument number-or-marker-p nil)

I tried to debug it, and the problems is that in the list of buffers,
there is one buffer

#<buffer  *org-src-fontification:bibtex-mode*>

that is in bibtex mode but for which `bibtex-parse-keys' fail. I assume
it is because the source block is not a well formed bibtex file.

Should this be considered an emacs bug or an org-mode bug? I'm using
emacs 25.2.1 and current org-mode-with-contrib.

Thanks,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2017-03: 407.18, 2016-03: 404.83

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <ce01a25dd81947a698265fb9854d2071@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>]

end of thread, other threads:[~2017-04-24  8:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-10 12:03 problem with bibtex-parse-buffers-stealthily Alan Schmitt
     [not found] <ce01a25dd81947a698265fb9854d2071@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-04-24  6:46 ` Eric S Fraga
2017-04-24  8:58   ` Adam Porter

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