emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: William Denton <william@williamdenton.org>
To: Emacs Org mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Table width cookies become part of data table in R
Date: Fri, 15 Nov 2024 14:23:47 +0000	[thread overview]
Message-ID: <5nyJcuXDBYjzJBuvU6coP3Y4S7hzZ6OdDYtR5QbvzHyIBXg4VbcfC2M7uC_IauRf1lgcU77XdlvNLMsCAJPsIOwI849LCM0K8v58zRTUHtM=@williamdenton.org> (raw)
In-Reply-To: <87r07cn1w5.fsf@rensoliemans.nl>

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?

Bill

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



      reply	other threads:[~2024-11-15 14:25 UTC|newest]

Thread overview: 3+ 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 [this message]

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='5nyJcuXDBYjzJBuvU6coP3Y4S7hzZ6OdDYtR5QbvzHyIBXg4VbcfC2M7uC_IauRf1lgcU77XdlvNLMsCAJPsIOwI849LCM0K8v58zRTUHtM=@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).