From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp2.migadu.com ([2001:41d0:403:4876::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms1.migadu.com with LMTPS
	id GP8LMk7mTGZldwAAe85BDQ:P1
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 21 May 2024 20:22:07 +0200
Received: from aspmx1.migadu.com ([2001:41d0:403:4876::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2.migadu.com with LMTPS
	id GP8LMk7mTGZldwAAe85BDQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 21 May 2024 20:22:06 +0200
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=none;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org";
	dmarc=pass (policy=none) header.from=gnu.org
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1716315726;
	h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post; bh=ZNxok4K3je0GskZkDNmYOC966x/2PYZ35jb0fxKl3+g=;
	b=AUd4Vh3QoxUt5OQOVh/p0CAoRK/krvth2eZkg0Xl5Pb8iZ2rDVoQm35+n7DIYRbFjxSd5N
	i2d0vz8sM8p/NyUe8549uizdE0zsfk9h1Es+i1D4Xjn+cy9e+nw9AN2sS/OnsPUOQjxXe1
	s/ri1TeIgerPbksy5z00ZbImNno+AGcLwnh3ff9wuvvveKwyCSCfJDwROVFAwmELaoZBUT
	M9LppZiVdQAMt6wQIy6w0v+GpS6pWgaCQw4+qOKzOVFouNqxJxYKdAb9gbIL2zpRt7gvhG
	hQtzpegOEn5H2eBYtvWy+yIU/agu1ft/yInYu/p1i4BVWKHmCqAgUwJjSzCG/Q==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=none;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org";
	dmarc=pass (policy=none) header.from=gnu.org
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716315726; a=rsa-sha256; cv=none;
	b=XC67Hm3D9HnAeR7fKkeeS96q+xkSUzdEXv1cMQEpmghxm+oLJ3yFLX0Ob3J4Tw0Tw2+rJP
	2iHJ0hKudQA+SPOK4oKptFvD0VkvefLut2zTWt7UkxZ7tIEyf5iq7qSaNHg7cTvIjcCxLN
	yYIHOpKAsZKVEZNsxiW50iK3/sdEetjSCY7Rs5elaKEMpbIQd3k4YlvXiRUYJMYB+QXagI
	nAX2TCWa6PL1NTum4dYF0wc07JgisMmjO2lu+BBpqtX57jy1YKg08wtuWOh+r2812htw/K
	c8niaO6iM7XrZM0j6219vmjYPzPd4px9/ZpwNClnPNJlxLap9Bzabc0jtCwPzw==
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 7F31D7ADD9
	for <larch@yhetil.org>; Tue, 21 May 2024 20:22:06 +0200 (CEST)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces@gnu.org>)
	id 1s9U6c-0000bw-Da; Tue, 21 May 2024 14:20:58 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <tyx+org@sula.io>) id 1s9U6a-0000av-2E
 for emacs-orgmode@gnu.org; Tue, 21 May 2024 14:20:56 -0400
Received: from 62-210-209-184.rev.poneytelecom.eu ([62.210.209.184]
 helo=sula.io)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <tyx+org@sula.io>) id 1s9U6U-000237-Gw
 for emacs-orgmode@gnu.org; Tue, 21 May 2024 14:20:52 -0400
Received: from localhost (anancy-653-1-9-249.w92-138.abo.wanadoo.fr
 [92.138.227.249]) by sula.io (Postfix) with ESMTPSA id 08A415D41739;
 Tue, 21 May 2024 20:20:46 +0200 (CEST)
References: <IA1P223MB049960F0E4D69A8BB8EB58C4FAE82@IA1P223MB0499.NAMP223.PROD.OUTLOOK.COM>
User-agent: mu4e 1.10.8; emacs 29.3
To: Naresh Gurbuxani <naresh_gurbuxani@hotmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Archive done tasks and preserve tree structure
Date: Tue, 21 May 2024 20:13:12 +0200
In-reply-to: <IA1P223MB049960F0E4D69A8BB8EB58C4FAE82@IA1P223MB0499.NAMP223.PROD.OUTLOOK.COM>
Message-ID: <m2h6ergh6q.fsf@kyon.home>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=62.210.209.184; envelope-from=tyx+org@sula.io;
 helo=sula.io
X-Spam_score_int: -8
X-Spam_score: -0.9
X-Spam_bar: /
X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, RDNS_DYNAMIC=0.982,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
 TVD_RCVD_IP=0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-orgmode@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Reply-to:  Joris Caravati <tyx+org@sula.io>
From:  Joris Caravati via "General discussions about Org-mode." <emacs-orgmode@gnu.org>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
X-Migadu-Country: US
X-Migadu-Flow: FLOW_IN
X-Spam-Score: -5.09
X-Migadu-Queue-Id: 7F31D7ADD9
X-Migadu-Scanner: mx10.migadu.com
X-Migadu-Spam-Score: -5.09
X-TUID: y3jbwvCKXM6I


Naresh Gurbuxani <naresh_gurbuxani@hotmail.com> writes:

> How can I get the archiving done to preserve tree structure of tasks?

I've been using the solution in this gist comment for a while without
issue:

https://gist.github.com/Fuco1/e86fb5e0a5bb71ceafccedb5ca22fcfb?permalink_comment_id=3006243#gistcomment-3006243