From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Max Rydahl Andersen" Subject: avoiding "First item of list cannot move without its subtree" Date: Mon, 20 Feb 2017 13:58:18 +0100 Message-ID: <2F92B854-9322-45EA-8753-A6CAA3717974@redhat.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MailMate_6E36AA82-C88A-4B34-A173-05C803DB0E4B_=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfnXs-0000i3-Tq for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 07:58:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfnXq-0006O4-CX for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 07:58:25 -0500 Received: from mail-wr0-f181.google.com ([209.85.128.181]:32873) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfnXq-0006Mk-5r for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 07:58:22 -0500 Received: by mail-wr0-f181.google.com with SMTP id 35so23322154wrw.0 for ; Mon, 20 Feb 2017 04:58:21 -0800 (PST) Received: from [10.36.117.227] (147.179.194.178.dynamic.wline.res.cust.swisscom.ch. [178.194.179.147]) by smtp.gmail.com with ESMTPSA id b10sm13397957wmi.34.2017.02.20.04.58.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Feb 2017 04:58:19 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Org-mode --=_MailMate_6E36AA82-C88A-4B34-A173-05C803DB0E4B_= Content-Type: text/plain; format=flowed; markup=markdown Hi, First time poster and recently started using org-mode and so far enjoying it :) One nag I do have though is how moving of basic lists are handled. I constantly bump into "First item of list cannot move without its subtree" Is there a way to avoid this error and instead be given the option to say "Please just move it up to the next level" ? What I often have is that I during a meeting or brain dump do this: ``` * Some important topic - idea 1, some notes - idea 2, another note - idea 3, a third note ``` 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 ``` 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 ? 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 ? Thank you, /max http://about.me/maxandersen --=_MailMate_6E36AA82-C88A-4B34-A173-05C803DB0E4B_= Content-Type: text/html Content-Transfer-Encoding: quoted-printable

Hi,

First time poster and recently started using org-mode and= so far enjoying it :)

One nag I do have though is how moving of basic lists are= handled.
I constantly bump into "First item of list cannot move without its subtre= e"

Is there a way to avoid this error and instead be given t= he option to say "Please just move it up to the next level" ?

What I often have is that I during a meeting or brain dum= p do this:

* Some important =
topic
  - idea 1, some notes
  - idea 2, another note
  - idea 3, a third note

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

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 ?

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 ?

Thank you,
/max
http://ab= out.me/maxandersen

