emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Julien Cubizolles <j.cubizolles@free.fr>
To: emacs-orgmode@gnu.org
Subject: Re: command to skip the :PROPERTIES: drawer
Date: Wed, 06 Jan 2016 00:25:08 +0100	[thread overview]
Message-ID: <8737ub8v8r.fsf@free.fr> (raw)
In-Reply-To: 87poxf7hsp.fsf@nicolasgoaziou.fr

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Julien Cubizolles <j.cubizolles@free.fr> writes:
>
>> Let's say you have an entry like the followin, with the point in the
>> Entry line. Is there an org command to put the mark on a newline after
>> :END: ? At the moment, I have too many C-n to type for my taste :-)
>>
>> *** Entry                                                   :B_action:
>> :PROPERTIES:
>> :BEAMER_env: action
>> :BEAMER_COL: 0.6
>> :END:
>
> See `org-end-of-meta-data'.

Thanks, the following works.

#+begin_src emacs-lisp
(define-key org-mode-map "\C-ct" (lambda () (interactive) (org-end-of-meta-data)))
#+end_src

I'm curious as to why this isn't an interactive function. My workflow is
usually

1. create an entry by C-return and eventually M-right or M-left
2. add the required properties
3. type the text in the entry

Without org-end-of-meta-data, going fro 2m to 3 is not straightforward.

Julien.

      reply	other threads:[~2016-01-05 23:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-05 22:57 command to skip the :PROPERTIES: drawer Julien Cubizolles
2016-01-05 23:00 ` Nicolas Goaziou
2016-01-05 23:25   ` Julien Cubizolles [this message]

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=8737ub8v8r.fsf@free.fr \
    --to=j.cubizolles@free.fr \
    --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).