From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Indentation of code blocks within lists
Date: Fri, 24 May 2013 23:26:04 +0200 [thread overview]
Message-ID: <86zjvk134j.fsf@somewhere.org> (raw)
In-Reply-To: 87sj1c7e60.fsf@gmail.com
Hello Nicolas,
Nicolas Goaziou wrote:
> "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org> writes:
>
>> That won't help you, but I've already sent questions on this problem, last
>> year (Org < 8). See my post on
>> http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg00247.html.
>>
>> Though, it's (for me) still unfixed as of today.
>>
>> The good news is that Nicolas seemed OK to look at it, and find a solution for
>> it...
>
> AFAICS, your problem was solved. Could you point to what is still wrong?
>
> I also cannot reproduce OP's problem. It may be related to
> `org-src-preserve-indentation' value.
Indeed. I have as well `org-src-preserve-indentation' set to `t', for the same
reason as pointed out: if I don't use it that way, then my code blocks which
have different relative depths are exported (in HTML) on the same level, as if
there was no indentation to respect.
So, yes, it does work if you don't need to preserve indentation, you're well
right. But, if not, the indentation is lost on export (and on source editing
with C-c ').
Best regards,
Seb
--
Sebastien Vauban
next prev parent reply other threads:[~2013-05-24 21:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-13 12:11 Indentation of code blocks within lists Francesco Pizzolante
[not found] ` <87ehdb13lo.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2013-05-21 8:25 ` Francesco Pizzolante
2013-05-23 22:20 ` Sebastien Vauban
2013-05-24 12:31 ` Nicolas Goaziou
[not found] ` <87sj1c7e60.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-05-24 14:33 ` Francesco Pizzolante
2013-05-24 21:26 ` Sebastien Vauban [this message]
2013-05-25 12:39 ` Nicolas Goaziou
[not found] ` <87zjvj5j3n.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-05-27 8:23 ` Francesco Pizzolante
2013-05-27 14:15 ` Sebastien Vauban
2013-05-27 14:46 ` Sebastien Vauban
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86zjvk134j.fsf@somewhere.org \
--to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.