emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Francis Moreau <francis.moro@gmail.com>
To: Juan <Pechiar@computer.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Literal examples and indentation
Date: Tue, 6 Jul 2010 13:46:08 +0200	[thread overview]
Message-ID: <AANLkTikLkdwBuCyJ5dKjGd5mDdMdCCNzfQIWbR_Rqds4@mail.gmail.com> (raw)
In-Reply-To: <20100704214107.GD5569@soloJazz.com>

On Sun, Jul 4, 2010 at 11:41 PM, Juan <Pechiar@computer.org> wrote:
> For ASCII export, the 2 leading spaces are hard-coded in org-ex.el
> line 2292:
>
>   (lambda (l) (concat "  " l))
>
> You'll need to tinker inside the code in order to change the
> indentation.

Ok, so the answer of my initial question is no.

That's a bit sad because, IMHO, this could a little be smarter than
this. For example if the line to indent is an empty one, then don't
insert indentation, or if the text is already indented then indent
with respect of the current indentation, etc...

Bye,
-- 
Francis

      reply	other threads:[~2010-07-06 11:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-01  9:51 Literal examples and indentation Francis Moreau
2010-07-01 17:51 ` Juan
2010-07-02 21:22   ` Francis Moreau
2010-07-04 21:41   ` Juan
2010-07-06 11:46     ` Francis Moreau [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=AANLkTikLkdwBuCyJ5dKjGd5mDdMdCCNzfQIWbR_Rqds4@mail.gmail.com \
    --to=francis.moro@gmail.com \
    --cc=Pechiar@computer.org \
    --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).