--=_MailMate_6E36AA82-C88A-4B34-A173-05C803DB0E4B_=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: avoiding "First item of list cannot move without its subtree" Date: Mon, 20 Feb 2017 17:27:23 +0100 Message-ID: <87h93oygic.fsf@nicolasgoaziou.fr> References: <2F92B854-9322-45EA-8753-A6CAA3717974@redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfqoG-0002Bp-RL for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 11:27:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfqoG-0003jS-1B for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 11:27:32 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:57978) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cfqoF-0003jH-Rl for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 11:27:31 -0500 In-Reply-To: <2F92B854-9322-45EA-8753-A6CAA3717974@redhat.com> (Max Rydahl Andersen's message of "Mon, 20 Feb 2017 13:58:18 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Max Rydahl Andersen Cc: Org-mode Hello, "Max Rydahl Andersen" writes: > What I often have is that I during a meeting or brain dump do this: > > ``` > * Some important topic > - idea 1, some notes > - idea 2, another note > - idea 3, a third note > ``` OK. > 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? Headlines are different from plain lists. You can use C-c * on second item to turn it into a headline. 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. > 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. 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. > 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. Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: avoiding "First item of list cannot move without its subtree" Date: Mon, 20 Feb 2017 16:32:06 +0000 Message-ID: <87bmtw3jsp.fsf@ucl.ac.uk> References: Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfqsp-0005tC-6m for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 11:32:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfqsm-00055B-0i for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 11:32:15 -0500 Received: from mail-db5eur01on0096.outbound.protection.outlook.com ([104.47.2.96]:44941 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cfqsl-00054X-Nf for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 11:32:11 -0500 In-Reply-To: (Max Rydahl Andersen's message of "Mon, 20 Feb 2017 12:58:18 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Monday, 20 Feb 2017 at 12:58, Max Rydahl Andersen wrote: > Hi, > > First time poster and recently started using org-mode and so far enjoying= it :) > > One nag I do have though is how moving of basic lists are handled. > I constantly bump into "First item of list cannot move without its subtre= e" > > Is there a way to avoid this error and instead be given the option to > say "Please just move it up to the next level" ? > > What I often have is that I during a meeting or brain dump do this: > > * Some important topic > - idea 1, some notes > - idea 2, another note > - idea 3, a third note Maybe change your approach and use headlines throughout: * Some important topic ** idea 1 some notes ** idea 2 another note ** idea 3 a third note ? You can still move these about and pro/de-mote them as required but you can now add task management keywords easily. =2D-=20 : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.4-242-g2c27b8 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWKsaBgAKCRDIkZPY//z2 fZzGAJ4imN8NYAoyL3wHqGna8PVVFXVlogCgigiq2Je2Rk942bEq7Hc5O3uY02Q= =tzGu -----END PGP SIGNATURE----- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Max Rydahl Andersen" Subject: Re: avoiding "First item of list cannot move without its subtree" Date: Mon, 20 Feb 2017 22:35:18 +0100 Message-ID: References: <2F92B854-9322-45EA-8753-A6CAA3717974@redhat.com> <87h93oygic.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MailMate_6BA18175-C84F-44BD-905D-123C59593EEA_=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfvcE-0002Tg-GI for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 16:35:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfvcB-0005uw-C6 for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 16:35:26 -0500 Received: from mail-wm0-f53.google.com ([74.125.82.53]:36783) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfvc9-0005ui-RC for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 16:35:22 -0500 Received: by mail-wm0-f53.google.com with SMTP id c85so92107918wmi.1 for ; Mon, 20 Feb 2017 13:35:21 -0800 (PST) In-Reply-To: <87h93oygic.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: Org-mode --=_MailMate_6BA18175-C84F-44BD-905D-123C59593EEA_= Content-Type: text/plain; format=flowed >> 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 --=_MailMate_6BA18175-C84F-44BD-905D-123C59593EEA_= Content-Type: text/html Content-Transfer-Encoding: quoted-printable

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 no= te" a headline, in which
case it should be at column 0?

Yes sorry, bad indent.

H= eadlines 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 havin= g 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.

Y= ou 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<= br> are standard text editing keys.

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

I know I can press a short c= ut 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 tr= ee editing keys" you're
talking about.

shift arrows up/down/left/righit.

A= FAIU, 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 bloc= k edit and require
shifting to completely different keys IMO.

Is there a way to have org-m= ode 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 o= r something similar.

/max
http://ab= out.me/maxandersen

--=_MailMate_6BA18175-C84F-44BD-905D-123C59593EEA_=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Max Rydahl Andersen" Subject: Re: avoiding "First item of list cannot move without its subtree" Date: Mon, 20 Feb 2017 22:40:08 +0100 Message-ID: <5D89E23A-6FBA-4D5B-8856-D927163C870C@redhat.com> References: <87bmtw3jsp.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfvgu-0003wB-DK for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 16:40:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfvgr-0007Qr-AH for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 16:40:16 -0500 Received: from mail-wm0-f45.google.com ([74.125.82.45]:35539) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfvgr-0007Qc-4d for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 16:40:13 -0500 Received: by mail-wm0-f45.google.com with SMTP id v186so92182238wmd.0 for ; Mon, 20 Feb 2017 13:40:13 -0800 (PST) In-Reply-To: <87bmtw3jsp.fsf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Eric S Fraga Cc: emacs-orgmode@gnu.org >> * Some important topic >> - idea 1, some notes >> - idea 2, another note >> - idea 3, a third note > > Maybe change your approach and use headlines throughout: > > * Some important topic > ** idea 1 > some notes > ** idea 2 > another note > ** idea 3 > a third note > > ? > > You can still move these about and pro/de-mote them as required but > you > can now add task management keywords easily. I did it this way until I learned about basic lists. I prefer basic lists because they visually default to be much less prominent highlighted. Thus I prefer the lighter approach by default and only make thins into headings when needed. /max http://about.me/maxandersen From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: avoiding "First item of list cannot move without its subtree" Date: Tue, 21 Feb 2017 08:42:43 +0100 Message-ID: <87tw7ovvkc.fsf@nicolasgoaziou.fr> References: <2F92B854-9322-45EA-8753-A6CAA3717974@redhat.com> <87h93oygic.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cg563-0003Zy-Gh for emacs-orgmode@gnu.org; Tue, 21 Feb 2017 02:42:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cg560-0005cI-Fs for emacs-orgmode@gnu.org; Tue, 21 Feb 2017 02:42:51 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:49127) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cg560-0005ZH-9A for emacs-orgmode@gnu.org; Tue, 21 Feb 2017 02:42:48 -0500 In-Reply-To: (Max Rydahl Andersen's message of "Mon, 20 Feb 2017 22:35:18 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Max Rydahl Andersen Cc: Org-mode Hello, "Max Rydahl Andersen" writes: > 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. IMO, the current behaviour is the right one. However, you can advice, e.g., `org-shiftmetaleft' so it catches the error and calls `org-ctrl-c-star' instead. Regards, -- Nicolas Goaziou 0x80A93738 From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Max Rydahl Andersen" Subject: Re: avoiding "First item of list cannot move without its subtree" Date: Tue, 21 Feb 2017 17:07:13 +0100 Message-ID: <31A5D5FB-7629-4A6A-9727-D419A7D8096D@redhat.com> References: <2F92B854-9322-45EA-8753-A6CAA3717974@redhat.com> <87h93oygic.fsf@nicolasgoaziou.fr> <87tw7ovvkc.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MailMate_65E94CD9-E959-4EC8-A4CC-20614CEBCC92_=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgCyH-0005TA-Vg for emacs-orgmode@gnu.org; Tue, 21 Feb 2017 11:07:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgCyE-00041D-LC for emacs-orgmode@gnu.org; Tue, 21 Feb 2017 11:07:21 -0500 Received: from mail-wm0-f41.google.com ([74.125.82.41]:33006) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cgCyE-0003zn-EN for emacs-orgmode@gnu.org; Tue, 21 Feb 2017 11:07:18 -0500 Received: by mail-wm0-f41.google.com with SMTP id t18so29997759wmt.0 for ; Tue, 21 Feb 2017 08:07:17 -0800 (PST) In-Reply-To: <87tw7ovvkc.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: Org-mode --=_MailMate_65E94CD9-E959-4EC8-A4CC-20614CEBCC92_= On 21 Feb 2017, at 8:42, Nicolas Goaziou wrote: > Hello, > > "Max Rydahl Andersen" writes: > >> 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. > > IMO, the current behaviour is the right one. > > However, you can advice, e.g., `org-shiftmetaleft' so it catches the > error and calls `org-ctrl-c-star' instead. Any pointers on how to do this ? I tried this but no luck to get hooked in: ``` (defadvice org-fix-list-indent (around org-list-indent-item-generic) "Advise list indention to trigger creation of star instead" (message "DO MAGIC!") (ad-do-it) ) ``` But with this "DO MAGIC!" does not show up. /max http://about.me/maxandersen --=_MailMate_65E94CD9-E959-4EC8-A4CC-20614CEBCC92_= Content-Type: text/html Content-Transfer-Encoding: quoted-printable

On 21 Feb 2017, at 8:42, Nicolas Goaziou wrote:

H= ello,

"Max Rydahl Andersen" <manderse@redhat.com> writes:

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.

IMO, the current behaviour is the right one.=

However, you can advice, e.g., `org-shiftmetaleft' so it catches the
error and calls `org-ctrl-c-star' instead.

Any pointers on how to do this ?

I tried this but no luck to get hooked in:

(defadvice org-fi=
x-list-indent
    (around org-list-indent-item-generic)
  "Advise list indention to trigger creation of star instead"
  (message "DO MAGIC!")
  (ad-do-it)
)

But with this "DO MAGIC!" does not show up.

/max
http://ab= out.me/maxandersen

--=_MailMate_65E94CD9-E959-4EC8-A4CC-20614CEBCC92_=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: avoiding "First item of list cannot move without its subtree" Date: Tue, 21 Feb 2017 18:35:10 +0100 Message-ID: <87d1ebtpkh.fsf@nicolasgoaziou.fr> References: <2F92B854-9322-45EA-8753-A6CAA3717974@redhat.com> <87h93oygic.fsf@nicolasgoaziou.fr> <87tw7ovvkc.fsf@nicolasgoaziou.fr> <31A5D5FB-7629-4A6A-9727-D419A7D8096D@redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgELK-0006Za-Ku for emacs-orgmode@gnu.org; Tue, 21 Feb 2017 12:35:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgELJ-0007Yg-GJ for emacs-orgmode@gnu.org; Tue, 21 Feb 2017 12:35:14 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:41688) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cgELJ-0007XV-AT for emacs-orgmode@gnu.org; Tue, 21 Feb 2017 12:35:13 -0500 In-Reply-To: <31A5D5FB-7629-4A6A-9727-D419A7D8096D@redhat.com> (Max Rydahl Andersen's message of "Tue, 21 Feb 2017 17:07:13 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Max Rydahl Andersen Cc: Org-mode "Max Rydahl Andersen" writes: > Any pointers on how to do this ? > > I tried this but no luck to get hooked in: > > ``` > (defadvice org-fix-list-indent > (around org-list-indent-item-generic) > "Advise list indention to trigger creation of star instead" > (message "DO MAGIC!") > (ad-do-it) > ) > ``` > > But with this "DO MAGIC!" does not show up. The function to advice is `org-shiftmetaleft', not `org-fix-list-indent'. Anyway, you can also add something like the following to `org-shiftmetaleft-hook': (defun my-shiftmetaleft () (interactive) (let* ((element (org-element-at-point)) (list-parent (org-element-lineage element '(item plain-list) t))) (when (and list-parent (= (line-beginning-position) (org-element-property :post-affiliated element))) (call-interactively (if (org-element-lineage list-parent '(item)) ;not at top level #'org-outdent-item-tree #'org-ctrl-c-star)) t))) Regards, From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Max Rydahl Andersen" Subject: Re: avoiding "First item of list cannot move without its subtree" Date: Wed, 22 Feb 2017 08:22:15 +0100 Message-ID: <627E7E70-7578-4B73-A6A7-2ABFAD907AFB@redhat.com> References: <2F92B854-9322-45EA-8753-A6CAA3717974@redhat.com> <87h93oygic.fsf@nicolasgoaziou.fr> <87tw7ovvkc.fsf@nicolasgoaziou.fr> <31A5D5FB-7629-4A6A-9727-D419A7D8096D@redhat.com> <87d1ebtpkh.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MailMate_B01DC650-709D-4C34-ABEA-6563311887B8_=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgRFo-0001Pz-0A for emacs-orgmode@gnu.org; Wed, 22 Feb 2017 02:22:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgRFk-00082v-0o for emacs-orgmode@gnu.org; Wed, 22 Feb 2017 02:22:23 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:36330) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cgRFj-00082Q-ND for emacs-orgmode@gnu.org; Wed, 22 Feb 2017 02:22:19 -0500 Received: by mail-wm0-f51.google.com with SMTP id i186so2566898wmf.1 for ; Tue, 21 Feb 2017 23:22:19 -0800 (PST) In-Reply-To: <87d1ebtpkh.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: Org-mode --=_MailMate_B01DC650-709D-4C34-ABEA-6563311887B8_= Content-Type: text/plain; format=flowed On 21 Feb 2017, at 18:35, Nicolas Goaziou wrote: > "Max Rydahl Andersen" writes: > >> Any pointers on how to do this ? >> >> I tried this but no luck to get hooked in: >> >> ``` >> (defadvice org-fix-list-indent >> (around org-list-indent-item-generic) >> "Advise list indention to trigger creation of star instead" >> (message "DO MAGIC!") >> (ad-do-it) >> ) >> ``` >> >> But with this "DO MAGIC!" does not show up. > > The function to advice is `org-shiftmetaleft', not > `org-fix-list-indent'. > > Anyway, you can also add something like the following to > `org-shiftmetaleft-hook': > > (defun my-shiftmetaleft () > (interactive) > (let* ((element (org-element-at-point)) > (list-parent (org-element-lineage element '(item > plain-list) t))) > (when (and list-parent > (= (line-beginning-position) > (org-element-property :post-affiliated element))) > (call-interactively > (if (org-element-lineage list-parent '(item)) ;not at top > level > #'org-outdent-item-tree > #'org-ctrl-c-star)) > t))) Thanks! I did this but still no effect ;/ What am I doing wrong ? ``` (add-hook 'org-shiftmetaleft-hook (lambda () (interactive) (let* ((element (org-element-at-point)) (list-parent (org-element-lineage element '(item plain-list) t))) (when (and list-parent (= (line-beginning-position) (org-element-property :post-affiliated element))) (call-interactively (if (org-element-lineage list-parent '(item)) ;not at top level #'org-outdent-item-tree #'org-ctrl-c-star)) t)))) ``` /max http://about.me/maxandersen --=_MailMate_B01DC650-709D-4C34-ABEA-6563311887B8_= Content-Type: text/html Content-Transfer-Encoding: quoted-printable

On 21 Feb 2017, at 18:35, Nicolas Goaziou wrote:

"= Max Rydahl Andersen" <manderse@redhat.com> writes:

Any pointer= s on how to do this ?

I tried this but no luck to get hooked in:

```
(defadvice org-fix-list-indent
(around org-list-indent-item-generic)
"Advise list indention to trigger creation of star instead"
(message "DO MAGIC!")
(ad-do-it)
)
```

But with this "DO MAGIC!" does not show up.

The function to advice is `org-shiftmetaleft= ', not
`org-fix-list-indent'.

Anyway, you can also add something like the following to
`org-shiftmetaleft-hook':

(defun my-shiftmetaleft ()
(interactive)
(let* ((element (org-element-at-point))
(list-parent (org-element-lineage element '(item plain-list) t= )))
(when (and list-parent
(=3D (line-beginning-position)
(org-element-property :post-affiliated element)))
= (call-interactively
(if (org-element-lineage list-parent '(item)) ;not at top level<= br> #'org-outdent-item-tree
#'org-ctrl-c-star))
t)))

Thanks! I did this but still no effect ;/

What am I doing wrong ?

(add-hook 'org-sh=
iftmetaleft-hook =

      (lambda ()
        (interactive)
        (let* ((element (org-element-at-point))
           (list-parent (org-element-lineage element '(item plain-list) t=
)))
          (when (and list-parent
             (=3D (line-beginning-position)
                (org-element-property :post-affiliated element)))
        (call-interactively
         (if (org-element-lineage list-parent '(item)) ;not at top level
             #'org-outdent-item-tree
           #'org-ctrl-c-star))
        t))))

/max
http://ab= out.me/maxandersen

--=_MailMate_B01DC650-709D-4C34-ABEA-6563311887B8_=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: avoiding "First item of list cannot move without its subtree" Date: Wed, 22 Feb 2017 12:04:09 +0100 Message-ID: <87wpcifpw6.fsf@nicolasgoaziou.fr> References: <2F92B854-9322-45EA-8753-A6CAA3717974@redhat.com> <87h93oygic.fsf@nicolasgoaziou.fr> <87tw7ovvkc.fsf@nicolasgoaziou.fr> <31A5D5FB-7629-4A6A-9727-D419A7D8096D@redhat.com> <87d1ebtpkh.fsf@nicolasgoaziou.fr> <627E7E70-7578-4B73-A6A7-2ABFAD907AFB@redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgUia-0006e1-VJ for emacs-orgmode@gnu.org; Wed, 22 Feb 2017 06:04:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgUiW-0000zD-2Y for emacs-orgmode@gnu.org; Wed, 22 Feb 2017 06:04:20 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:54519) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cgUiV-0000yR-TA for emacs-orgmode@gnu.org; Wed, 22 Feb 2017 06:04:16 -0500 In-Reply-To: <627E7E70-7578-4B73-A6A7-2ABFAD907AFB@redhat.com> (Max Rydahl Andersen's message of "Wed, 22 Feb 2017 08:22:15 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Max Rydahl Andersen Cc: Org-mode Hello, "Max Rydahl Andersen" writes: > What am I doing wrong ? Nothing. There is a typo in my code. > (add-hook 'org-shiftmetaleft-hook > (lambda () > (interactive) > (let* ((element (org-element-at-point)) > (list-parent (org-element-lineage element '(item plain-list) t))) > (when (and list-parent > (= (line-beginning-position) > (org-element-property :post-affiliated element))) -> (org-element-property :post-affiliated list-parent) > (call-interactively > (if (org-element-lineage list-parent '(item)) ;not at top level > #'org-outdent-item-tree > #'org-ctrl-c-star)) > t)))) Regards, -- Nicolas Goaziou 0x80A93738 From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Max Rydahl Andersen" Subject: Re: avoiding "First item of list cannot move without its subtree" Date: Thu, 23 Feb 2017 08:36:35 +0100 Message-ID: <0F884889-BCEB-4CDD-B421-9977106ACB72@redhat.com> References: <2F92B854-9322-45EA-8753-A6CAA3717974@redhat.com> <87h93oygic.fsf@nicolasgoaziou.fr> <87tw7ovvkc.fsf@nicolasgoaziou.fr> <31A5D5FB-7629-4A6A-9727-D419A7D8096D@redhat.com> <87d1ebtpkh.fsf@nicolasgoaziou.fr> <627E7E70-7578-4B73-A6A7-2ABFAD907AFB@redhat.com> <87wpcifpw6.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgnxF-00031a-JW for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 02:36:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgnxB-0003ZI-My for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 02:36:45 -0500 Received: from mail-wr0-f177.google.com ([209.85.128.177]:36674) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cgnxB-0003Z2-GY for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 02:36:41 -0500 Received: by mail-wr0-f177.google.com with SMTP id 89so16280593wrr.3 for ; Wed, 22 Feb 2017 23:36:39 -0800 (PST) In-Reply-To: <87wpcifpw6.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: Org-mode On 22 Feb 2017, at 12:04, Nicolas Goaziou wrote: > Hello, > > "Max Rydahl Andersen" writes: > >> What am I doing wrong ? > > Nothing. There is a typo in my code. Fixed the typo - but still nothing happens :/ /max > >> (add-hook 'org-shiftmetaleft-hook >> (lambda () >> (interactive) >> (let* ((element (org-element-at-point)) >> (list-parent (org-element-lineage element '(item plain-list) t))) >> (when (and list-parent >> (= (line-beginning-position) >> (org-element-property :post-affiliated element))) > > -> (org-element-property :post-affiliated list-parent) > >> (call-interactively >> (if (org-element-lineage list-parent '(item)) ;not at top level >> #'org-outdent-item-tree >> #'org-ctrl-c-star)) >> t)))) > > Regards, > > -- > Nicolas Goaziou 0x80A93738 /max http://about.me/maxandersen From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: avoiding "First item of list cannot move without its subtree" Date: Thu, 23 Feb 2017 12:41:25 +0100 Message-ID: <87efypf82i.fsf@nicolasgoaziou.fr> References: <2F92B854-9322-45EA-8753-A6CAA3717974@redhat.com> <87h93oygic.fsf@nicolasgoaziou.fr> <87tw7ovvkc.fsf@nicolasgoaziou.fr> <31A5D5FB-7629-4A6A-9727-D419A7D8096D@redhat.com> <87d1ebtpkh.fsf@nicolasgoaziou.fr> <627E7E70-7578-4B73-A6A7-2ABFAD907AFB@redhat.com> <87wpcifpw6.fsf@nicolasgoaziou.fr> <0F884889-BCEB-4CDD-B421-9977106ACB72@redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgrm8-0008Ih-Vp for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 06:41:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgrm5-0002C7-2i for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 06:41:33 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:55625) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cgrm4-0002Bu-Sh for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 06:41:28 -0500 In-Reply-To: <0F884889-BCEB-4CDD-B421-9977106ACB72@redhat.com> (Max Rydahl Andersen's message of "Thu, 23 Feb 2017 08:36:35 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Max Rydahl Andersen Cc: Org-mode Hello, "Max Rydahl Andersen" writes: > Fixed the typo - but still nothing happens :/ "Nothing happens" is a bit vague. M-S-Left should demote an item. When it reaches top-level, it should be turned into a headline. What happens instead? Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Max Rydahl Andersen" Subject: Re: avoiding "First item of list cannot move without its subtree" Date: Thu, 23 Feb 2017 13:50:42 +0100 Message-ID: <46BC26A2-1E9D-4A32-AD6E-384EB76A60E5@redhat.com> References: <2F92B854-9322-45EA-8753-A6CAA3717974@redhat.com> <87h93oygic.fsf@nicolasgoaziou.fr> <87tw7ovvkc.fsf@nicolasgoaziou.fr> <31A5D5FB-7629-4A6A-9727-D419A7D8096D@redhat.com> <87d1ebtpkh.fsf@nicolasgoaziou.fr> <627E7E70-7578-4B73-A6A7-2ABFAD907AFB@redhat.com> <87wpcifpw6.fsf@nicolasgoaziou.fr> <0F884889-BCEB-4CDD-B421-9977106ACB72@redhat.com> <87efypf82i.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; markup=markdown Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgsrC-00050z-90 for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 07:50:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgsr9-000379-60 for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 07:50:50 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:36869) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cgsr8-00036k-Vh for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 07:50:47 -0500 Received: by mail-wm0-f54.google.com with SMTP id v77so10164161wmv.0 for ; Thu, 23 Feb 2017 04:50:46 -0800 (PST) In-Reply-To: <87efypf82i.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: Org-mode On 23 Feb 2017, at 12:41, Nicolas Goaziou wrote: > Hello, > > "Max Rydahl Andersen" writes: > >> Fixed the typo - but still nothing happens :/ > > "Nothing happens" is a bit vague. M-S-Left should demote an item. When > it reaches top-level, it should be turned into a headline. What > happens > instead? The same as before, i.e. I observe no difference. Here is a screencast of me trying before and after evaluating buffer with the function in it. https://v.usetapes.com/COVDzfByN0 /max http://about.me/maxandersen From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: avoiding "First item of list cannot move without its subtree" Date: Thu, 23 Feb 2017 14:07:24 +0100 Message-ID: <87poi9dpir.fsf@nicolasgoaziou.fr> References: <2F92B854-9322-45EA-8753-A6CAA3717974@redhat.com> <87h93oygic.fsf@nicolasgoaziou.fr> <87tw7ovvkc.fsf@nicolasgoaziou.fr> <31A5D5FB-7629-4A6A-9727-D419A7D8096D@redhat.com> <87d1ebtpkh.fsf@nicolasgoaziou.fr> <627E7E70-7578-4B73-A6A7-2ABFAD907AFB@redhat.com> <87wpcifpw6.fsf@nicolasgoaziou.fr> <0F884889-BCEB-4CDD-B421-9977106ACB72@redhat.com> <87efypf82i.fsf@nicolasgoaziou.fr> <46BC26A2-1E9D-4A32-AD6E-384EB76A60E5@redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgt7L-00058o-NA for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 08:07:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgt7I-0000eE-II for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 08:07:31 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:48951) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cgt7I-0000dc-Bo for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 08:07:28 -0500 In-Reply-To: <46BC26A2-1E9D-4A32-AD6E-384EB76A60E5@redhat.com> (Max Rydahl Andersen's message of "Thu, 23 Feb 2017 13:50:42 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Max Rydahl Andersen Cc: Org-mode Hello, "Max Rydahl Andersen" writes: > Here is a screencast of me trying before and after evaluating buffer > with the function in it. > > https://v.usetapes.com/COVDzfByN0 Odd. I definitely see TRT in my case. What is the value of `org-shiftmetaleft-hook' ? Could you try in a minimal environment to check if nothing interferes with the function (e.g., `org-autolist')? If that fails, could you debug `my-shiftmetaleft' and see if it is called at all? Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Max Rydahl Andersen" Subject: Re: avoiding "First item of list cannot move without its subtree" Date: Tue, 28 Feb 2017 12:31:44 +0100 Message-ID: References: <2F92B854-9322-45EA-8753-A6CAA3717974@redhat.com> <87h93oygic.fsf@nicolasgoaziou.fr> <87tw7ovvkc.fsf@nicolasgoaziou.fr> <31A5D5FB-7629-4A6A-9727-D419A7D8096D@redhat.com> <87d1ebtpkh.fsf@nicolasgoaziou.fr> <627E7E70-7578-4B73-A6A7-2ABFAD907AFB@redhat.com> <87wpcifpw6.fsf@nicolasgoaziou.fr> <0F884889-BCEB-4CDD-B421-9977106ACB72@redhat.com> <87efypf82i.fsf@nicolasgoaziou.fr> <46BC26A2-1E9D-4A32-AD6E-384EB76A60E5@redhat.com> <87poi9dpir.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cig0X-0007oE-4d for emacs-orgmode@gnu.org; Tue, 28 Feb 2017 06:31:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cig0U-0002Uo-2Z for emacs-orgmode@gnu.org; Tue, 28 Feb 2017 06:31:53 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:38623) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cig0T-0002UR-SI for emacs-orgmode@gnu.org; Tue, 28 Feb 2017 06:31:50 -0500 Received: by mail-wm0-f47.google.com with SMTP id u199so9270757wmd.1 for ; Tue, 28 Feb 2017 03:31:49 -0800 (PST) In-Reply-To: <87poi9dpir.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: Org-mode On 23 Feb 2017, at 14:07, Nicolas Goaziou wrote: > Hello, > > "Max Rydahl Andersen" writes: > >> Here is a screencast of me trying before and after evaluating buffer >> with the function in it. >> >> https://v.usetapes.com/COVDzfByN0 > > Odd. I definitely see TRT in my case. > > What is the value of `org-shiftmetaleft-hook' ? Could you try in > a minimal environment to check if nothing interferes with the function > (e.g., `org-autolist')? > > If that fails, could you debug `my-shiftmetaleft' and see if it is > called at all? Gah - my brain was wired wrong. I tried to use meta-left, not shift-meta-left. Now it is working - thanks :) /max http://about.me/maxandersen