From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GBh3HEcqcGJkzQAAbAwnHQ (envelope-from ) for ; Mon, 02 May 2022 21:00:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MNlrHEcqcGIudAEA9RJhRA (envelope-from ) for ; Mon, 02 May 2022 21:00:23 +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 2812025E33 for ; Mon, 2 May 2022 21:00:23 +0200 (CEST) Received: from localhost ([::1]:53486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlbHR-0003fD-OR for larch@yhetil.org; Mon, 02 May 2022 15:00:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42924) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlbGh-0003ep-Tb for emacs-orgmode@gnu.org; Mon, 02 May 2022 14:59:35 -0400 Received: from ciao.gmane.io ([116.202.254.214]:60566) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlbGg-0005YY-LW for emacs-orgmode@gnu.org; Mon, 02 May 2022 14:59:35 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nlbGc-0007PX-L6 for emacs-orgmode@gnu.org; Mon, 02 May 2022 20:59:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Nick Dokos 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/)] Date: Mon, 02 May 2022 14:59:26 -0400 Message-ID: <87zgjzbw1d.fsf@alphaville.usersys.redhat.com> References: <87wnf96zkj.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:OE+NYfTZb37Nwy1yOpbKTrI5S+0= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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." 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-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=1651518023; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Cy/E8D9YdycDVgwyADtkppZXpRL+4Qsebln1gWDQ8jQ=; b=oX2k4YowXRrY3m0vavpzfd7uEAQcDLdj6M115CsGWIJ7vejAbqusF9TSzqWH6W9OMessL4 knJO+XvuBCFv8fsoEU3x3ItjZ8xz6Luc5peW14pTdQa/YoeWhVxe/7mkh/R7ooU5JZ+M8p j6PezPT6mKKjimjGk0cOJPvvnI0pCRFzGTgb+PntkJjSYNF9qqISu2NYSiFMXXfG43zzEL JmWSz7kqe+nFqUuqfgBQolEZafO4rXZ7L7HPevAViLG8oH//G/PoLNiqYfuBNRKpFhFzEV u1OUQe8lYctGjcv30aHTAZqBLLAP4KtcTEDXUAHGfC7Q0ZSl5c6lTv+TpEUo0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651518023; a=rsa-sha256; cv=none; b=CY3YvDlzC17YaUvqMM5o+lUL3txkkbMSOZqRtgj33UVcjiV04TphmJVhMzf3xFQtg5daeo Oi1kSLTsZ8uEVXBsRJQ5VgZ8fC0pXROCwKhJSoJz8e/zcvamyDoGUKid2i+gGJlSI3+EyZ 6sixvFip4ObBnitohvgQ4y1yF/Tx7rI45bfXL6OsjfnQXIsendt+umM6fDkVyJSkY/ZtKn uxmO0p9QW3TJYK6b7uNl4rH50IuJq8RAnjVgGcKcQguhs72ztNjOu4HxnfWpNeJkViQOjW /AX2Nh6r7R/ECMB9CHiqplzjK2IWsTd7XYmMhOJViSCN5yy7KABLVRbWqauRfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=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" X-Migadu-Spam-Score: 4.22 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=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" X-Migadu-Queue-Id: 2812025E33 X-Spam-Score: 4.22 X-Migadu-Scanner: scn1.migadu.com X-TUID: 1qL5fYdz6XNm Ihor Radchenko writes: > 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? FWIW, I agree that it is a bug and it should be fixed. -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler