emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: cezar <cezar@mixandgo.ro>
Cc: emacs-orgmode@gnu.org
Subject: Re: list indentation
Date: Fri, 8 Feb 2008 10:24:39 +0100	[thread overview]
Message-ID: <62CB93EA-C3B9-4AA7-A8AB-FD8F52A88F81@science.uva.nl> (raw)
In-Reply-To: <fofkdg$n62$1@ger.gmane.org>


On Feb 7, 2008, at 7:58 PM, cezar wrote:

> Hello,
>
>  I am using org-mode version 5.17a and I sometimes need to write some
> details on a task like:
>
> ** TODO something to be done
>   notes about this task
>   come here and they include a list
>   - blah
>   - blah
>     And another list
>     - foo
>     - foo
>       And one more list
>       - bar
>       - bar
>
>  Now, this is not what it should look like !
>  The lists need to be aligned properly.


Hi Cezar,

Org-mode tries its best to guess what you mean and then
do it.  However, it is not a true mind reader, and it cannot know
how you intend your lists to be structured.  This structure you
show is valid and might just as well be what you mean.

However, Org-mode helps you to create the lists either way.
What you probably did is (I am guessing here):

     - type "And another list"
     - press RET to get a new line
     - press TAB to indent, Org assumes that you want to continue
       text as *part* of he current item.
     - type "-" to make a new item
     - press TAB in the hope that the line would be outdented
       to match your intended structure.  Bummer.  Org keeps
       the structure because it assumes by setting the indentation,
       this is what you mean.

What you could have done
     - type "And another list"
     - press RET to get a new line
     - type "-" to make a new item
     - press TAB to indent, now org-mode matches up the "-"
       with the previous ones, because before indenting the line
       you told it that you intended it to be an item in time.

What you really should have done
     - type "And another list"
     - M-RET to create the next item.

Hope this helps

- Carsten




>
>
>  Am I making any sense ?
>
> Regards,
> Cezar
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  parent reply	other threads:[~2008-02-08  9:25 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-07 18:58 list indentation cezar
2008-02-07 23:31 ` Hugo Schmitt
2008-02-08  9:24 ` Carsten Dominik [this message]
2008-02-09  0:29   ` cezar
2008-02-09  7:17     ` Carsten Dominik
2008-02-09  7:26       ` cezar
2008-02-09 17:02         ` Eddward DeVilla
2008-02-09 21:45           ` William Henney
2008-02-09 22:17             ` cezar
2008-02-09 22:50               ` William Henney
2008-02-09 23:26                 ` Eddward DeVilla
2008-02-10  1:09                   ` William Henney
2008-02-10  3:55                     ` Eddward DeVilla
2008-02-10  4:47                       ` William Henney
2008-02-10  5:05                         ` Eddward DeVilla
2008-02-10  7:29                           ` Carsten Dominik
2008-02-10  8:00                             ` cezar
2008-02-10 10:58                               ` Carsten Dominik
2008-02-10 19:26                                 ` cezar
2008-02-09 23:41                 ` cezar
2008-02-10  1:28                   ` William Henney
2008-02-10  1:33                     ` Cezar Halmagean
2008-02-10  1:35                       ` William Henney
2008-02-10 20:42                   ` Bastien Guerry

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=62CB93EA-C3B9-4AA7-A8AB-FD8F52A88F81@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=cezar@mixandgo.ro \
    --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).