emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Jakob Schöttl" <jschoett@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org, mail@nicolasgoaziou.fr
Subject: Re: [Bug] org-update-dblock randomly broken for more than 10 columns and larger files
Date: Sun, 20 Aug 2023 10:37:56 +0200	[thread overview]
Message-ID: <831f07e0-d86a-a0dc-c967-e48906f520a1@gmail.com> (raw)
In-Reply-To: <87msymdwwc.fsf@localhost>


Am 20.08.23 um 08:56 schrieb Ihor Radchenko:
> Jakob Schöttl <jschoett@gmail.com> 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.



  parent reply	other threads:[~2023-08-20  8:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-01  9:41 [Bug] org-update-dblock randomly broken for more than 10 columns and larger files Jakob Schöttl
2023-08-01 11:27 ` Ihor Radchenko
2023-08-07  7:56   ` Jakob Schöttl
2023-08-19 18:18   ` Jakob Schöttl
2023-08-20  6:56     ` Ihor Radchenko
2023-08-20  8:29       ` Jakob Schöttl
2023-08-20  8:37       ` Jakob Schöttl [this message]
2023-08-20  8:57         ` Ihor Radchenko
2023-08-21  7:50           ` Jakob Schöttl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=831f07e0-d86a-a0dc-c967-e48906f520a1@gmail.com \
    --to=jschoett@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    --cc=yantar92@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).