From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id PlTUAbUNOGClTAAA0tVLHw (envelope-from ) for ; Thu, 25 Feb 2021 20:51:01 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MM2/OLQNOGDPCwAAB5/wlQ (envelope-from ) for ; Thu, 25 Feb 2021 20:51:00 +0000 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 aspmx2.migadu.com (Postfix) with ESMTPS id 5B1D41AD2B for ; Thu, 25 Feb 2021 21:51:00 +0100 (CET) Received: from localhost ([::1]:54516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFNb9-00013M-7f for larch@yhetil.org; Thu, 25 Feb 2021 15:50:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFNaE-00010e-Qs for emacs-orgmode@gnu.org; Thu, 25 Feb 2021 15:50:04 -0500 Received: from mail.xgm.de ([45.83.105.139]:33922) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFNaB-0006tY-Jc for emacs-orgmode@gnu.org; Thu, 25 Feb 2021 15:50:01 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id A18BD1809CA for ; Thu, 25 Feb 2021 21:49:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xgm.de; s=dkim; t=1614286196; h=from:subject:date:message-id:to:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=QA1izwmugMIZ3Ar2e6Uf+XXUcQslqufzq35akvE6hmA=; b=sm656IMFEtl4J16OVvFG2KXPiAP9d1+Cv1B9OhK8ozPnaxjtbMjAIN0T0M1VGi2L3wlEvF kn6fz4gAM+xVXnpgB6AcrmUR2S6RXWQh/qxLZS9NBXru3GNa5FCZzk2IXIowqco4I88Qor 6gr4mO2XpKZernS7gIMY5/0hILn9uzmuwuIpdy6v1hEFUQM154tLNanvXX4A1XU4LlPLEn I5RJZGczBAJJZT+G5i70D6RJWW27ThPcEaEDCIBKGvlw0R1VcdZ7nMplKQU52DHu19W/uE eXDTBZFKTKYd+Z/lFnzR9zJfPR1j0SbNhPgIQun7L2uCbP+ePocS6I18nEXz4g== Subject: Re: Set archive location relative to property To: emacs-orgmode@gnu.org References: From: Florian Lindner Message-ID: <625dca10-6958-afdc-8584-94cb881c2c3a@xgm.de> Date: Thu, 25 Feb 2021 21:49:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 Received-SPF: pass client-ip=45.83.105.139; envelope-from=mailinglists@xgm.de; helo=mail.xgm.de X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.435, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.07 Authentication-Results: aspmx2.migadu.com; dkim=pass header.d=xgm.de header.s=dkim header.b=sm656IMF; dmarc=pass (policy=none) header.from=xgm.de; spf=pass (aspmx2.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 5B1D41AD2B X-Spam-Score: -3.07 X-Migadu-Scanner: scn1.migadu.com X-TUID: bSW1NH6Aw16P Am 25.02.21 um 21:22 schrieb Florian Lindner: > is this possible with org-mode? Given a tree: > > * Name > :PROPERTIES: > :ARCHIVE:  ??? > :END: > ** Archive    :ARCHIVE: > ** Some node > > Upon archiving "Some node" (or any direct or indirect sub-node of > Projectname) I want to end it up under "** Archive". The archive > location should always be relative to the node where the property > ARCHIVE is set. > > The documentation org-archive-location does not suggest that is possible. An alternative idea would be a setting for the ARCHIVE property that searches the tree upward until it finds a node with an :ARCHIVE: tag and use that as archive location. Maybe indicated by a setting of "::%a". What do you think?