From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id qPSgLCjP4WQozAAASxT56A (envelope-from ) for ; Sun, 20 Aug 2023 10:30:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oBX3KijP4WTiRwAAG6o9tA (envelope-from ) for ; Sun, 20 Aug 2023 10:30:32 +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 48A7461457 for ; Sun, 20 Aug 2023 10:30:31 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="IY7l/JQ8"; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692520232; a=rsa-sha256; cv=none; b=UbfM0gUxnONbuebzyqR6hfX/XaJ4bYPtf/J7qGnkzmz9wk/Wx66H3jsridhweAaLXGX9oR 7j3ugoBznBFfj+PV1mwOZHhlWpGe1VEtl8HBecMA02m7o03eCRIlZaXVDQ2e+6pdMZNzkI gXZIJtvH0c0feX+if2LiGWYyxQKgcTX1Pno4fwRNGiTQkax4f5mcPPmz5vL7X1876e/pbx Xyc3euOtTFeEyyc9HU4AE0PG4SQLdDC6JUUx+52HpG+f+Zow2BxTCbylgKhvicevzgEh/J JcgDd7M3Bv043j+Xz5UdMLq654u3pkMor9ZS/Lf0dIP9sVK6DGpvOsAr4MGFeA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="IY7l/JQ8"; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692520232; 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=zHwSULevY+sn8fSPcA1vyERV0hCm7l9zrudjcZvUsdk=; b=sSkKsWkdcOwfsGtRwtIxBhDN+1iyJOHcWWsjcMPnvMS98+RjVwNOcGqrHw3vfjfeSedBQ/ 5WbW87HcyY3WpGg1sT/18lU0PTBEn3EO7BxLLkgdqII2Pe0b1os1Zuw/6qDEX11AW3jAo5 XzKPDNluKxKbO2j+FAgK+hXHhPT55z3hhuui7jAJsPifX7FMHxLnnystWIjnEjOz6q6Gon Apfg4u1DSmo9snQjGlgNaIp5n6N92HVN7TJz6GcvNxQazYUzB+p99q6vcbHZaBn837l6D4 n+9/l07kxmygVTmZOKn5x4KfGXcg+AIitnJ45tteVeyrr1hNSymMItFmMcG7+w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXdoh-00014f-4F; Sun, 20 Aug 2023 04:29:47 -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 1qXdof-00012T-LH for emacs-orgmode@gnu.org; Sun, 20 Aug 2023 04:29:45 -0400 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qXdod-0003Qe-Gm for emacs-orgmode@gnu.org; Sun, 20 Aug 2023 04:29:45 -0400 Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-523bf06f7f8so2761123a12.1 for ; Sun, 20 Aug 2023 01:29:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692520181; x=1693124981; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=zHwSULevY+sn8fSPcA1vyERV0hCm7l9zrudjcZvUsdk=; b=IY7l/JQ8c9bEE6CPoMvhqwHEkx8e4sXLSTNUG6ttYnSOxq8qo+uKQp9JQkn/OAfpfe z08i+K0yaTcHNAsOV/hAgPm/SYXikRWQYyFzlql0ZSkMk8Z93DbIkRr5xvFSsXGkht5A ouhr/PtZ1OETbe6W8ig8NxuXYu7NxrP78UF2Qs7eCePZAmBtDTL9tAQDWOtR4CKuRy0A 3aPQgVoiSbA0eNwtxxZ+DG56AMIrQZyljCOX0lc/D9mB185KFwemI1NEP1WSe3LNTfIz 7/1AxfoXTL+k1geyBCUYONjDVCWIQWhNAP/PZyufhWV3NBvdphNBGE4sMzEmmo8Q7EpY VcrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692520181; x=1693124981; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zHwSULevY+sn8fSPcA1vyERV0hCm7l9zrudjcZvUsdk=; b=H5MZytkO/RGhBvGnYM4iKnJSaShmZTPbnr6xiYmEZRWer80UrCCl4p1bXnjvt6PUpa luIffI4oW8sVHek4cdO/FwnCmfhV5h+s+PymSXnoOY1TqXINi9/G+pvQ0CVJAsrTX2p4 8eLHRSRHeoQNAxTeiAxFwAEXPGTYXhyS0+zs/SkGv2tyQDRJaBhjzt4kFYYaAr3Qw7sB ydQjy9SXykzj6O9CkhcyWp4R7nyD7GsvbGWtdL+TCGaelBkHdcoO04wjCjSH4GppYgWI wFhAaNfWNrsmARIVEA++GQkpPnWCwHaik2dKKavOF9MxnJnPyM5+ZzIfl/4emmRPeqQK 3NhA== X-Gm-Message-State: AOJu0Yz3Md8a7kWNKw3VEWXXjs5tAT1U7PmoMejwDfKIa3xxykeYwPeW zbRhgNAoqngzYTTlgiJNmw== X-Google-Smtp-Source: AGHT+IGUMV9Sp/4+f356qTIF1Crqv9r3oIgChU+g7cUC47ML8uQx4UBk+TZLxe+9Sa2aGxnmf5BsyQ== X-Received: by 2002:aa7:cd11:0:b0:522:6e3f:b65 with SMTP id b17-20020aa7cd11000000b005226e3f0b65mr2525794edw.33.1692520181194; Sun, 20 Aug 2023 01:29:41 -0700 (PDT) Received: from [192.168.1.3] ([178.25.129.69]) by smtp.gmail.com with ESMTPSA id r5-20020aa7cb85000000b0052348d74865sm3928530edt.61.2023.08.20.01.29.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Aug 2023 01:29:40 -0700 (PDT) Message-ID: <888f8146-d70b-a1a6-e035-c258e709052a@gmail.com> Date: Sun, 20 Aug 2023 10:29:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [Bug] org-update-dblock randomly broken for more than 10 columns and larger files To: Ihor Radchenko Cc: emacs-orgmode@gnu.org, mail@nicolasgoaziou.fr References: <755dc4e2-0ac7-bf27-c716-e83a3295c076@gmail.com> <87edknovdh.fsf@localhost> <975ecec6-86cc-3df9-f55a-d4cfea0f8263@gmail.com> <87msymdwwc.fsf@localhost> Content-Language: en-US From: =?UTF-8?Q?Jakob_Sch=c3=b6ttl?= In-Reply-To: <87msymdwwc.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::530; envelope-from=jschoett@gmail.com; helo=mail-ed1-x530.google.com X-Spam_score_int: -39 X-Spam_score: -4.0 X-Spam_bar: ---- X-Spam_report: (-4.0 / 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, NICE_REPLY_A=-1.862, RCVD_IN_DNSWL_NONE=-0.0001, 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-Scanner: mx0.migadu.com X-Spam-Score: -6.98 X-Migadu-Queue-Id: 48A7461457 X-Migadu-Spam-Score: -6.98 X-TUID: QlmSdHfdrEc+ Am 20.08.23 um 08:56 schrieb Ihor Radchenko: > Jakob Schöttl writes: > >> So, org-update-dblock or org-dblock-write:columnview is adding trailing >> spaces in the org file. These spaces change the behavior of subsequent >> 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. The thing is, that this is only the smallest part of the bug. Spaces are not only added to headings but also to normal text lines and to ":END:" lines. The spaces then lead to different table data in the dynamic block. I'll see if I can provide an example where it messes up the table data.