From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KPVIA62namLM8wAAbAwnHQ (envelope-from ) for ; Thu, 28 Apr 2022 16:41:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wB43A62namJzFwAA9RJhRA (envelope-from ) for ; Thu, 28 Apr 2022 16:41:49 +0200 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 A1CB33135B for ; Thu, 28 Apr 2022 16:41:48 +0200 (CEST) Received: from localhost ([::1]:35690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nk5L1-0004x8-JG for larch@yhetil.org; Thu, 28 Apr 2022 10:41:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nk5JJ-0004wb-Hh for emacs-orgmode@gnu.org; Thu, 28 Apr 2022 10:40:01 -0400 Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]:44030) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nk5JF-0005zE-1i for emacs-orgmode@gnu.org; Thu, 28 Apr 2022 10:40:01 -0400 Received: by mail-qv1-xf34.google.com with SMTP id r8so3331480qvx.10 for ; Thu, 28 Apr 2022 07:39:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=Yx8T8fw8J5iP7fnVdvBR7joTn97XDOO5yTEuMdUX4co=; b=Mt1i+g5vqdyWVTtyEDiebnnDz52WZI3DXTPY4vfTJS1/p8X+6CUr76oe5MnFX9e+ZQ trnePmHi7kyQHx47XVVHTu4k2jM5BAa6TR5xxFNPOoRHuSWu48ylFXoj0ofOPpZqTwsh wqfx8v40pFpxP0R+LWBno5tIbJKxgWKjvahJRx9Og0rXWeq8hcUrrTgk9eZ7OLGVV2J5 IaCJBG5pHSEINODoROvb+u4k6NtWaubzqnoPq334Tcm8Y76ImlL5hwxtqzdaDtOO0Cgb 16yZh4nVYNWYvHUxB/39mmnTTjn7LgWpHgiL/HD+WQ+0V5gEh5wFVEuiiIijhYxzSli0 S6PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=Yx8T8fw8J5iP7fnVdvBR7joTn97XDOO5yTEuMdUX4co=; b=sv2ZEYEuJBmWWDECp1zvJQew1aYlZXkPExZ8p4JT8Z01stLOl7kL3pjs3rkN+UeYtb Lgn6sg40B+q4ObaZrzm4KJjTgapxDFgPPaM4oQCd/ec6wiBOFM5e4lP12tJoVdHFMrpU 91A31wZDjz9EzMZBC3M+tKFYbKXEIkg14C0NhKDGrKRA3wPsklvnTbiivbAEID2FsZya YNFkAkinZe4mu5Z2AIsK0tRPrVVjgOIMhm1wojHCdvk3yYMWKSdCheZTiU+/THfWHJFn KD4A+Md+YRYC5DqaTP9yj2c1LdkPz/auiUGnRUBIDQ95+PmcbY0RrNlWJzmw++FCTvCz tUdA== X-Gm-Message-State: AOAM530cUtd4TdMxH7uDabFRMWgX/51fhiPIgFJ3Q4A8SwdPHfe0bW4D Qbr9A2gVUv/5p3ud9ehb1I4= X-Google-Smtp-Source: ABdhPJy3oTfh9EKX6wT6lzz8ZZ2OttQPF7z5XuuZ15SK1GbD/j9hnUuC2ntr0TBr9h4rAcQMdSuP6g== X-Received: by 2002:a05:6214:2681:b0:456:347b:6f10 with SMTP id gm1-20020a056214268100b00456347b6f10mr16355425qvb.82.1651156795597; Thu, 28 Apr 2022 07:39:55 -0700 (PDT) Received: from localhost ([66.150.196.58]) by smtp.gmail.com with ESMTPSA id m72-20020a37a34b000000b0069f99880250sm64189qke.34.2022.04.28.07.39.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Apr 2022 07:39:54 -0700 (PDT) From: Ihor Radchenko To: Eros Zaupa Subject: Re: [BUG] org-mode #+SETUPFILE not working with properties [9.5.2 (release_9.5.2-378-g98588e @ /home/eros/src/org-mode/lisp/)] In-Reply-To: References: Date: Thu, 28 Apr 2022 22:40:44 +0800 Message-ID: <87wnf96zkj.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f34; envelope-from=yantar92@gmail.com; helo=mail-qv1-xf34.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651156908; h=from:from:sender:sender: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:dkim-signature; bh=Yx8T8fw8J5iP7fnVdvBR7joTn97XDOO5yTEuMdUX4co=; b=bQsQJTumhRxTZjfArrV3WRSNPJcd8EKsJPi0qy6J2AOXs/vqPaDTJVEdSlVU5pUSbTDFUy rnqhvGFtni548UY7aFX/7/sMtk7rmK2b77elDcccDd2tvv4xrFGmqIR+qmmR6YNSADSceq ytbxOZ/vohpJL6c9/9MeDmkRJk15thGOeTCw/BVzQKveWi63m1as4Sai/kC1d18LABfNGE JrbCDI4t4QH2wUU5jPFasM1BXzuuPC3Ocsg2+QUs7oWAoVk+NrOMa+SkifuxYSSBY5kLuT yHWtvSCQNz/akqWUDqip2leNc3OE/j3RVxTlDQs0+4/euRC2J6dCHMNxZr2l5g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651156908; a=rsa-sha256; cv=none; b=a1Y9o+zm0wEGmQn9gBKAolr3qfaWvsy31n7CMZEYqQ/AOd7KkITnyiSGZ8UYL3U3cWhqfd cF8H9S7yrPQ4m4V054Dm8LM6jCVDQ599Qk/j5wpMpBORKvnAZw57/rSv8xPlWguMlNUmFV A1iKywTIB2YaSye/5e/omYrGbp2te8wRYi4cDqvF1w/3d14bJDQYp0r6YLfEKRwJPZVL57 +islfhhMzMmTA2J14mimGsjQ99+aU3d9T/D8Yxtdvdftd7h0k281iE1X2ZRFdy/WCm7+kO zPqBB3z/1lz3hTUSp+vqRNYvbu+PVJ9lSu9B5H7gtkiz5s1lt/6jLwfYj7yMEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Mt1i+g5v; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -3.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Mt1i+g5v; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: A1CB33135B X-Spam-Score: -3.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: yQIkOmkAD2PJ Eros Zaupa writes: > I would like to move the properties drawer to a separate file and import it > into the main one. To do so I'm using the `#SETUPFILE` property suggested > [here][1], but this doesn't seem to work. Confirmed. Though I am not 100% sure. Org is indeed ignoring top-level property drawer when parsing #+SETUPFILE. Dear All, I think that parsing top-level property drawer is simply an omission from the time we introduced top-level property drawers into syntax. We may either implement this support or leave things as is and document the current behaviour. I would be in favour of implementing top-level drawer support in SETUPFILE, but there might be alternative opinions. WDYT? Dear Eros Zaupa, > ***main.org*** > > #+SETUPFILE: test.org > > #+begin_src sh > echo ${A} > #+end_src > > #+RESULTS: > > ***test.org*** > > :PROPERTIES: > :header-args:sh: :var A="this is a" > :END: To work around your issue, you can use keyword property syntax: ***test.org*** #+PROPERTY: header-args:sh :var A="this is a" Best, Ihor