From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Valentin_W=C3=BCstholz?= Subject: Re: [BUG] Export to ascii fails Date: Wed, 19 Jan 2011 13:02:09 +0100 Message-ID: References: <6290AF72-0676-4D37-9C6A-6F2E6625100A@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from [140.186.70.92] (port=53402 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfWkF-0006QM-2b for emacs-orgmode@gnu.org; Wed, 19 Jan 2011 07:02:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PfWkB-0001vF-6p for emacs-orgmode@gnu.org; Wed, 19 Jan 2011 07:02:32 -0500 Received: from mail-qy0-f176.google.com ([209.85.216.176]:34667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PfWkB-0001uu-34 for emacs-orgmode@gnu.org; Wed, 19 Jan 2011 07:02:31 -0500 Received: by qyk10 with SMTP id 10so792256qyk.0 for ; Wed, 19 Jan 2011 04:02:30 -0800 (PST) In-Reply-To: <6290AF72-0676-4D37-9C6A-6F2E6625100A@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org Thanks! I tried it out and it doesn't quite work yet. The following change seems to do the trick: ------------------------------ lisp/org-ascii.el ------------------------------ index 01106c3..f9094a1 100644 @@ -655,3 +655,2 @@ publishing directory." - (setq char (or (nth (max (- umax level) 0) - (reverse org-export-ascii-underline)) - (last org-export-ascii-underline))) + (setq char (or (nth (- level 1) org-export-ascii-underline) + (car (last org-export-ascii-underline)))) Best regards, Valentin On Wed, Jan 19, 2011 at 10:57 AM, Carsten Dominik wrote: > Fixed, thanks. > > - Carsten