Hello,

Allen Li <vianchielfa...@gmail.com> 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