emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: William Denton <william@williamdenton.org>
Cc: Emacs Org mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Table width cookies become part of data table in R
Date: Tue, 17 Dec 2024 02:40:20 +0000	[thread overview]
Message-ID: <ccf5sV6GhVsUiBHoNjOnxwBQUC006HHzPI2bHHBbQkn2dryROPDt9R6fibssfvkInji1bIZ5gDlmhIcYm9ZfqINcuMylD6QIQtb9w81hR3E=@williamdenton.org> (raw)
In-Reply-To: <5nyJcuXDBYjzJBuvU6coP3Y4S7hzZ6OdDYtR5QbvzHyIBXg4VbcfC2M7uC_IauRf1lgcU77XdlvNLMsCAJPsIOwI849LCM0K8v58zRTUHtM=@williamdenton.org>

Sorry to confuse the threading, but I wanted to bring this back up given Ihor and Suhail Singh talking about this change in R behaviour.

I agree it seems best to revert to the earlier was of handling data tables in R until, if possible, there is a nice way to clean up all the languages at once.  The whole situation may be confusing, since there's a mix of how languages handle them, but it doesn't break anything.  It seems like a small thing to break a lot of R code over.

I don't know if this bug will matter after that, but I wanted to make sure it got noted just in case.


Thanks,

Bill

--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada


On Friday, November 15th, 2024 at 09:23, William Denton <william@williamdenton.org> wrote:

> On Friday, November 15th, 2024 at 06:59, Rens Oliemans hallo@rensoliemans.nl wrote:
> 
> > According to git bisect, the first bad commit is:
> > [e0924db3c55a44c8aa8d126fbb9b42cfc54f104c] orgtbl-to-generic: Retain special rows in code block table output
> 
> 
> Aha! Thank you. I wasn't looking at tables generally. I see now that ORG-NEWS has a "~orgtbl-to-generic~ retains special rows when exporting to Org" entry. It says, "To retain the old behaviour, add ~:with-special-rows nil~ to PARAMS argument." But:
> 
> #+name: test_table
> | Date | Weather |
> | <10> | <50> |
> 
> |------------+----------------------|
> | 2024-11-01 | Warm |
> | 2024-11-02 | Warm |
> | 2024-11-03 | Still strangely warm |
> 
> #+begin_src R :var t=test_table :colnames yes :with-special-rows nil
> t
> #+end_src
> 
> #+RESULTS:
> | Date | Weather |
> |------------+----------------------|
> | <10> | <50> |
> 
> | 2024-11-01 | Warm |
> | 2024-11-02 | Warm |
> | 2024-11-03 | Still strangely warm |
> 
> If I (setq org-org-with-special-rows nil) then this stops, but shouldn't the parameter work?



  reply	other threads:[~2024-12-17  2:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-15  4:29 Table width cookies become part of data table in R William Denton
2024-11-15 11:59 ` Rens Oliemans
2024-11-15 14:23   ` William Denton
2024-12-17  2:40     ` William Denton [this message]
2024-12-14 17:21 ` Ihor Radchenko
2024-12-15  5:04   ` Suhail Singh

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='ccf5sV6GhVsUiBHoNjOnxwBQUC006HHzPI2bHHBbQkn2dryROPDt9R6fibssfvkInji1bIZ5gDlmhIcYm9ZfqINcuMylD6QIQtb9w81hR3E=@williamdenton.org' \
    --to=william@williamdenton.org \
    --cc=emacs-orgmode@gnu.org \
    /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).