From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GGJqKlK54WQfLgAASxT56A (envelope-from ) for ; Sun, 20 Aug 2023 08:57:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MNFCKlK54WQOhAEAauVa8A (envelope-from ) for ; Sun, 20 Aug 2023 08:57:22 +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 1DC823C24D for ; Sun, 20 Aug 2023 08:57:22 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XdHJ+p3f; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692514642; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=nfWo24wZ6rHYwyaU0apAUGSurlM+gEESxxuABOGkPwU=; b=k/A112ribRVh1MWxcZSZV6APPRJMtDL2ecHvIhrNUrQtJF1jwPoyOAO9P2iSfPU5f5BWwg c7eJWugsQdvGN/z67yrYIBSjt8iWrvrLsmsBqAXeCj7vGXG3Hq8+wS+E6MziaF0YlH3n8i oEgQ9sKRurg1jtBtC1NPFXMyPuJJuoEYrzxxbL8swpqrQU216MJZb7wmrotYJtMW+5ME5i WYo0QKM0izAnJms9Fxoy6P5azcV/FFPhdGiF9gtL9DUlosEFtFPHWA78seLzFpkimbg/bW QkpoGH9SUf9vfGyNCz6hN0Tyowq1nGhY3RK4HwY3aChNiJO875xPl+NIImRrWg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692514642; a=rsa-sha256; cv=none; b=UpkvmDC5oPHrDgTq7/YnuXGTZyitvD+AqG/LPmJgGvK8GVriUTHYL99VnWpumS7v7njQhW ATHofsbdXZN8pwjD3n8pv5MQC4k/MThvUMBwxnt41r0xNeFyph6GHsh+KO4nacCgPE+hTh 7nnat9P2MCc7L6Q1UJHCSLR3QgImazv+pZSlpP+QO6VXaUXXA4WhlnPvtc1GXPRzsXUHMZ CA/DS9gqOkU6vGWPiQPlWynJ9Xvk3M2vRbVeVn89S6ynNcLb9Z40jKJiEc+oQoKrcsnmzh /9uCDT4McimTQ/KTSBv5Zx5EHz2oxSrquxKIo8dIGSHdgWFpskc+B5/SsEOzXQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XdHJ+p3f; 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"; dmarc=pass (policy=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXcMO-0002JG-Sb; Sun, 20 Aug 2023 02:56:28 -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 1qXcMM-0002J6-UZ for emacs-orgmode@gnu.org; Sun, 20 Aug 2023 02:56:26 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qXcMK-0001sS-Bp for emacs-orgmode@gnu.org; Sun, 20 Aug 2023 02:56:26 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C7320240027 for ; Sun, 20 Aug 2023 08:56:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692514582; bh=nfWo24wZ6rHYwyaU0apAUGSurlM+gEESxxuABOGkPwU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=XdHJ+p3f3fd6OjEtp6uAqcvLT3ite5poRdPlJ4uPdmBvdwYCbf/wQ9tzhiAhQ56mt Nlwac17fuUKcLo6X0AERMwjdax6HG0FZRnKWRnYRgAI4ZScdS2+iduiKVg7YhEgjQ0 1ZLSAaw5uLTG0FP1+y2lf83Nw0lEpvsPFpH8NkSc0nBMtq2FKqBnEEPPoQXSfsUufl 6To2LNkm5pnYa6Owzv6vqEKXlw1eGK7yi1CcbHLib+mXxQ+NUseW4cm7iEx4YIH0BF uUXZVxATbWwB9c4paoRKM2xInr0ZhmxRkQ2r3XH9Sdfw8woQ5Ua1wZwbNoIfUAr9D5 at3JyTlpOR34w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RT5xL1j3lz6txC; Sun, 20 Aug 2023 08:56:22 +0200 (CEST) From: Ihor Radchenko To: Jakob =?utf-8?Q?Sch=C3=B6ttl?= Cc: emacs-orgmode@gnu.org, mail@nicolasgoaziou.fr Subject: Re: [Bug] org-update-dblock randomly broken for more than 10 columns and larger files In-Reply-To: <975ecec6-86cc-3df9-f55a-d4cfea0f8263@gmail.com> References: <755dc4e2-0ac7-bf27-c716-e83a3295c076@gmail.com> <87edknovdh.fsf@localhost> <975ecec6-86cc-3df9-f55a-d4cfea0f8263@gmail.com> Date: Sun, 20 Aug 2023 06:56:51 +0000 Message-ID: <87msymdwwc.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=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-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: -6.40 X-Spam-Score: -6.40 X-Migadu-Queue-Id: 1DC823C24D X-Migadu-Scanner: mx1.migadu.com X-TUID: xoQkiClveJDp Jakob Sch=C3=B6ttl writes: > So, org-update-dblock or org-dblock-write:columnview is adding trailing=20 > spaces in the org file. These spaces change the behavior of subsequent=20 > calls which will add even more spaces. Confirmed. Unimportant. The internal implementation details of colview demand heading text to have at least the number of characters equal to the number of fields. If there are less, spaces are added. But not beyond the necessary number of spaces. This is not easy to change. And I am not sure if it is necessarily a bug, though I can see how it can be slightly annoying. If someone reading this is bothered about the current behaviour, feel free to work on the fix. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at