all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Jones <mlists@pmade.com>
To: emacs-orgmode@gnu.org
Subject: Jump to Heading Body, Create Plain List Item
Date: Fri, 20 Feb 2009 09:24:58 -0700	[thread overview]
Message-ID: <86k57l2i05.fsf@pmade.com> (raw)

I've been reading through the code, and I don't think this is possible
yet, but I wanted to double check before I wrote something.

I'd like a function that would do the following:

 1) Move to the "body" of a heading (skipping drawers and the like)

 2) Create the "body" if necessary (when there are no lines between
    sibling headings or between drawers and a sibling heading)

 3) Append a new plain list item (or create a new plain list if there
    wasn't one there already)


I find myself doing this many times during the day:

 1) Create a new heading, and clock in

 2) Move point past the clock drawer

 3) Create a blank line under the drawer

 4) Create a list item

It would be super cool if I could just hit a key on a heading, and it
would append a new plain list item and move point there.  I would
probably bind M-RET to this function, since I use C-RET to create new
headings.

Does this exist?  I'll write it otherwise.

-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US

             reply	other threads:[~2009-02-20 16:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-20 16:24 Peter Jones [this message]
2009-02-21 21:51 ` Jump to Heading Body, Create Plain List Item Peter Jones
2009-02-22  4:29   ` Peter Jones

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86k57l2i05.fsf@pmade.com \
    --to=mlists@pmade.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.