From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: org-element-fixed-width-interpreter fails when given an empty string [8.0.1 (release_8.0.1-40-g38051c @ /home/david/git/home-common/emacs/foreign/org-mode/lisp/)] Date: Fri, 26 Apr 2013 12:06:47 +0200 Message-ID: <87hait8v2g.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVfYL-0001sp-1P for emacs-orgmode@gnu.org; Fri, 26 Apr 2013 06:06:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVfYJ-0002Mi-Te for emacs-orgmode@gnu.org; Fri, 26 Apr 2013 06:06:52 -0400 Received: from mail-we0-x230.google.com ([2a00:1450:400c:c03::230]:32989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVfYJ-0002MI-NL for emacs-orgmode@gnu.org; Fri, 26 Apr 2013 06:06:51 -0400 Received: by mail-we0-f176.google.com with SMTP id s10so3323347wey.21 for ; Fri, 26 Apr 2013 03:06:50 -0700 (PDT) In-Reply-To: (David Beswick's message of "Thu, 25 Apr 2013 16:30:40 +1000") 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: David Beswick Cc: emacs-orgmode@gnu.org Hello, David Beswick writes: > Hi, I encountered this problem when trying out org-sync with > Redmine. That package uses org-element to create "fixed-width" type > elements to contain the bug descriptions. When a bug had no description, > this problem would occur. In that case, org-element-property returns the > empty string for the ":value" property of the fixed-width element, and > the call to "substring" fails. This should be fixed. Thanks for the report and the patch (although I used a different one). Regards, -- Nicolas Goaziou