emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Allen Li <vianchielfaura@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-refile and Archive headings
Date: Mon, 16 Oct 2017 11:43:51 -0700	[thread overview]
Message-ID: <CAJr1M6fO5R8c1hRZGJAOg4Q3i11v1ywQ_fedvmHKtX5xQnY1hQ@mail.gmail.com> (raw)

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.

             reply	other threads:[~2017-10-16 18:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-16 18:43 Allen Li [this message]
2017-10-17  7:51 ` org-refile and Archive headings Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJr1M6fO5R8c1hRZGJAOg4Q3i11v1ywQ_fedvmHKtX5xQnY1hQ@mail.gmail.com \
    --to=vianchielfaura@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).