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

* Re: problem with bibtex-parse-buffers-stealthily
       [not found] <ce01a25dd81947a698265fb9854d2071@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2017-04-24  6:46 ` Eric S Fraga
  2017-04-24  8:58   ` Adam Porter
  0 siblings, 1 reply; 3+ messages in thread
From: Eric S Fraga @ 2017-04-24  6:46 UTC (permalink / raw)
  To: emacs-orgmode

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

On Monday, 10 Apr 2017 at 12:03, Alan Schmitt wrote:
> 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

I also get this and, although it doesn't really affect things, it is
annoying.  Did you get anywhere with this report and/or find a solution?

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50, Org release_9.0.5-444-g998576

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

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

* Re: problem with bibtex-parse-buffers-stealthily
  2017-04-24  6:46 ` Eric S Fraga
@ 2017-04-24  8:58   ` Adam Porter
  0 siblings, 0 replies; 3+ messages in thread
From: Adam Porter @ 2017-04-24  8:58 UTC (permalink / raw)
  To: emacs-orgmode

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> On Monday, 10 Apr 2017 at 12:03, Alan Schmitt wrote:
>> 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
>
> I also get this and, although it doesn't really affect things, it is
> annoying.  Did you get anywhere with this report and/or find a solution?

Chiming in to say I'm having the same issue, except I have no bibtex
source blocks.  The same bibtex-parse-buffers-stealthily timer is giving
the error, but I don't even have any bibtex-related packages loaded.  It
happens about 10 seconds after I change window focus to a non-Emacs
window, every time I do so.  Thankfully I discovered helm-timers, which
makes it easy to kill any timers that are running, so I only have to do
this once per Emacs session.  But I haven't been able to figure out why
that timer is even running.

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

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