From mboxrd@z Thu Jan 1 00:00:00 1970 From: Allen Li Subject: org-refile and Archive headings Date: Mon, 16 Oct 2017 11:43:51 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4AMj-0000ys-HJ for emacs-orgmode@gnu.org; Mon, 16 Oct 2017 14:43:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4AMi-0001oJ-Qg for emacs-orgmode@gnu.org; Mon, 16 Oct 2017 14:43:53 -0400 Received: from mail-qt0-x22c.google.com ([2607:f8b0:400d:c0d::22c]:50714) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4AMi-0001nm-Kx for emacs-orgmode@gnu.org; Mon, 16 Oct 2017 14:43:52 -0400 Received: by mail-qt0-x22c.google.com with SMTP id f15so33781070qtf.7 for ; Mon, 16 Oct 2017 11:43:52 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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.