From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith M Swartz Subject: Re: Question about todo subheadings and logbook Date: Fri, 4 Sep 2015 15:51:05 -0700 Message-ID: References: <87k2s6koeg.fsf@nicolasgoaziou.fr> <877fo6km9v.fsf@nicolasgoaziou.fr> <8737ytlsmv.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c342bc4238f7051ef3bd87 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXzpQ-0001cA-0m for Emacs-orgmode@gnu.org; Fri, 04 Sep 2015 18:51:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXzpO-0005AH-DL for Emacs-orgmode@gnu.org; Fri, 04 Sep 2015 18:51:27 -0400 Received: from mail-la0-x234.google.com ([2a00:1450:4010:c03::234]:35276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXzpN-00059v-MQ for Emacs-orgmode@gnu.org; Fri, 04 Sep 2015 18:51:26 -0400 Received: by lagj9 with SMTP id j9so22417118lag.2 for ; Fri, 04 Sep 2015 15:51:24 -0700 (PDT) In-Reply-To: <8737ytlsmv.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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Keith M Swartz , Emacs-orgmode@gnu.org --001a11c342bc4238f7051ef3bd87 Content-Type: text/plain; charset=UTF-8 I think there's some misunderstanding here regarding my initial question. I do NOT want the subheading to go between the first one and the logbook. When I hit Ctrl-Enter at the end of the line, that's where it goes. I didn't choose to do that, and I would like it not to. To get what I want now, I have to collapse the drawer and go to the end of the line (past the "..." denoting the drawer) before adding a subheading. That's unnecessary work that I shouldn't have to do. I want the behavior to be such that after I type in the todo text, hit C-c C-t (to label it as a todo), and hit ctrl-enter -- right there, without moving the cursor again -- it should create a subheading BELOW the drawer. When you created your test case, where did you position the cursor before creating a subheading? Did you move the cursor between C-c C-t and Ctrl-Enter? If so, I think that shouldn't be necessary, but right or wrong, I'm trying to modify the behavior so I don't have to do that. If you didn't move the cursor, then can you suggest why my org-mode is behaving that way? I tried with a vanilla install (no custom settings at all) and got the same thing. Keith On Fri, Sep 4, 2015 at 3:35 PM, Nicolas Goaziou wrote: > Keith M Swartz writes: > > > Step-by-step -- after step 1 [note: the logbook is collapsed initially, > but > > I expanded it here to show the contents. Expanding the logbook before > > creating a sub-item may alter the results; I haven't tried that.] > > > > * TODO First item > > :LOGBOOK: > > - State "TODO" from [2015-09-04 Fri 13:25] > > :END: > > > > after step 2: > > > > * TODO First item > > *** TODO Second item > > :LOGBOOK: > > - State "TODO" from [2015-09-04 Fri 13:26] > > - State "TODO" from [2015-09-04 Fri 13:25] > > :END: > > So you insert sub-heading between the first one and its logbook. Well, > this is to be expected. I don't see why Org should prevent you to do > that. > > You may use, e.g., C-RET to insert new heading past contents of the > first one. > > Regards, > -- Keith M Swartz oneroadkms@gmail.com --001a11c342bc4238f7051ef3bd87 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I think there's some misunderstanding h= ere regarding my initial question.

I do NOT want the subheading to g= o between the first one and the logbook. When I hit Ctrl-Enter at the end o= f the line, that's where it goes. I didn't choose to do that, and I= would like it not to. To get what I want now, I have to collapse the drawe= r and go to the end of the line (past the "..." denoting the draw= er) before adding a subheading. That's unnecessary work that I shouldn&= #39;t have to do.

I want the behavior to be such that af= ter I type in the todo text, hit C-c C-t (to label it as a todo), and hit c= trl-enter -- right there, without moving the cursor again -- it should crea= te a subheading BELOW the drawer.

When you created your t= est case, where did you position the cursor before creating a subheading? D= id you move the cursor between C-c C-t and Ctrl-Enter? If so, I think that = shouldn't be necessary, but right or wrong, I'm trying to modify th= e behavior so I don't have to do that. If you didn't move the curso= r, then can you suggest why my org-mode is behaving that way? I tried with = a vanilla install (no custom settings at all) and got the same thing.

Keith

On Fri, Sep 4, 2015 at 3:35 PM, Nicolas Goaziou <ma= il@nicolasgoaziou.fr> wrote:
oneroadkms@gma= il.com> writes:

> Step-by-step -- after step 1 [note: the logbook is collapsed initially= , but
> I expanded it here to show the contents. Expanding the logbook before<= br> > creating a sub-item may alter the results; I haven't tried that.]<= br> >
> * TODO First item
> :LOGBOOK:
> - State "TODO"=C2=A0 =C2=A0 =C2=A0 =C2=A0from=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [2015-09-04 Fri 13:25]
> :END:
>
> after step 2:
>
> * TODO First item
> *** TODO Second item
> :LOGBOOK:
> - State "TODO"=C2=A0 =C2=A0 =C2=A0 =C2=A0from=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [2015-09-04 Fri 13:26]
> - State "TODO"=C2=A0 =C2=A0 =C2=A0 =C2=A0from=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [2015-09-04 Fri 13:25]
> :END:

So you insert sub-heading between the first one and its logbook. Well,
this is to be expected. I don't see why Org should prevent you to do that.

You may use, e.g., C-RET to insert new heading past contents of the
first one.

Regards,



--

Keith M Swartz
oneroadkms@gmail.com

--001a11c342bc4238f7051ef3bd87--