emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Max Rydahl Andersen" <manderse@redhat.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: avoiding "First item of list cannot move without its subtree"
Date: Mon, 20 Feb 2017 22:35:18 +0100	[thread overview]
Message-ID: <C13D1E4F-9E23-4D86-8AD3-0D2AFB57A271@redhat.com> (raw)
In-Reply-To: <87h93oygic.fsf@nicolasgoaziou.fr>

[-- Attachment #1: Type: text/plain, Size: 2004 bytes --]

>> And then I go over these and I use the shift/alt+keys to reorder the
>> ideas up and down and eventually I would like to do this:
>>
>> ```
>> * Some important topic
>>   - idea 1, some notes
>>   ** TODO idea 2, another note
>>   - idea 3, a third note
>> ```
>
> What is that? Is "** TODO idea 2, another note" a headline, in which
> case it should be at column 0?

Yes sorry, bad indent.

> Headlines are different from plain lists. You can use C-c * on second
> item to turn it into a headline.

Yes, I know about that one - but I would prefer not having to change to
another set of keys :)

I can do shift arrow left/rigt/up/down for the list item *until* I hit 
the top heading.

> You can also move to the beginning of line (C-a), kill word (M-d) and
> insert the two stars. It is a longer but maybe more natural, since 
> those
> are standard text editing keys.

this is what I do know - just more tedious if shift + arrows could ask 
instead of blocking.

>> I know I can press a short cut to make it a top item, but why can't
>> I just use the normal standard tree editing keys ?
>
> I'm not sure to understand what "standard tree editing keys" you're
> talking about.

shift arrows up/down/left/righit.

> AFAIU, you want to turn a structure (a list) into another one (a
> headline). There's a command for that, but I don't consider the action
> to be a standard editing one.

Yes, but it would be so convenient it would not just block edit and 
require
shifting to completely different keys IMO.

>> Is there a way to have org-mode ask what kind of thing it should do
>> when I move the lists "out-of-bounds" instead
>> of just error out on me ?
>
> IMO, you may be mis-using the tool.

Might be - but seems it fits very naturally to be able to at least allow 
to move list items outside its parent.

Don't get me wrong - I  like it defaults to stopping, but would prefer 
it would ask or let me do shift + left + left to override or something 
similar.


/max
http://about.me/maxandersen

[-- Attachment #2: Type: text/html, Size: 4352 bytes --]

  reply	other threads:[~2017-02-20 21:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-20 12:58 avoiding "First item of list cannot move without its subtree" Max Rydahl Andersen
2017-02-20 16:27 ` Nicolas Goaziou
2017-02-20 21:35   ` Max Rydahl Andersen [this message]
2017-02-21  7:42     ` Nicolas Goaziou
2017-02-21 16:07       ` Max Rydahl Andersen
2017-02-21 17:35         ` Nicolas Goaziou
2017-02-22  7:22           ` Max Rydahl Andersen
2017-02-22 11:04             ` Nicolas Goaziou
2017-02-23  7:36               ` Max Rydahl Andersen
2017-02-23 11:41                 ` Nicolas Goaziou
2017-02-23 12:50                   ` Max Rydahl Andersen
2017-02-23 13:07                     ` Nicolas Goaziou
2017-02-28 11:31                       ` Max Rydahl Andersen
     [not found] <cabe8a30ab4e4a79a7d100b0d07093d6@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-02-20 16:32 ` Eric S Fraga
2017-02-20 21:40   ` Max Rydahl Andersen

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=C13D1E4F-9E23-4D86-8AD3-0D2AFB57A271@redhat.com \
    --to=manderse@redhat.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).