From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Beswick 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 20:14:17 +1000 Message-ID: References: <87hait8v2g.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVffb-0001UR-JX for emacs-orgmode@gnu.org; Fri, 26 Apr 2013 06:14:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVffX-0004SC-IN for emacs-orgmode@gnu.org; Fri, 26 Apr 2013 06:14:23 -0400 Received: from mail-pb0-x22b.google.com ([2607:f8b0:400e:c01::22b]:64520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVffX-0004OX-C0 for emacs-orgmode@gnu.org; Fri, 26 Apr 2013 06:14:19 -0400 Received: by mail-pb0-f43.google.com with SMTP id ma3so431116pbc.16 for ; Fri, 26 Apr 2013 03:14:18 -0700 (PDT) In-Reply-To: <87hait8v2g.fsf@gmail.com> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Sure thing, thanks for that. On 26 April 2013 20:06, Nicolas Goaziou wrote: > 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