From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Michael Brand <michael.ch.brand@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-list-indent-offset only works partially
Date: Wed, 19 Oct 2011 13:08:30 +0200 [thread overview]
Message-ID: <87wrc1utld.fsf@gmail.com> (raw)
In-Reply-To: <CALn3zojePV=E_NFDfH_4NjHUB1e6UTAvzn914p9MggQ3FBDv8w@mail.gmail.com> (Michael Brand's message of "Wed, 19 Oct 2011 08:57:02 +0200")
Michael Brand <michael.ch.brand@gmail.com> writes:
> Hi Nicolas
>
> Now I understand that
>
> - 1 :: item 1
> [TAB]- item 2
>
> works as expected, when assuming that you don't want the space after
> the "-" to change the indentation similar to Emacs Electric C but want
> to keep only TAB, C-c and the modified cursor keys to change the
> indentation. BTW, were there considerations or discussions about
> "electric indentation" for lists (space after the "-")?
C-c C-c changes indentation by side-effect. Its purpose is to repair the
current list, which is broken if you use "[TAB]-".
Also don't forget M-RET to insert an new item. I strongly suggest that
binding which does a lot more than simply adding one bullet (renumbering
if necessary, updating of checkboxes, etc.). I usually do M-RET and
possibly TAB until the item has the correct indentation.
Knowing that, I don't see any necessity for an "electric indentation".
Though, to answer your question, I don't think this has ever been
discussed.
> So, for what I want to do I have to use
>
> - 1 :: item 1
> -[TAB]item 2
"M-RET TAB" will be enough.
> Is the following also doing what is expected?
>
> - 1 :: item 1
> [TAB]-[TAB][TAB]item 2
I don't know what is expected here. Again, since you press "[TAB]-"
you're creating a broken list. First use C-c C-c to repair it, then you
can expect something out of it.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2011-10-19 11:09 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 [this message]
2011-10-19 16:52 ` Michael Brand
2011-10-18 21:00 ` Nicolas Goaziou
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=87wrc1utld.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=michael.ch.brand@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).