all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* error in bibtex.el function bibtex-parse-buffers-stealthily
@ 2017-06-09  1:20 numbchild
  2017-06-09  2:46 ` Emanuel Berg
  0 siblings, 1 reply; 2+ messages in thread
From: numbchild @ 2017-06-09  1:20 UTC (permalink / raw)
  To: help-gnu-emacs

When I have a bibtex src block in Org-mode file.
Open the file will generate a buffer #<buffer
 *org-src-fontification:bibtex-mode*>.
This buffer caused function bibtex-parse-buffers-stealthily  timer error.
Here is the error:
```
Error running timer ‘bibtex-parse-buffers-stealthily’: (wrong-type-argument
number-or-marker-p nil)

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  bibtex-parse-keys(t)
  bibtex-parse-buffers-stealthily()
  apply(bibtex-parse-buffers-stealthily nil)
  timer-event-handler([t 0 0 0 t bibtex-parse-buffers-stealthily nil idle
0])
```
I have a bibtex src block in Org-mode file like this:

```
#+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
```


[stardiviner]           <Hack this world!>      GPG key ID: 47C32433
IRC(freeenode): stardiviner                     Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: error in bibtex.el function bibtex-parse-buffers-stealthily
  2017-06-09  1:20 error in bibtex.el function bibtex-parse-buffers-stealthily numbchild
@ 2017-06-09  2:46 ` Emanuel Berg
  0 siblings, 0 replies; 2+ messages in thread
From: Emanuel Berg @ 2017-06-09  2:46 UTC (permalink / raw)
  To: help-gnu-emacs

numbchild@gmail.com wrote:

> ``` #+BEGIN_SRC bibtex
> @article{FernandezGabbay2007, number = {6},
> volume = {205}, pages = {917--965}, year =
> {2007}, journaltitle = {Information \&
> Computation}, title = {Nominal rewriting},
> author = {Fernndez, Maribel and Gabbay,
> Murdoch J.}, } #+END_SRC ```

I got away with the strange chars and changed
"journaltitle" to journal, and it
compiles fine. Here is the entry

    @article{nominal-rewriting,
      number  = 6,
      volume  = 205,
      pages   = {917--965},
      year    = 2007,
      journal = {Information \& Computation},
      title   = {Nominal rewriting},
      author  = {Fernández, Maribel and Gabbay, Murdoch J.},
    }

all files

    %% Biblatex: http://user.it.uu.se/~embe8573/books/books.bib
    %%    LaTeX: http://user.it.uu.se/~embe8573/books/books.tex
    %%      PDF: http://user.it.uu.se/~embe8573/books/books.pdf
    %% Makefile: http://user.it.uu.se/~embe8573/books/Makefile

> [stardiviner] <Hack this world!> GPG key ID:
> 47C32433 IRC(freeenode): stardiviner Twitter:
> @numbchild Key fingerprint = 9BAA 92BC CDDD
> B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog:
> http://stardiviner.github.io/

Please read RFC 3676 section 4.3:

    http://www.ietf.org/rfc/rfc3676.txt

-- 
underground experts united
http://user.it.uu.se/~embe8573




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-09  2:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-09  1:20 error in bibtex.el function bibtex-parse-buffers-stealthily numbchild
2017-06-09  2:46 ` Emanuel Berg

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.