emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Julien Fantin <julien.fantin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Indentation of src blocks with org-adapt-indentation
Date: Mon, 12 Jul 2010 00:25:20 +0200	[thread overview]
Message-ID: <AANLkTilkkANsfiPDETumXut_TdzLnHvT6-7nxFz_yujv@mail.gmail.com> (raw)

I've reverted back from using fake indetation provided by
org-indent-mode, to regular indentation, since the latest git pull
fixed some issues that makes it much more usable (so thanks for that
!).

However src blocks only behave properly if starting on column 0,
otherwise, editing it with C-' will include the headline level's
indentation added to the code's own indentation.

Wouldn't it make more sense, to have blocks stick to the regular
indentation level, while org-edit-special would strip the meaningless
spaces that result from the headline level  ?

Cheers

                 reply	other threads:[~2010-07-11 22:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=AANLkTilkkANsfiPDETumXut_TdzLnHvT6-7nxFz_yujv@mail.gmail.com \
    --to=julien.fantin@gmail.com \
    --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).