emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* command to skip the :PROPERTIES: drawer
@ 2016-01-05 22:57 Julien Cubizolles
  2016-01-05 23:00 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Julien Cubizolles @ 2016-01-05 22:57 UTC (permalink / raw)
  To: emacs-orgmode


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 :-)

--8<---------------cut here---------------start------------->8---
*** Entry                                                   :B_action:
:PROPERTIES:
:BEAMER_env: action
:BEAMER_COL: 0.6
:END:
--8<---------------cut here---------------end--------------->8---

Julien.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: command to skip the :PROPERTIES: drawer
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2016-01-05 23:00 UTC (permalink / raw)
  To: Julien Cubizolles; +Cc: emacs-orgmode

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'.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: command to skip the :PROPERTIES: drawer
  2016-01-05 23:00 ` Nicolas Goaziou
@ 2016-01-05 23:25   ` Julien Cubizolles
  0 siblings, 0 replies; 3+ messages in thread
From: Julien Cubizolles @ 2016-01-05 23:25 UTC (permalink / raw)
  To: emacs-orgmode

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-05 23:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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).