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 cBh/EQfR4WS5bwAASxT56A (envelope-from ) for ; Sun, 20 Aug 2023 10:38:31 +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 EGikEAfR4WQluAAAG6o9tA (envelope-from ) for ; Sun, 20 Aug 2023 10:38:31 +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 10BA0645A8 for ; Sun, 20 Aug 2023 10:38:31 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=NjlTSiEw; 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=1692520711; a=rsa-sha256; cv=none; b=PoVO7Cxbq/EmKVE/35pFWw5zIq/NrVp/5HM1aDPxGY//rYpNyFF4anMKxR8Reono357U78 8P++/IpZR6Yme1Hp6A5FMWb1i9A7522e+mJeVhFW/1NYpUy2S+SUfqlSdDjaVQTLnONPEx XmGZ7EMFqGa13bEPuoVA5MURXZmkBmBFWjydr9fQm1Y+Im0AuGvK3kYcHsCsvVWuHG9bJ1 C2Xi/daotISb2hVpaEy+97xC50PGmvnwn41cqN/XkAAD1oOV9GzJV9nORRoSevh+tj1ObN DXbnviQl5esxG9zTtWDI0z+OyjlYpf8s5FuDbbSq9WLtcC7+Y2575INpZk9aFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=NjlTSiEw; 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=1692520711; 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=lBXUVHqAarJ5b3Zifq8tpxrHjrnlJW37xPbFyrHP1RI=; b=TkjhdQIn+Tbb7LRzcBKOgw0uPrRnrA29+h6O4qXTWwi3KD0dBoninfWsWPKp4xrYsajCmB mvKQ/gRrHgFgdTvfAH6kw+fLlx1JOezZMJxTit9g96PvyclQ/qQR7zW1has0iOdyWd5sg4 Mtdhx/jNkwWqxgh41tlt2YKy3FQlTn/zsdkbLi+vQZnxFg8OMzbjNtFHSXWOeOkGUnQ+t0 F8uqfqMMrN1Y+MjC5ARxCZ5RQepZr2K76ZOSzx3XT1j2BUYl8ijl9BXwrOeK2nnpuqpMpG XEwYr/pb3PRXzEiANn44oXY43xekXTVxuEge41OX+VLYbBw0RS6bPRB+wf66Zw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXdwi-0002gq-6f; Sun, 20 Aug 2023 04:38:04 -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 1qXdwf-0002gd-VM for emacs-orgmode@gnu.org; Sun, 20 Aug 2023 04:38:02 -0400 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qXdwd-0005FD-Qv for emacs-orgmode@gnu.org; Sun, 20 Aug 2023 04:38:01 -0400 Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-5230a22cfd1so2920778a12.1 for ; Sun, 20 Aug 2023 01:37:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692520678; x=1693125478; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=lBXUVHqAarJ5b3Zifq8tpxrHjrnlJW37xPbFyrHP1RI=; b=NjlTSiEwBy+DOD7ccQFm8S/SncIn7YTZRYG0I5PNQ82FTcK5Aw01KP9PFYM44yh4MV QqFg1g1Sc+XUQufX07ex74xs2vb65xVuADWTLGEu1YkyMPFCKKn6X7psgl1SDJU3JmLe jKaOP6uKNfG/bTimdZCoraJV4igSI5BRxJ1i+76Zvu4MtZGRDntUPqEGmZUkFL6uEfqx JLNFb4o2gzpiZFMZjYpIyHjnYfbmy+hOVK0vf8gz3Fg3jgeqJJYNV931HvUD3etGiOsn 2mItEJ2PgazxNiILikXmU0okYfQBhAgmjP/6XGtTFYJ8wez2NW/hQaXJ92GTXebmmDi9 ULiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692520678; x=1693125478; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lBXUVHqAarJ5b3Zifq8tpxrHjrnlJW37xPbFyrHP1RI=; b=I4pEpxo2ZD1CyRr1snL1dkYwPG7MTUO2antrOQhu7L39Z6PcUCb7te6/kE13+h/mBL GooFmg5p9XUB1AMDbUQi/ul67pPTvlmFpOMMZQALh6CEyIXZ16vAG7p6g3xCJ58dcfWW mDi7IWt6YkQSY9IyqFKqbDeS1mUykKRKkNZ9AZljnjTa67CRwZYdxrqGJ1lDhlH/RCkH qJFMoDkzJoiS6G0sPYIxQSlMtuBWWOTnlgevmdsDW8SzpGy42/QVu8v01bRzh0sjJrDl eKDUcDAEXnqzjopxKFBUz0RyV/7IUOVSQKPcUWjhbx+91VG1U3W7GAEmY6mLE2mUPBut jgXg== X-Gm-Message-State: AOJu0YwG0U4TBHuHal/Tc5JWPbIWZpiivjgB0ufZFIFknEazdoyX+vtz H/dgbF02Uj8pjoWjE9kbsfgbI/gKhjMf X-Google-Smtp-Source: AGHT+IE20T64ZmkoEAzLYtW2tFb8vEkKzzlj1gnsPhQXuGzztYqRl+hvkQDm7kzmf4z0bBfFNiPq8g== X-Received: by 2002:aa7:d69a:0:b0:522:1956:a291 with SMTP id d26-20020aa7d69a000000b005221956a291mr2565134edr.8.1692520677765; Sun, 20 Aug 2023 01:37:57 -0700 (PDT) Received: from [192.168.1.3] ([178.25.129.69]) by smtp.gmail.com with ESMTPSA id e8-20020aa7d7c8000000b005231e1780aasm3884592eds.91.2023.08.20.01.37.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Aug 2023 01:37:57 -0700 (PDT) Message-ID: <831f07e0-d86a-a0dc-c967-e48906f520a1@gmail.com> Date: Sun, 20 Aug 2023 10:37:56 +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 Content-Language: en-US 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> 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::536; envelope-from=jschoett@gmail.com; helo=mail-ed1-x536.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: -9.51 X-Migadu-Queue-Id: 10BA0645A8 X-Migadu-Spam-Score: -9.51 X-TUID: n07ae6QLyYpW 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. Got one: * Table #+BEGIN: columnview :format "%a %b %c %d %e %f %g %h" #+END: ** foo :PROPERTIES: :a: a :b: b :c: c :d: d :e: e :f: f :g: g :h: h :END: The first call to org-dblock-update adds some spaces and only has one empty line of data in the table. The second call adds more spaces and has two lines of data in the table. If %h is removed from :format, it works on the first run. For larger files it's totally unreliable; I'd consider the columnview feature as broken.