From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Archiving to a subtree Date: Sun, 17 Mar 2019 09:23:36 -0700 Message-ID: <87bm29bhbr.fsf@geus3064linuxwsm.geus.dk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:46736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5Yoj-0002s9-SU for emacs-orgmode@gnu.org; Sun, 17 Mar 2019 12:39:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5YZi-0008CQ-Fi for emacs-orgmode@gnu.org; Sun, 17 Mar 2019 12:23:51 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]:37605) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h5YZh-0008Ay-JA for emacs-orgmode@gnu.org; Sun, 17 Mar 2019 12:23:50 -0400 Received: by mail-pf1-x430.google.com with SMTP id 8so6180317pfr.4 for ; Sun, 17 Mar 2019 09:23:47 -0700 (PDT) Received: from geus3064linuxwsm (161.11.27.136.in-addr.arpa. [136.27.11.161]) by smtp.gmail.com with ESMTPSA id f9sm6791216pfd.10.2019.03.17.09.23.44 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Mar 2019 09:23:44 -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" Hello list, I used to archive items to a subtree (in an archive file) using some functions provided on this list back in 2014 [1]. I recently updated Org and this code stopped working because the 'org-extract-archive-file' function has been removed. This was commit 9d603b1854f658202024807c17ffc1fd47a3cd74 Does anyone have a replacement function that archives sub-items to sub-trees? I'm looking for behavior that will take **bar: file.org: * Foo ** Bar And archive it to **bar under *foo like this: archive/file.org_archive * Foo ** Bar I don't see any mention of this in the NEWS.org. Thanks, -k. [1] https://lists.gnu.org/archive/html/emacs-orgmode/2014-08/msg00109.html