[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-insert-heading rewritten from scratch

From: Nicolas Goaziou
Subject: Re: [O] org-insert-heading rewritten from scratch
Date: Mon, 09 Sep 2013 21:10:52 +0200


Michael Brand <address@hidden> writes:

> About the following different issue I don't care as much and only
> wanted to report: C-RET before any headline when within a drawer, or
> generally before any headline(?), could bark instead of changing to a
> headline leading to invalid Org syntax within a drawer.

I don't think it should bark, but it should insert the headline after
the drawer, i.e. just before the first headline, if there's one at all,
or at the end of the buffer.

> From 9896499fb7f497a13857b5b86f33cfbf1b918029 Mon Sep 17 00:00:00 2001
> From: Michael Brand <address@hidden>
> Date: Mon, 9 Sep 2013 18:40:07 +0200
> Subject: [PATCH 2/2] org-meta-return: Insert an item also in a drawer
> * lisp/org.el (org-meta-return): Exclude item from cond for drawer.
> * testing/lisp/test-org-list.el (test-org-list/meta-return): On an
> item in a drawer expect an item to be inserted.

FWIW, I think the test belongs to test-org.el, not to test-org-list.el.


Nicolas Goaziou

reply via email to

[Prev in Thread] Current Thread [Next in Thread]