emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] [BUG] Export to ascii fails


From: Carsten Dominik
Subject: Re: [Orgmode] [BUG] Export to ascii fails
Date: Wed, 19 Jan 2011 10:57:38 +0100

Fixed, thanks.

- Carsten

On Jan 14, 2011, at 1:36 PM, Valentin Wüstholz wrote:

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
<bug.org><backtrace>_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten






reply via email to

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