emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Re: Smarter indent with C-j
Date: Sun, 25 Mar 2007 10:40:44 +0100	[thread overview]
Message-ID: <m2fy7tpsjq.fsf@sl392.st-edmunds.cam.ac.uk> (raw)
In-Reply-To: <b71b18520703220848r5ab5db5w9c9ed54cccbe4ca4@mail.gmail.com> (Eddward DeVilla's message of "Thu\, 22 Mar 2007 10\:48\:06 -0500")

I now find some time to think about Eddward's questions and I just
realized all those questions have little to do with what C-j should
do.

My proposed change is in common with some other outliners such as this
one: http://www.omnigroup.com/applications/omnioutliner/pro/

Any comments?

On 2007-03-22, Eddward DeVilla said:

>> I just noticed one minor issue for check boxes. As in org 4.69:
>>
>>    - [ ] Check box 1<--- C-j
>>      |<--- cursor moved here
>>
>> I think the following is more elegant:
>>    - [ ] Check box 1<--- C-j
>>          |<--- cursor moved here
>>
>> What do people think?
>
> I tend to use the top behavior, but I do kind of the look of the
> second one.  How would you handle subcheck boxes?
>
>   - [ ] list 1
>         - [ ] list 1.1
> or
>
>   - [ ] list 1
>     - [ ] list 1.1

This is not related to C-j, which stays in the same list entry or
heading.

>
> Now that I think of it, this could be a little hairy for me.  Right
>now the behavior is
> uniform.  Always a 2 char indent (but I could live with a uniform 4 or 6 char).  But
> sometimes I do the following
>
>   - [/] list 1
>     - [ ] list 1.1
>
> The size of the [/] token can vary.  I think I'd still like it to be treated like a box
> in this case.  I guess I'd like it to indent the number of character as a checkbox
> line.  

Again, not related to what C-j does.

>
> Also, how would you handle numbered lists where the indent would
>also change for lists
> with 10 or more items.
>
>    1) [ ] foo1
>           bar1
>    2) [ ] foo2
>           bar2
>     ...
>    10) [ ] foo10
>            bar10

Again not related. C-j is about aligning text.

Best,
-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

      parent reply	other threads:[~2007-03-25  9:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-06 11:00 Smarter indent with C-j Leo
     [not found] ` <b71b18520703060800s258d4727ve93bb698033ae268@mail.gmail.com>
2007-03-06 16:30   ` Leo
2007-03-06 18:44     ` Carsten Dominik
2007-03-06 21:13       ` Eddward DeVilla
2007-03-06 18:45 ` Carsten Dominik
2007-03-07  7:48 ` Carsten Dominik
2007-03-22  8:05   ` Leo
     [not found]     ` <b71b18520703220848r5ab5db5w9c9ed54cccbe4ca4@mail.gmail.com>
2007-03-22 16:00       ` Leo
2007-03-25  9:40       ` Leo [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=m2fy7tpsjq.fsf@sl392.st-edmunds.cam.ac.uk \
    --to=sdl.web@gmail.com \
    --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).