From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Is it possible for the archive file to mirror the structure of the original file? Date: Sun, 17 Jun 2018 08:16:03 +0200 Message-ID: <87zhzuey58.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUR0S-0005Ky-3R for emacs-orgmode@gnu.org; Sun, 17 Jun 2018 02:17:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUR0O-000506-VQ for emacs-orgmode@gnu.org; Sun, 17 Jun 2018 02:17:44 -0400 Received: from mail.mojserwer.eu ([195.110.48.8]:51304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUR0O-0004zc-O0 for emacs-orgmode@gnu.org; Sun, 17 Jun 2018 02:17:40 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 91A33E6884 for ; Sun, 17 Jun 2018 08:17:39 +0200 (CEST) Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YZxLQ439P8Lo for ; Sun, 17 Jun 2018 08:17:36 +0200 (CEST) Received: from localhost (static-dwadziewiec-jedenpiec7.echostar.pl [109.232.29.157]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 645CCE680E for ; Sun, 17 Jun 2018 08:17:36 +0200 (CEST) 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: Org-Mode mailing list Hi all, I'd like, when archiving e.g. the "Whatever" headline in this example: * A header ** A subheader *** Whatever to automatically create a similar structure (i.e., "A header", "A subheader" and "Whatever" as headlines of levels 1, 2, 3 respectively) in the archive file. Is that possible? The docstring of org-archive-location suggests not. I could set up the ARCHIVE property for various headlines individually, but I'm more interested in an automated solution. TIA, -- Marcin Borkowski http://mbork.pl