emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Valentin Wüstholz" <wuestholz@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] Export to ascii fails
Date: Wed, 19 Jan 2011 13:02:09 +0100	[thread overview]
Message-ID: <AANLkTikS7m9DiaNsjKHKNJ5bZEczTG-yA0pjr6MaVT07@mail.gmail.com> (raw)
In-Reply-To: <6290AF72-0676-4D37-9C6A-6F2E6625100A@gmail.com>

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
<carsten.dominik@gmail.com> wrote:
> Fixed, thanks.
>
> - Carsten

      reply	other threads:[~2011-01-19 12:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-14 12:36 [BUG] Export to ascii fails Valentin Wüstholz
2011-01-19  9:57 ` Carsten Dominik
2011-01-19 12:02   ` Valentin Wüstholz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikS7m9DiaNsjKHKNJ5bZEczTG-yA0pjr6MaVT07@mail.gmail.com \
    --to=wuestholz@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).