From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aMlcIVdyb2NtMgAAbAwnHQ (envelope-from ) for ; Sat, 12 Nov 2022 11:15:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OEJfIVdyb2OxpgAA9RJhRA (envelope-from ) for ; Sat, 12 Nov 2022 11:15:51 +0100 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 2CC5019FAA for ; Sat, 12 Nov 2022 11:15:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otnXS-0000lV-7y; Sat, 12 Nov 2022 05:15:02 -0500 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 1otnXQ-0000kl-WB for emacs-orgmode@gnu.org; Sat, 12 Nov 2022 05:15:01 -0500 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1otnXJ-0005Js-Jt for emacs-orgmode@gnu.org; Sat, 12 Nov 2022 05:15:00 -0500 Received: by mail-ed1-x52b.google.com with SMTP id x2so10814118edd.2 for ; Sat, 12 Nov 2022 02:14:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=wzgQ/bit2q2NxdW/b9EBGJSHI08uDmMIAFhHZwlriL8=; b=Rbpc/dGQMcV6Hq2+NVJopnF01+nh6ogk0a0wLOarAOXI1uH/Rv36bGYPffSVmaBq4k p/YLGUf5OCfgPkOjwMC+50mPOXmYcDQEbZbOJmv8V6G5yc+UVR7kRA4uQxGybGSeo/CY coKLDCMb2BIu+fixMoUFk4ICxaKQvhc+uCRoLZq9QG5eXQ6Is7vbsBuz0LbCndFI/5Zv Vvj3Xa2WScZo3toeeIIhkykE2OvyvyqgRCi20386EqRb+79W8QPNEOvKnqlb+UFzLJj/ IzHLk+ICgpaA+cnTwKYqUBXOgp3e5C2ZgbdrSfMEwRldQzqbUKqEwgaqHScmfgwCgsIR c1Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wzgQ/bit2q2NxdW/b9EBGJSHI08uDmMIAFhHZwlriL8=; b=W/q2mtrtiOjmrSAFin1ayb0E/6O04i/39VgmQk3JqmeKDZIXaDinz3Iv8g9kX9tq3p 4AGz4nLHJVaeC/a+UICs23BZPUB+uEQ+Vf38REVoVndBKm+WBwA4ERSQ26ptd+P5u93L +PKNRjUvdBoJGxoY5dSSvMDEE0c+DJb4u5nVEhWXC4hQLT7b1VEKaZVcVm8ksuRjc/ki IVTK+FJfZuXs2jlTB6nBD9MKW4rxYrrwcLI9yL9a5sXkAhoaiGgsttDR52CwZz/T7AQx c3lmhIJVymLZ5hO3Xy3aNfgu5GPTqgDDR2STBpwyIqDLZB3Mx9S8r2ph0HZChMoaAsnl goVg== X-Gm-Message-State: ANoB5plectTiBpcLJCM1cSfdQBAcatmWEE4TqtmebTHBmVibz6qhDrQs /TRWRk1KQMxbVFLDy/AlNenlCHbmrqte7O4O X-Google-Smtp-Source: AA0mqf5KiI07BS1dI4sR/R2n6NI/jQWL59cl+UC+lIKL+uSNuDzrQ2KpIPSVVL/wu1zr4jyIXVLtbQ== X-Received: by 2002:a05:6402:1caf:b0:461:eea0:514c with SMTP id cz15-20020a0564021caf00b00461eea0514cmr4951265edb.296.1668248091264; Sat, 12 Nov 2022 02:14:51 -0800 (PST) Received: from flexignu ([2a02:908:1d8:3a20:eac4:9a0b:e3b:225d]) by smtp.gmail.com with ESMTPSA id b1-20020a1709063ca100b00730bfe6adc4sm1797815ejh.37.2022.11.12.02.14.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Nov 2022 02:14:50 -0800 (PST) From: Jeremie Juste To: Ihor Radchenko , Rudolf =?utf-8?Q?Adamkovi=C4=8D?= 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/)] In-Reply-To: <87h740i0ms.fsf@localhost> References: <87h740i0ms.fsf@localhost> Date: Sat, 12 Nov 2022 11:14:48 +0100 Message-ID: <87pmdszdgn.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::52b; envelope-from=jeremiejuste@gmail.com; helo=mail-ed1-x52b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668248151; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=wzgQ/bit2q2NxdW/b9EBGJSHI08uDmMIAFhHZwlriL8=; b=H7zRlgDH9rvsc6ORF/H+a8MBhdx7dBZGr8gwlpWi32Ns5XnUCvm38Q99AigAQeQQJAfIXH A4EVgP1lmnI3Do+TDxu4J6/yH6xOHt84K/ZRJoB8yLwVoxRRLXLBycVDAcji3UqaYXGi6z Bz/dpxPpBDznWRqL+pucKSFrqpUWMJAxLGMNVXHIbiLU32BYBw1aWiKnpEIlE6htyLD69s 1mtpNIrMs9if8+CctT7gKtjmvMxq51QGQhUTXFl28BinpO4a2qDOySp7dKBYshAWsiBbjH 7mzSV3fjzXeADTbrOzelH2VJgQO+5jGGJQmj9tMrBJwNi3igj97UxI25o23tgA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668248151; a=rsa-sha256; cv=none; b=hfQcl2sloF/gRd+twawdhvrU0ub23Yg1u0ooLrt2Wu+uAIQesQBkvIJCCSB3XtkFpOnmCv Mp9k4qwSQoFkjscPc+H/kEtl9SnHUK9hvEb5evbEbXpQtQToD75tpgaJQ9foCzF3H6zl8L bQYxf3M7Cl2nsL0kQu5mknQrYiCCimUFVJxDr0YB8X19I/ThS7nFL23PbAm2kgNY2XKE3p Rv5G4edWSH9IzZYUebvCfuFd6oSaQuf/1CuhWFtcHMH+1D3Rfuj/8c2rU9IpRimZd2iD4h /aWIks5DHaG9hp679fn74a18AU940O8djCuT/h8lKq5rENsa3tBxCZd35j6igQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Rbpc/dGQ"; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -4.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Rbpc/dGQ"; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 2CC5019FAA X-Spam-Score: -4.04 X-Migadu-Scanner: scn1.migadu.com X-TUID: vzAA3baYSw0G 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