From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Vertical bars in org file break export to ics Date: Thu, 30 May 2019 15:02:51 +0200 Message-ID: <87blzk9jt0.fsf@nicolasgoaziou.fr> References: <20190530065732.nx2hwjox3awk3mrz@arch> <23791.40090.543113.153629@AGAME7.local> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:34353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWKi0-0005os-At for emacs-orgmode@gnu.org; Thu, 30 May 2019 09:03:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWKhz-0005i0-AD for emacs-orgmode@gnu.org; Thu, 30 May 2019 09:03:04 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:48079) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hWKhz-0005fv-3n for emacs-orgmode@gnu.org; Thu, 30 May 2019 09:03:03 -0400 In-Reply-To: <23791.40090.543113.153629@AGAME7.local> (Thomas Plass's message of "Thu, 30 May 2019 11:04:26 +0200") 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" To: Thomas Plass Cc: emacs-orgmode@gnu.org, michael Hello, thunk2@arcor.de (Thomas Plass) writes: > michael wrote at 08:57 on May 30, 2019: > : for the following *.org file running org-icalendar-export-to-ics will fail > : with "Args out of range: [nil nil], 2". > : > : * This is a test > : <2020-01-01 Mi> > : > : | | | > : | | | | | > > Org recognizes the last two lines as a genuine Org table (with two > rows), not as a collection of vertical bars having a completely > different meaning. > > Making the export more robust by gracefully handling unequal > numbers of columns won't help you as I guess you wish to have the > vertical bars exported verbatim (which Org won't do). You're right. Meanwhile, I made export more robust in this case. > Your best bet is probably to choose an unreserved character for use in > the graphics, possibly just before exporting. Unicode code point > 0xFFE4 FULLWIDTH BROKEN BAR looks similar. Or use ": ", i.e., fixed-width area, or \vert as the first bar. Regards, -- Nicolas Goaziou