emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Use of \w Emacs regexp in org-export-bibtex.el excludes Bi


From: Carsten Dominik
Subject: Re: [Orgmode] Use of \w Emacs regexp in org-export-bibtex.el excludes BiBTeX filenames with underscore
Date: Fri, 14 Aug 2009 20:30:41 +0200

Fixed, thanks.

- Carsten
On Aug 14, 2009, at 7:31 PM, Hsiu-Khuern Tang wrote:

Hi Taru,

In contrib/lisp/org-export-bibtex.el, the BiBTeX file has to match the Emacs
regexp "\w+".  So a line like

#+BIBLIOGRAPHY: mybib_new

will not work because of the underscore character in the filename. (I suppose the actual behavior depends on the local Emacs settings that affect the "syntax
table".)  May I propose changing the regexp to "[[:alnum:]_]+"?

Initially, I was stumped by this because I thought \w was a "regular" regexp
:), such as defined in sed, and would match underscores as well.

--
Best,
Hsiu-Khuern.


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]