emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [BUG] Export to ascii fails


From: Valentin Wüstholz
Subject: [Orgmode] [BUG] Export to ascii fails
Date: Fri, 14 Jan 2011 13:36:10 +0100

Hi,

I ran into a bug with the ascii export. Exporting the attached org
file to ascii fails (see the attached backtrace). The failure seems to
be related to the 'H:10' option.

I had a look at the code and the following patch seemed to alleviate the issue:

------------------------------ lisp/org-ascii.el ------------------------------
index 99facb1..25cdf12 100644
@@ -637 +637 @@ publishing directory."
-  (let (char (n (- level umax 1)) (ind 0))
+  (let (char (n (- level 1)) (ind 0))
@@ -655 +655 @@ publishing directory."
-      (setq char (nth (- umax level) (reverse org-export-ascii-underline)))
+      (setq char (nth n (reverse org-export-ascii-underline)))

This will however still fail, if (length org-export-ascii-underline) <= n.

Best regards,

Valentin

Attachment: bug.org
Description: Binary data

Attachment: backtrace
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]