Karthik Chikmagalur <karthikchikmaga...@gmail.com> writes:

> So for the record, this is the current state of things:
>
> | Action  | How to reverse filing order          |
> |---------+--------------------------------------|
> | Refile  | org-reverse-note-order               |
> | Capture | :prepend key in org-capture template |

For capture, it is not :prepend in org-capture template.
It is _only_ used when converting from `org-remember-templates' (long
removed) to `org-capture-templates'. It does not affect capture in any
way whatsoever.

> | Note    | org-log-states-order-reversed        |
> | Archive | ???                                  |

`org-archive-reversed-order'

> You can see the confusion here: `org-reverse-note-order' does not apply
> to `org-add-note', and there is no consistency in the configuration for
> reversing various filings.  I don't know how to reverse the filing order
> for archiving (assuming you don't use datetree archiving.)

`org-reverse-note-order' has a confusing name - it really apples to
refiling (de-facto).

Otherwise, things are roughly consistent, except that capture uses
per-template :prepend property rather than global setting.

> I think we can leave these methods untouched for compatibility but
> introduce some consistent aliases?
>
> | Action  | How to reverse filing order   |
> |---------+-------------------------------|
> | Refile  | Introduce org-refile-prepend  |
> | Capture | Introduce org-capture-prepend |
> | Note    | Introduce org-note-prepend    |
> | Archive | ???                           |
>
> Any consistent set of names should be fine, so perhaps
> `org-refile-order', or `org-refile-reverse', and so on.
> `org-capture-prepend' would be new functionality since there is no way
> to reverse the default capturing order as far as I know.

Sounds reasonable.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to