From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id AOnEBmQMfWa8UAAAe85BDQ:P1 (envelope-from ) for ; Thu, 27 Jun 2024 06:53:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id AOnEBmQMfWa8UAAAe85BDQ (envelope-from ) for ; Thu, 27 Jun 2024 08:53:24 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=zoho.com header.s=zm2022 header.b=QoPd3YjC; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=pass (policy=reject) header.from=zoho.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" ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719471204; 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:in-reply-to:in-reply-to:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=DED0R1BUQTpz4Uqns2GlVkPO93vzGfbhNSmI3wFkSSw=; b=tI2slN5j2QEUeiEuBmvlJjjaYB7tvK+5KSw9hRF1flWc6C8yF6rlY0pQCZH8Ts6Uwv+4JT pi2aCsPdcUuwB71Jfx9m4S1WX8XlcED9mbpCKP7yhuSEox4CH0PrEX6oXF9ZSAp0029xLK aa6FlWmPdYjOsCDOlurTADc7HmKug9IpECxgOcn+lSSzv0EoT7c5nfB+I/Xz9klAHIAjGH 99BdlsqExl35FkV6zTbQhgibOhHsYKi0X0jiEuMS6e2ZpODrFQ3gdxf3Eb15gcYbWZxvH/ pPWI8gTZBf2asNu5f59fC+YQrp4DOPdSkMi+mJf/CUH1I7F8RMITIkQHdwuv3Q== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1719471204; a=rsa-sha256; cv=pass; b=Q+LVix6VUFTmMjLM/0a7hOD3xluKwVvn1bZhlYm8lgSa+ai6YRa1eLtXfaoZHoOGqQFssy LCdYZDAXQ9IwKu2CqXwvleyewBMyiUYYbq1fxoKLlLRd3/dOyZwqDAPRa7wq0SqRUY3vzC cwvM3iZr4hHBYmjMsFjAUsHCvCfLIFedRoe3UTCdZRdMc/nh2KhWqlNqJtB7RTHfdXmp9C 6mFr6esEyQY8cstpnkAtXIlVAn8kVzZx9OBm6sT1V/YXDmiEy08RWhq704+rgpukdEDHt9 kZ25S0HAVazCVebidLPMsqdm9xpxtEOMZagYiTE8zMGg5fJoyJ6HS+Omn1XrKA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=zoho.com header.s=zm2022 header.b=QoPd3YjC; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=pass (policy=reject) header.from=zoho.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" 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 49BC17AD96 for ; Thu, 27 Jun 2024 08:53:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMizb-00017F-P7; Thu, 27 Jun 2024 02:52:27 -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 ) id 1sMbLS-0006n4-0g for emacs-orgmode@gnu.org; Wed, 26 Jun 2024 18:42:30 -0400 Received: from sender4-of-o50.zoho.com ([136.143.188.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMbLN-0008RW-C7 for emacs-orgmode@gnu.org; Wed, 26 Jun 2024 18:42:28 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1719441740; cv=none; d=zohomail.com; s=zohoarc; b=RzGeurYbWAO2QjoqeXKwsvCt4NzUz/m21joKceWTvwR1HKm5CIHuYlLtupxRZHs4GOJx/ObUd+ZhxFTHLBfkWW5xhb8nQ1KCwh5pSxxiUJjb2oAlXhKCuokWCQbNJ756kgzfaBlSMANb2X054CTW7pE0gpvXc5aL7nW9j4NX3GM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1719441740; h=Content-Type:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=DED0R1BUQTpz4Uqns2GlVkPO93vzGfbhNSmI3wFkSSw=; b=cOOaVf9fNkToYnvmMfUtlDg8Vxk4gOOwCMwSIItKBlUHbYN37x+sYnGkzokHP3aWO8aQMN6QxsW6BHvUsOpdFlH7F9PXUkKmk0ggTe9skZpDNcfpc1xitWyiLM7d2Xax+zUWuVlS7hh1CQfWmI3+L1DT5dk8TKuDdbDau7gbR/c= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=kazark@zoho.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1719441740; s=zm2022; d=zoho.com; i=kazark@zoho.com; h=Date:Date:From:From:To:To:Message-Id:Message-Id:In-Reply-To:Subject:Subject:MIME-Version:Content-Type:Reply-To:Cc; bh=DED0R1BUQTpz4Uqns2GlVkPO93vzGfbhNSmI3wFkSSw=; b=QoPd3YjC3PLEU9uT+yPKLnoXIdVOjmmwwSRRRQ6CGUKAQaJHihQu+yRnID9MQd0X R10tEPzMr8GVvQoE+DCU564pEosrPENUTXzQK05JBVYkzoum8TXnYoc+MktqLv/ZDs2 wEn0+ftq5bltA7x24Y32zJcC8Lm8CWNIdNw97Je8= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1719441733457695.3076041033487; Wed, 26 Jun 2024 15:42:13 -0700 (PDT) Date: Wed, 26 Jun 2024 18:42:13 -0400 From: kazark To: "emacs-orgmode" Message-Id: <19056b6b712.b56dc3e1403727.546293949229584581@zoho.com> In-Reply-To: Subject: Org 9.7.5: problems with tab-width and certain syntax combinations in SETUPFILE MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1296066_460923020.1719441733394" Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Received-SPF: pass client-ip=136.143.188.50; envelope-from=kazark@zoho.com; helo=sender4-of-o50.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 27 Jun 2024 02:52:24 -0400 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.88 X-Spam-Score: -7.88 X-Migadu-Queue-Id: 49BC17AD96 X-Migadu-Scanner: mx11.migadu.com X-TUID: Bu/NSfGR4xXK ------=_Part_1296066_460923020.1719441733394 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I am getting this error after updating to Org-Mode 9.7.5: The error was: (error "Tab width in Org files must be 8, not 2.=C2=A0 Pleas= e adjust your =E2=80=98tab-width=E2=80=99 settings for Org mode.") However, it does not happen when I load every Org-Mode file. The MWE I have= come up with requires two files; call them test.org and properties.org. Th= e contents of test.org are simply a link to properties.org as a setup file. #+SETUPFILE: properties.org The contents of properties.org can be as simple as: + foo #+TODO: TODO(t) | DONE(d) But no simpler. If the plain list item is removed, the problem does not occ= ur. If the TODO element is removed, the problem does not occur. The problem= can also be caused with a MACRO element, but not by COMMENT, BIND, LATEX_H= EADER, &c. Loading properties.org does not cause the problem. Only loading test.org ca= uses the problem, so the problem seems to be specific to when an Org file i= s loaded as a startup file. I am not clear why tab-width is not being set t= o 8 in that case. It is true that my global tab-width configuration is 2, b= ut I have not attempted to force Org-Mode to use a value of 2. In fact, bef= ore I realize that Org-Mode itself now does (setq-local tab-width 8) I even= tried doing that on org-mode-hook, but it didn't help. Perhaps this is a problem with my configuration, but I suspect that it is a= n edge-case bug in Org itself. I have reason to think that I am one of the = heavier users of setup files. https://emacs.stackexchange.com/a/59492/19069= So it seems entirely possible that I am just the first to hit this edge ca= se. Because I do rely quite a bit on setup files, this has me in a fairly broke= n state at the moment. I deeply appreciate any help or advice that you have= , as well as all the hard work that goes into Org-Mode. I live my whole lif= e in Org-Mode. Kazark ------=_Part_1296066_460923020.1719441733394 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =
Hi,

I am getting this= error after updating to Org-Mode 9.7.5:

The e= rror was: (error "Tab width in Org files must be 8, not 2.  Please adj= ust your =E2=80=98tab-width=E2=80=99 settings for Org mode.")

However, it does not happen when I load every Org-Mode file= . The MWE I have come up with requires two files; call them test.org and pr= operties.org. The contents of test.org are simply a link to properties.org = as a setup file.

#+SETUPFILE: properties.org

The contents of properties.org can be as simple= as:

+ foo
#+TODO: TODO(t) | DON= E(d)

But no simpler. If the plain list item is= removed, the problem does not occur. If the TODO element is removed, the p= roblem does not occur. The problem can also be caused with a MACRO element,= but not by COMMENT, BIND, LATEX_HEADER, &c.

Loading properties.org does not cause the problem. Only loading test.org= causes the problem, so the problem seems to be specific to when an Org fil= e is loaded as a startup file. I am not clear why tab-width is not being se= t to 8 in that case. It is true that my global tab-width configuration is 2= , but I have not attempted to force Org-Mode to use a value of 2. In fact, = before I realize that Org-Mode itself now does (setq-local tab-width 8) I e= ven tried doing that on org-mode-hook, but it didn't help.
Perhaps this is a problem with my configuration, but I suspect= that it is an edge-case bug in Org itself. I have reason to think that I a= m one of the heavier users of setup files. https://emacs.stackexchange.com= /a/59492/19069 So it seems entirely possible that I am just the first t= o hit this edge case.

Because I do rely quite = a bit on setup files, this has me in a fairly broken state at the moment. I= deeply appreciate any help or advice that you have, as well as all the har= d work that goes into Org-Mode. I live my whole life in Org-Mode.
=

Kazark

------=_Part_1296066_460923020.1719441733394--