emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-refile and Archive headings


From: Nicolas Goaziou
Subject: Re: [O] org-refile and Archive headings
Date: Tue, 17 Oct 2017 09:51:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hello,

Allen Li <address@hidden> writes:

> The current default behavior for org-refile and org-reverse-note-order
> does not treat Archive headings specially.  Consider a .org file:
>
> * Some projects
> ** Some item...
> ** Archive :ARCHIVE:...
>
> Refiling an entry to "Some projects" results in:
>
> * Some projects
> ** Some item...
> ** Archive :ARCHIVE:...
> ** New entry...
>
> Would it be desirable to instead append before the Archive heading?
>
> * Some projects
> ** Some item...
> ** New entry...
> ** Archive :ARCHIVE:...
>
> This could be configurable using a magic value for
> org-reverse-note-order.

AFAIK, there is no special location in the file for archived subtrees,
i.e., there is nothing wrong with

  * Some projects
  ** Some item...
  ** Archive :ARCHIVE:...
  ** New entry...

I guess you could use `org-after-refile-insert-hook' for that special
need.

Regards,

-- 
Nicolas Goaziou



reply via email to

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