emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Nicolas <n.goaziou@gmail.com>
Cc: Thomas Hisch <t.hisch@gmail.com>, Emacs-orgmode@gnu.org
Subject: Re: Re: identation in enabled org-indent-mode and disabled OIM
Date: Wed, 2 Mar 2011 13:34:54 +0100	[thread overview]
Message-ID: <8E44B731-31B9-46C6-8EEA-E1F1552471C5@gmail.com> (raw)
In-Reply-To: <87fwr5g1if.fsf@gmail.com>


On Mar 2, 2011, at 1:17 PM, Nicolas wrote:

> Hello,
> 
> Thomas Hisch <t.hisch@gmail.com> writes:
> 
>> why is there no consistent identation between disable OIM and enabled
>> OIM, or is there a way to enable this consitent identation ??
> 
> You have to keep in mind that OIM fakes indentation, that is, you think
> your line is indented, but in fact, it still lays at column 0. Thus,
> most the spaces used to indent a line outside OIM aren't needed anymore
> with OIM on.
> 
> Anyway, it isn't as bad as it sounds. When you stop OIM, you just have
> to re-indent the whole buffer to get your spaces back (C-x h C-M-\ for
> example).

Also, take a look at the variable org-adapt-indentation.  Org-indent-mode
changes the value of this variable when turned on, so this may be part of
the reason why you think the behavior is inconsistent.

Regards

- Carsten

      parent reply	other threads:[~2011-03-02 12:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-02 11:49 identation in enabled org-indent-mode and disabled OIM Thomas Hisch
2011-03-02 12:17 ` Nicolas
2011-03-02 12:31   ` Thomas Hisch
2011-03-02 13:12     ` Nicolas
2011-03-02 12:34   ` Carsten Dominik [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=8E44B731-31B9-46C6-8EEA-E1F1552471C5@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    --cc=t.hisch@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).