From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id iEoVNl0v9WXp5gAAe85BDQ:P1 (envelope-from ) for ; Sat, 16 Mar 2024 06:34:22 +0100 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 iEoVNl0v9WXp5gAAe85BDQ (envelope-from ) for ; Sat, 16 Mar 2024 06:34:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=GaK498zW; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710567261; a=rsa-sha256; cv=none; b=hEkzA8vtft6nXZGXDfrO6iUN7325X9E6r8ToxQ/5fC0irTqGn8827xyR6sQ1iFDRN27CqO HWlRO8mI6hbnyP5KYoqBjRJ7N3IoiJxgq9ZL+VkYNFD5WiGmEHfkUYHoa6zG+9cjthHdwO xMALRgFNRw2B3Xf349fMvs5DwouI5XiPL+6mEAblefysvdEJrXL4qZOZjxO1DjgNEZO7YS m4XJgzUSBkp6sgtnd+gSCI6labwvNRPNAZ59vgAeawr3Bmk/4P+XD0JF/tWDcTrTBm3XOn Lixm7wkbekA0KCUy/UcqiTD+M7iwwxzqQDFNSbHAnEokrPHJcPjn0kXB/LOiVQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=GaK498zW; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710567261; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=gZhq2liJih421xHrAVONQIAKUh+9lsMXcH3MLNAKMFA=; b=kIbze21fc5WnwQ1vucC7tGW4bxiYSp1Q/MxLrKRV0OtJNq4iTkMkelYlO2z8gK28hvoQu8 xnvBkZm/z+7oHnakQ+wCbhAUTzjy3IHjeZ9DNvhc7OzNgwbmb1rJPg7bTfVQXFyjhnddm4 koyW1JPHEdo+TQ1cN8p5diF4GJCjz4HOGesYxgDzGkXdY3d25Ab2B3TZ3JeN+puThr4x4L J6EtsymTZvLtNGr9sX/czBUU2537rbFRZwPoR4QZe15NZjoKdXbS7vmCLLKg74eNUH3aB9 n7/xtq1j36wHNXMk8M8R5iHK/KM3ue+ZSTlcnJnR83gCdl12OmRyTmZWyOWGuw== 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 5CFFCD6A2 for ; Sat, 16 Mar 2024 06:34:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlMfm-0006Yb-Va; Sat, 16 Mar 2024 01:33:35 -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 1rlMfj-0006YH-TA for emacs-orgmode@gnu.org; Sat, 16 Mar 2024 01:33:33 -0400 Received: from mail-oa1-x34.google.com ([2001:4860:4864:20::34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rlMfh-0006vi-3u for emacs-orgmode@gnu.org; Sat, 16 Mar 2024 01:33:30 -0400 Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-222a9eae9a7so106576fac.3 for ; Fri, 15 Mar 2024 22:33:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710567207; x=1711172007; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=gZhq2liJih421xHrAVONQIAKUh+9lsMXcH3MLNAKMFA=; b=GaK498zWDrzOQym+VUt1kPrWGUe8twPSBsNLI5uV51XauomOFH/Prqcyfn6vj0rY77 LuWdSlx2gmuY57NoE+Ykcuow46pnG8c3rhFNzJ4AxTBKWJwJBo5dyqbqmHoMqqZ7gaaY fPc1dezg52sCH+W64WT8gbWvGH375aHDBXp9PcnEmanQ3jc+DNfE90K08l3Nqi/NRPol 8gnYBsrn0ZaKxToVs1k/CD4UummHACCB/0O9bWYspj4cvR7J+npLos+iSTa9UgEwfgzv oMHxSMfYv8F5SrxotiUoCXaKgEU5iWIOpcKG+m71/jxMQAJL3qP7EiekyYN+CG+7eLid /G3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710567207; x=1711172007; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=gZhq2liJih421xHrAVONQIAKUh+9lsMXcH3MLNAKMFA=; b=t8mTurjAwwEFiVG22LX166AQdtSxKQajDB7WLK/4Ja76FysofP9nWLzqpdEHED11Xe BkFnPfj9CZAQcRUXxCHeOgZQ23EeASYEkQTG74UIAsQ2kzdv4aDwRcKSKN3oIJ6WqX5e SLQQ01eH49+Zf+i6aN0FHGShLhFdka7LHY/GxSyJ3l+1s9+o5zKdFehBFW2uM4ted/vd Yo+O7K7dq0Zf+ybG/tL5rl3OAHpTAWEkN3sZzFUWAYZ6x56ZM0kzXQuMoy408XRxJvoL oRdQOPovbqBM44J8tQBSKRwoc4JmiWqcNgckPEJqYlTfT98ex8um5t5O1uWmHleHUe8l G0GA== X-Gm-Message-State: AOJu0YyllcJOSRrMlE/jMHgOtsMH8oxrnqGQ1rTCw/VEAVZPKghlzzHn 6Q50KI5EsCalff1aKBUQozDsWyQj/CYrSsQ6RpKdsJY4ejCaLIqtlUIyGQco6SSeTO13ZXmEGyR VT3v35fstmzyIJB4XlNkHvSr3RBYD9PQckcgCcg== X-Google-Smtp-Source: AGHT+IEyHsauiNgxGlfN0cw2jPjQZwQhO362pufnq1tFH43z1ZWV9B0lqEH6axHrBviiY1p5ULfj2DgW4KCgEV6tAjs= X-Received: by 2002:a05:6870:d187:b0:21e:95d9:dc7b with SMTP id a7-20020a056870d18700b0021e95d9dc7bmr7434980oac.30.1710567207357; Fri, 15 Mar 2024 22:33:27 -0700 (PDT) MIME-Version: 1.0 From: Rudi C Date: Sat, 16 Mar 2024 09:02:51 +0330 Message-ID: Subject: Forcing tab-width to be 8 makes using Python source blocks very difficult To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000c254e60613c07653" Received-SPF: pass client-ip=2001:4860:4864:20::34; envelope-from=rudiwillalwaysloveyou@gmail.com; helo=mail-oa1-x34.google.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, 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: , 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-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -7.90 X-Spam-Score: -7.90 X-Migadu-Queue-Id: 5CFFCD6A2 X-TUID: LBKCzRhRWTQE --000000000000c254e60613c07653 Content-Type: text/plain; charset="UTF-8" Recently, a breaking change has been introduced in Org mode that sets the default tab-width to 8 spaces ( https://list.orgmode.org/orgmode/8734y5d2gs.fsf@localhost/). This change has made using Python source blocks in Org mode challenging, as operations like `evil-org->` rely on `tab-width`, and Python code conventions typically use 4 spaces for indentation. Moreover, using 8 spaces for indentation is generally unsuitable for small laptop screens, where screen real estate is of utmost importance. Personally, I have been using a hook to force `tab-width` back to 4 spaces, but this has resulted in persistent warnings: ``` Error running timer 'org-indent-initialize-agent': (error "Tab width in Org files must be 8, not 4. Please adjust your 'tab-width' settings for Org mode.") [4 times] ``` In my opinion, the touted benefits of consistency brought by this breaking change do not justify the inconvenience it causes. I prefer customizable software that can be adapted to various situations, rather than enforcing uniform behavior. PS: Please use Reply to All. --000000000000c254e60613c07653 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Recently, a breaking change has been introduced in Org mod= e that sets the default tab-width to 8 spaces (https://list.orgmode.org/orgmode= /8734y5d2gs.fsf@localhost/). This change has made using Python source b= locks in Org mode challenging, as operations like `evil-org->` rely on `= tab-width`, and Python code conventions typically use 4 spaces for indentat= ion.

Moreover, using 8 spaces for indentation is generally unsuitabl= e for small laptop screens, where screen real estate is of utmost importanc= e. Personally, I have been using a hook to force `tab-width` back to 4 spac= es, but this has resulted in persistent warnings:
```
Error running t= imer 'org-indent-initialize-agent': (error "Tab width in Org f= iles must be 8, not 4.=C2=A0 Please adjust your 'tab-width' setting= s for Org mode.") [4 times]
```

In my opinion, the touted be= nefits of consistency brought by this breaking change do not justify the in= convenience it causes. I prefer customizable software that can be adapted t= o various situations, rather than enforcing uniform behavior.

PS: P= lease use Reply to All.
--000000000000c254e60613c07653--