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

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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

  reply	other threads:[~2011-01-19  9:57 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 [this message]
2011-01-19 12:02   ` Valentin Wüstholz

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=6290AF72-0676-4D37-9C6A-6F2E6625100A@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wuestholz@gmail.com \
    /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).