From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Org-bibtex: checking string length in org-bibtex-read before using aref Date: Mon, 24 Feb 2014 17:36:06 +0100 Message-ID: <87ha7ov56x.fsf@gmail.com> References: <20140221162758.GT7560@pille.home> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHyVS-0007QR-7J for emacs-orgmode@gnu.org; Mon, 24 Feb 2014 11:35:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHyVM-00020U-E2 for emacs-orgmode@gnu.org; Mon, 24 Feb 2014 11:35:50 -0500 Received: from mail-we0-x22e.google.com ([2a00:1450:400c:c03::22e]:34970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHyVM-00020H-76 for emacs-orgmode@gnu.org; Mon, 24 Feb 2014 11:35:44 -0500 Received: by mail-we0-f174.google.com with SMTP id w61so4805567wes.5 for ; Mon, 24 Feb 2014 08:35:42 -0800 (PST) In-Reply-To: <20140221162758.GT7560@pille.home> (Stefan-W. Hahn's message of "Fri, 21 Feb 2014 17:27:59 +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: "Stefan-W. Hahn" Cc: emacs-orgmode@gnu.org Hello, "Stefan-W. Hahn" writes: > I have a problem with org-bibtex function org-bibtex-read if I have an > empty field in a bibitem like this: > > @article(test, > description = "") > > In this case the "aref" gives an exception. I would like to suggest > the attached following fix. Applied (with a tiny change). Thank you. Regards, -- Nicolas Goaziou