emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Keith M Swartz <oneroadkms@gmail.com>
To: Keith M Swartz <oneroadkms@gmail.com>, Emacs-orgmode@gnu.org
Subject: Re: Question about todo subheadings and logbook
Date: Fri, 4 Sep 2015 15:51:05 -0700	[thread overview]
Message-ID: <CAK6GsA0ZXLw8XuNyt395soSQRPAet3bum6EOzrFNu6ZSdtdf_Q@mail.gmail.com> (raw)
In-Reply-To: <8737ytlsmv.fsf@nicolasgoaziou.fr>

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

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 <mail@nicolasgoaziou.fr>
wrote:

> Keith M Swartz <oneroadkms@gmail.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
> > 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

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

  reply	other threads:[~2015-09-04 22:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-04  6:29 Question about todo subheadings and logbook Keith M Swartz
2015-09-04 18:52 ` Nicolas Goaziou
2015-09-04 19:22   ` Keith M Swartz
2015-09-04 19:38     ` Nicolas Goaziou
2015-09-04 20:26       ` Keith M Swartz
2015-09-04 22:35         ` Nicolas Goaziou
2015-09-04 22:51           ` Keith M Swartz [this message]
2015-09-05  8:39             ` Nicolas Goaziou
2015-09-05 18:26               ` Keith M Swartz

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=CAK6GsA0ZXLw8XuNyt395soSQRPAet3bum6EOzrFNu6ZSdtdf_Q@mail.gmail.com \
    --to=oneroadkms@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).