From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CHJxDx6p4GAx3QAAgWs5BA (envelope-from ) for ; Sat, 03 Jul 2021 20:14:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eDsZCx6p4GCoLAAAbx9fmQ (envelope-from ) for ; Sat, 03 Jul 2021 18:14:54 +0000 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 54594171CF for ; Sat, 3 Jul 2021 20:14:53 +0200 (CEST) Received: from localhost ([::1]:48686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzkAF-0000Ph-4P for larch@yhetil.org; Sat, 03 Jul 2021 14:14:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzk9i-0000PJ-3s for emacs-orgmode@gnu.org; Sat, 03 Jul 2021 14:14:18 -0400 Received: from mx0b-00395d01.pphosted.com ([148.163.137.170]:43542) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzk9f-0000g0-HV for emacs-orgmode@gnu.org; Sat, 03 Jul 2021 14:14:17 -0400 Received: from pps.filterd (m0173176.ppops.net [127.0.0.1]) by mx0b-00395d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 163IAntn008056; Sat, 3 Jul 2021 11:14:11 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsd.edu; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=campus; bh=QRM9PIunNn6kOzdFUsXVMc1FdINyZnQG/A0KykJLzUw=; b=toXMnx9nYcq0sipGUfmSYiZHrm/WZGjCPlSF6ybF9KMAVUK0HpT5cbGfeD2BDWrp4d5E WG1Bfl8ufAU0Y2/gVZ4wMyXewzj+sHoLgEzJ+Hi24cx9ChSMxWee2Vb+6EcatraRfPr+ YW4AZ94H+upV86JTnKhqN2f2KEdZX2QJIQZPx/8DQj1ztDkdivO9gIwP4vGiF5uq5Vho zn+WkC6pJXvd4Lr2E5gUVc+OUx/l1LJKzE74TCnZ7U3jrY1X4VoW2IQzz2OZq6IgfhFh FhwK/ZOpAfQflHG1pCHS8wKDXr7EPlmeJOjPJejhPUtyW5HsM8U90JELMyy00qPNd/S+ Yw== Received: from secdlpezp05.ucsd.edu ([40.112.251.180]) by mx0b-00395d01.pphosted.com with ESMTP id 39jkvp0gdr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 03 Jul 2021 11:14:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DLrFbonCi7sZPbt30BEopNruDFLHXTc3iXxWH/J0FaP+F0ctjDCDpyDse2/QYM/xiXdxLvuz9IjrdUE7MXnjYrwoeCzIvaV6bl6pU6gA9O5Xga9IIiSXpU17Ow57CgHgrfjXqES9BpWAhHq6nsL8RzblpYOmO8o3gjeaaf6jCuSiVy+9DWThcOQy3m4zb15kcKKUmmhLd/lS//wQ2IKNdsKXaynRvjvBqambr0BTH77mymfanzEHjGCLbw2E0c0z9bSauVVl7k2lM5LRjr5oFQPNB/CXR+pXZjN3VVWXbLBxY1lUrzQ6M7eemNXnQD33r6WC+VcJJ88ETVEfgam85g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QRM9PIunNn6kOzdFUsXVMc1FdINyZnQG/A0KykJLzUw=; b=SI4inyPj7XF/LCzs07A2bpz+vtTaT5NJFXxH1c+HTolz+J4b4Ea6uGpzIFYI/38mv5S+ZYDE7fEbvg0JP+K8CE4Ve4R2XjyuNGKOKwXpwcc8/bqTVFk9nk51rhnr3DXLi74eDP5IV9ne+5uytMGDewlwTcOjzjGkdKzZ1iHwxElckS23/IApfaGTt2XdRMvGhI8xSmKhJ/q4XZqt0eQthhmpFMlKiwl8tSDzyGkp4P1Ep5ksRsl7jQvFmYmCmZYcKSibfsI7+DlHIXAHFZlVd4/2TPzKA2pZwO8ghtuTkH4kRp+CXQdhsuMhsGhgAdgZmrbjksdGsjDSSFgDoipBRw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=health.ucsd.edu; dmarc=pass action=none header.from=health.ucsd.edu; dkim=pass header.d=health.ucsd.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsdhs.onmicrosoft.com; s=selector2-ucsdhs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QRM9PIunNn6kOzdFUsXVMc1FdINyZnQG/A0KykJLzUw=; b=f6qP5Pve65MUZ3BYILUizDfcFyovR1+Aw7I0yclTyyy7vSEIcz9ZU9l4VjY+VobAjnD4ri/ywzMa8qWAGKJdEEKp6uC3+C/sB5P9u7Upawk1fTGylNQi7oNRAS6gpUmpX8GtTV3W42ZR9zLZ+HisiSLMNARUhm74u+QCZPMbSOE= To: Jack Kamm Subject: Re: [PATCH] ob-R output file with graphics parameter Thread-Topic: [PATCH] ob-R output file with graphics parameter Thread-Index: AQHXaIIfKhMWjCrH0Eib/NpS4B1Q2qsi46/NgAU6mwCAAeEUCYAGtWYAgADoowA= Date: Sat, 3 Jul 2021 18:14:06 +0000 Message-ID: References: <8735t8nqlf.fsf@gmail.com> <87pmwbty75.fsf@yandex.com> <871r8n1ban.fsf@gmail.com> <87o8bpbqp3.fsf@gmail.com> <87h7hcowmv.fsf@gmail.com> In-Reply-To: <87h7hcowmv.fsf@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2600:1702:1021:b0:fdb2:6383:e9c0:3bf1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: db3f963c-73c9-4dfa-fdef-08d93e4e58bb x-ms-traffictypediagnostic: BY5PR19MB3350: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: HvhOeIAIAxkKFbDwO5uiEH/xrJyP3FwXTxpYbUsp5L3oa39/oOBzUt7aNvr5ui8Kxrf/vVwYlOZ4B0YDIAm0nCaXw5/kYtPs8WH235SkRqLLXHNuNnU4XbL1T/j4F5im3WRkA3/OAW5k1vrdEATW7V0tOt9GNZPmKoclloDHI3qgDBt//BnCwl5pjKR3t3ofHeXAWBy5El6BCTMVWTWbTxB8zcK6lW7KTKTwuaJZKLpc1xrqqu7zx6TMJKdTojjtbqbA9wpwWCKIwVIXe9bbcADf50sxWpFfJrvlTJtyLqDzWu5dwelPK4MRZrj77hBwI7zo2rZ3H7uACiYcJpsD/NKnS62MqVOK7aN/RBY8g5+HzCKL6GDSMTXBo4Z3A4QiNJu9smBnc8itglbjWGQxIuSRkQc1uVSvyhpgbQDIca1MmEbXgJUhbl0ILxC4CC4G3TVKcAvvCte5LlkOZrC+NzhhWROVXYzkexEcSuZ/QkDgwPupbcPmjPvWGOG0fRk4cJ/e7ECCr1Nvkgn5EmZubRbmw9Voo22Sq1q767dHQFUrjMQCmGAGpKQs4u8Fnnc1AZGllYDeQqcLHOjMMh+5wlxAm1eRnukaifEcHC6ec5mD+zdgsalDpQFJr1UikSxl3OA5KtCeko+UQRm1/jO0Lb9BXOWDc5N9KlxPOOJ/ioKLKbv3Z85eLtUogobYBm05GecJMFzf4ydItrBHZsvVJakGnN14GP2XHOlOOZ4w03hi/JSGrxb9T9Jy1feUMUAVW8UfEBPMeLzY4IsMoKRUCOByISQEG83d5sj0W6fALLU= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR19MB2581.namprd19.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(376002)(136003)(346002)(396003)(366004)(2906002)(186003)(122000001)(38100700002)(6916009)(786003)(316002)(71200400001)(53546011)(75432002)(5660300002)(966005)(6486002)(478600001)(33656002)(2616005)(8676002)(54906003)(6506007)(64756008)(66476007)(76116006)(66446008)(4326008)(66946007)(86362001)(8936002)(6512007)(66556008)(45980500001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?G/aNV3TU5sa1agHLWlv4gx5GxgLwwtaXqr994g7Qacz1vzgTUANPkdLWAZEZ?= =?us-ascii?Q?At9JUCyn9oyxPlxsHEWU4PHAJYT+wH8hwcWMCt9Bj/fnl4Loz1bqe3pXltQh?= =?us-ascii?Q?gs2ocuxYeIVxuBVjn5bclE9R1xkgAhFRMAT44sTfKXySGgz4gZ2NcsmGMyTy?= =?us-ascii?Q?WxwXC/SOpUH2cehl2G92SdggpIadDFxcWOybFZM9rPJsChYfSJjSTfIOWYZF?= =?us-ascii?Q?x/2TTg4zl1iNj7rcN7vBTBywZCoEB7fuAwlA5j5EA5Jcm2uPuHGveU9witM/?= =?us-ascii?Q?N3ZW3XdzE5eieoFVZKSfqencD+gYMuQf0NlNPunUoZ+sLfGxY7wzcLVpqFc5?= =?us-ascii?Q?Qh8a1nTg9vO2JuE6JV8wxLEJWu4WFp4N5GhWcVRSnr3404Mf0SWaLQfITDaE?= =?us-ascii?Q?PfDUY6GqgKaatROr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ruZwv?= =?us-ascii?Q?sO3RVzCzNCy28zlhFXTdPrmsQTayl6aCuM7wmV5GINItocTMgjC2QDiRvp25?= =?us-ascii?Q?PlsCKvbIGznj8a1yrdvvh9jjKtQm?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-ID: <922897AED245C546A5EB72D50832909A@namprd19.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: health.ucsd.edu X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR19MB2581.namprd19.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: db3f963c-73c9-4dfa-fdef-08d93e4e58bb X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jul 2021 18:14:06.5922 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e470d736-e7f7-41a8-8eab-dad544b2b579 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: wnEHy3md7lOcfeTuoO8e6jHKHRYhlY2NfIRnNxiF7SV9+gwlpyHGTn88gBiIYHxoECjUrGLxPYrvC8phjNLzKw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR19MB3350 X-Proofpoint-GUID: RdJc9J-uTFuO4Xx0R77g74hIjtGG85Zk X-Proofpoint-ORIG-GUID: RdJc9J-uTFuO4Xx0R77g74hIjtGG85Zk X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-03_07:2021-07-02, 2021-07-03 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxlogscore=701 priorityscore=1501 bulkscore=0 clxscore=1011 phishscore=0 suspectscore=0 adultscore=0 impostorscore=0 spamscore=0 lowpriorityscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2107030114 Received-SPF: pass client-ip=148.163.137.170; envelope-from=ccberry@health.ucsd.edu; helo=mx0b-00395d01.pphosted.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Colin Baxter , Org Mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" Reply-to: "Berry, Charles" From: "Berry, Charles" via "General discussions about Org-mode." X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625336093; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=QRM9PIunNn6kOzdFUsXVMc1FdINyZnQG/A0KykJLzUw=; b=sfgpejro7umppI81pSJZBSOdz2Cqd8wz3W6/r4fPZnsWouaL9XjBmOvXedXGmOx+xAOnbz 9D5Nb6aovb0tVNElXCyVvlT/wfnoEbh0ndl07KGhJwhRD/OVt4yXSVFMK77ypWUmkcCuax flhC4OOSUaCQNOKnTNaREBnDOV/Yozf6+WOsxX9xv8v3KQOKpnTqxhFqlaaw5c06eRj14i GulgVAapO2tRnX0HGKaO4Onw6ZetTBVKgf66kFHi5+awEsjrNV97BGc9WwZvkY02ZnhYIC M3pOXFC6NXrFexdfKU+gprSp8yglod1SsSf3LFeJeUUE5lStRrMkZ4caJFM5bQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1625336093; a=rsa-sha256; cv=fail; b=SldzTTx3lxnZaWEVb5CTogpuGCZHoiWV4CpcJ3TqAMDblexNQllxJwJRzCYftzqErl2W8a p8ugH/Gutb4Jl6kS0hbp5NBXXOGk1u+dcY9NoWkwPcpkdGwlhHyzvPkTWFToLNoD107tsS f/e/rq9Q+sZDnvkF2nX6JPAU07H2G0FZABP2e8Qg7qTZnr55YwEYEcUy1A5Vy9p8MxpxNy DaAOvM3Xk4PyGxznbb0MHmBmlbqghn4/o08LMMDzZHmoj3FdzyUMgBRJE/4E1XSBjqEv2n DU4T3nSgEcKUm/SyAAVcGYlSalLPJZu8NqLp/+rdLQMujyD5kd3GtPKYn9fiiQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ucsd.edu header.s=campus header.b=toXMnx9n; dkim=fail ("headers rsa verify failed") header.d=ucsdhs.onmicrosoft.com header.s=selector2-ucsdhs-onmicrosoft-com header.b=f6qP5Pve; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -0.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ucsd.edu header.s=campus header.b=toXMnx9n; dkim=fail ("headers rsa verify failed") header.d=ucsdhs.onmicrosoft.com header.s=selector2-ucsdhs-onmicrosoft-com header.b=f6qP5Pve; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 54594171CF X-Spam-Score: -0.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: wFVoTrZNrrHT Sorry if I have misunderstood the proposals here, but ... A user might like to construct a figure consisting of various subfigures su= ch as in a subfloat environment. Will this be reasonably simple to accomplish if `:results graphics' (with n= o `file' element) automatically inserts a link? Currently, omitting the file element leaves the link out, which I believe i= s the most direct way to approach subfloats. If you deem it important to have the default behavior of `:results graphics= ` generate a link, maybe you can assure that there is a mechanism to avoid = inserting the link when that is what the user wants. Best, Chuck > On Jul 2, 2021, at 9:21 PM, Jack Kamm wrote: >=20 > Hi Jeremie, >=20 >>> The requirement for a second file parameter was added in Org 9.3 to >>> support the use case in this thread: >>>=20 >>> https://urldefense.com/v3/__https://orgmode.org/list/3ac2f42a-8ff2-1464= -fa36-451e2ef0eacd@pressure.to/__;!!LLK065n_VXAQ!wrIx4O0aTDnjRc6QXnCty-Wf2_= U0nrUvZzibHsZuLd3mjHpT9S5oQZbENlolMfVxcA$=20 >>>=20 >>> But this syntax is annoyingly verbose for ob-R users, and also broke >>> lots of ob-R examples prior to Org 9.3. >>>=20 >>> A simple fix might be to have the "graphics" flag implicitly add the >>> "file" flag as well. But we would need to first check that this doesn't >>> break other use cases. >>=20 >> I do agree with this solution. If the current specification works, we >> could make it easy for ob-R user by implicitly adding a file flag. But >> as far as I understand, the change will have to be made in ob-core.el. >=20 > Hmm, I think you're right -- this would have to be done in ob-core.el. >=20 > I think it would still make sense though, and would be beneficial beyond > ob-R. According to [1], the "graphics" and "link" arguments don't do > anything unless used with "file", so it would make sense for them to > automatically add the "file" argument. >=20 > [1] https://urldefense.com/v3/__https://orgmode.org/manual/Results-of-Eva= luation.html*Results-of-Evaluation__;Iw!!LLK065n_VXAQ!wrIx4O0aTDnjRc6QXnCty= -Wf2_U0nrUvZzibHsZuLd3mjHpT9S5oQZbENlqSa5Lb1Q$=20