emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: cezar <cezar@mixandgo.ro>
To: emacs-orgmode@gnu.org
Subject: Re: list indentation
Date: Sat, 9 Feb 2008 07:26:45 +0000 (UTC)	[thread overview]
Message-ID: <fojkjk$ek5$1@ger.gmane.org> (raw)
In-Reply-To: D9206D67-3CE1-40EB-BEED-308AD28D5914@science.uva.nl

On Sat, 09 Feb 2008 08:17:10 +0100, Carsten Dominik wrote:

> I don't quite understand yet what you mean.  Please try to explain
> again.
> 
> - Carsten
> 
> On Feb 9, 2008, at 1:29 AM, cezar wrote:
> 
>> On Fri, 08 Feb 2008 10:24:39 +0100, Carsten Dominik wrote:
>>
>>> 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
>>>
>>>
>>>
>>> _______________________________________________ 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
>>
>> My problem is that "Another list" is indented (because it's under a
>> list
>> element row). So what I'd want is org-mode to know that/when the list
>> ends which is at the end of the line (maybe use a dot)
>>
>> Thank you for explaining.
>>
>> 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
> 
> 
> 
> _______________________________________________ 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

I have this TODO:

** TODO Meeting with John Doe
   regarding the job interview
   some skills they would like
   - html
   - css
   - unix
     address: 102 str. Blah foo, CA
     phone: 1111111

I would like to somehow make org aware that the list ends after "- unix" 
and that what follows are not part of the list, meaning pressing TAB 
should not move the cursor under "u" form unix.

Regards,
Cezar

  reply	other threads:[~2008-02-09  7:27 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
2008-02-09  0:29   ` cezar
2008-02-09  7:17     ` Carsten Dominik
2008-02-09  7:26       ` cezar [this message]
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='fojkjk$ek5$1@ger.gmane.org' \
    --to=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).