From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Bug: Error with org-bibtex export with tags when using custom bibtypes [8.2.5h (8.2.5h-82-gd91d4b-elpaplus @ /Users/leonardaveryrandall/.emacs.d/elpa/org-plus-contrib-20140324/)] Date: Sat, 19 Apr 2014 20:11:51 +0200 Message-ID: <87sip9nq8o.fsf@bzg.ath.cx> References: <87zjjhnzyf.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbZkD-0005Sq-33 for emacs-orgmode@gnu.org; Sat, 19 Apr 2014 14:12:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WbZk3-0002fk-VS for emacs-orgmode@gnu.org; Sat, 19 Apr 2014 14:12:04 -0400 Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:58623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbZk3-0002fY-NU for emacs-orgmode@gnu.org; Sat, 19 Apr 2014 14:11:55 -0400 Received: by mail-wg0-f49.google.com with SMTP id a1so1458293wgh.8 for ; Sat, 19 Apr 2014 11:11:54 -0700 (PDT) In-Reply-To: (Leonard Randall's message of "Sat, 19 Apr 2014 16:45:22 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Leonard Randall Cc: emacs-orgmode@gnu.org Hi Leonard, Leonard Randall writes: > For some reason ignoring errors doesn't work for me. The new > function, doesn't add a keywords field to non-standard bib entry > types, it just puts the tags before the beginning of the bibtex > entry, which would mess up the resulting bibtex file. Can you provide a minimal example where I reproduce this bug, along with your Emacs and Org versions? It works fine here. > The regexp functions I used are based on standard bibtex syntax, so > they should work in all circumstances. I tested my fix under various > conditions and with various variables set and it worked everywhere I > tried it. I trust you on that, it's just that using re-search-forward here does not seem necessary -- also, you could send an email to the bibtex.el maintainers about the error being cryptic anyway, and maybe not needed at all. > If you are worried about licensing, you could wait  to apply the > patch until I receive and sign the license, but I think that it is a > sufficiently small change that it should not be an issue. I'd rather wait till the paperwork is done, it gives us more time to sort this out properly. Thanks again, -- Bastien