emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeremie Juste <jeremiejuste@gmail.com>
To: "Ihor Radchenko" <yantar92@gmail.com>,
	"Rudolf Adamkovič" <salutis@me.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] Incorrect background color [9.5.4 (release_9.5.4-3-g6dc785 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]
Date: Sat, 12 Nov 2022 11:14:48 +0100	[thread overview]
Message-ID: <87pmdszdgn.fsf@gmail.com> (raw)
In-Reply-To: <87h740i0ms.fsf@localhost>


 On Sunday, 16 Oct 2022 at 10:44, Ihor Radchenko wrote:

 >>
 >> Confirmed.
 >>
 >> WORG page is not accurate here. The truth is that ob-R.el does not provide
 >> any defaults for header args. Instead, R defaults are used. I suspect
 >> that defaults for background color changed in R since the WORG page has
 >> been written.
 >
 > Jeremie, could you please take a look?

 Yes. Thanks for confirming the issue. I confirm that the white backgroud is the default and is R default.
 I could not trace back any recent change in R. So I suspect white was always the default.
 But I could well be wrong here.

 Note also that R parameters always takes precedence on the org-mode ones. As in the example below.

 #+BEGIN_SRC R :results graphics file :file test.svg :outputs both bg red
  par(bg="blue")
  plot(1:10, type = "n")
#+end_src

In opinion the actual org parameters are the right ones. But I'm open to suggestions.
Thanks also for updating the WORG page.

Best regards,
Jeremie



      parent reply	other threads:[~2022-11-12 10:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-01 18:56 [BUG] Incorrect background color [9.5.4 (release_9.5.4-3-g6dc785 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)] Rudolf Adamkovič
2022-07-02  4:44 ` Ihor Radchenko
2022-10-16 10:44   ` Ihor Radchenko
2022-11-12 10:20     ` Jeremie Juste
2022-11-13  4:37       ` Ihor Radchenko
2022-11-12 10:14   ` Jeremie Juste [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=87pmdszdgn.fsf@gmail.com \
    --to=jeremiejuste@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=salutis@me.com \
    --cc=yantar92@gmail.com \
    /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).