emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: "Sébastien Delafond" <sdelafond@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-list-indent-offset only works partially
Date: Tue, 18 Oct 2011 23:00:12 +0200	[thread overview]
Message-ID: <8762jmvwv7.fsf@gmail.com> (raw)
In-Reply-To: <20111018105046.286@usenet.piggo.com> ("Sébastien Delafond"'s message of "Tue, 18 Oct 2011 08:53:50 +0000 (UTC)")

Hello,

Sébastien Delafond <sdelafond@gmail.com> writes:

> from Debian bug #645214 (http://bugs.debian.org/645214):
>
>   org-mode doesn't seems to honour correctly the org-list-indent-offset
>   variable (a recent addition). See the following steps:
>
>   1- Run "emacs -q"
>   2- M-x org-mode 
>   3- M-x set-variable org-list-indent-offset 8
>   4- open /tmp/t.org
>   5- Write the following
>   - item 1
>   [TAB]- item 2
>
>   When you press [TAB], "- item 2" is indented only two spaces right,
>   not 8 as org-list-indent-offset describes, thats seems to be a
>   bug. But now, if over the item 2 line you do
>
>   6- M-left 
>   7- M-right
>
>   The "- item 2" will be correctly indented 8 spaces to the right. So
>   org-list-indent-offset is correctly working in this case.

There is no bug here. 

The important thing to notice is that you are using TAB before inserting
the second bullet. Org understands that you want to indent the current
empty line into the current item (how could it tell you're going to add
an item?).

If you want to trigger `org-list-indent-offset' correctly, first insert
the bullet, then tabulate.

Regards,

-- 
Nicolas Goaziou

      parent reply	other threads:[~2011-10-18 21:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-18  8:53 org-list-indent-offset only works partially Sébastien Delafond
2011-10-18  9:33 ` Michael Brand
2011-10-19  6:57   ` Michael Brand
2011-10-19 11:08     ` Nicolas Goaziou
2011-10-19 16:52       ` Michael Brand
2011-10-18 21:00 ` Nicolas Goaziou [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=8762jmvwv7.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sdelafond@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).