From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8P/7CcAzfWZoYAEA62LTzQ:P1 (envelope-from ) for ; Thu, 27 Jun 2024 09:41:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 8P/7CcAzfWZoYAEA62LTzQ (envelope-from ) for ; Thu, 27 Jun 2024 11:41:20 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=i2sHaPSk; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719481280; 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: 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=8LNKVrcmPSZKf39ixvp8YXo29x6+0E8A9uKUsJj68j0=; b=KtVnYb4PqfG+LIGe12y9sjXzfesHjtqFjiSbm6I6xDkJ0hGypVCc6xjfJM4wwvS/M3QhqZ QVKWt2LSZ1pnDJ3HOCENgDx3B6TLziBkKkrisZKSf7LqY+jZeKgJ7tr5AdUuSMxRWR/5WJ o4Mkm8jkiAQHmH0Ev2uQqL+ZFPD+mdJXUxz3usRlBslOubOV8fC5ptUcRg3wqbwF8KpJap e3puiWMk6s0PS2UH3sRj33LDpRWmw8SfQ0NdusW+A7pHxO5JQQj2woB311p1E67/47W26D 78OWVv64vyQBWZgCu2tUTt6//TO6LX5hfg79+TgIkkK+aDSRYENmeFLGJVKHPQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=i2sHaPSk; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719481280; a=rsa-sha256; cv=none; b=lF2we/1nm0AnR3H5yf9oj+OPsNNss+e0nnVoZt2zBKuoE2UShaF7ZtpkIIiScnu7KUYIvs XHMmOvyj1hSriLw7OCALxF+rvWbnrd0XkKj1AzhwhlAHPAyLA0em6nXD3/LYawfj7F5OPN BHQBl1tTqNiUyOreBg59AijkSRLgpz9gQvHSlnyamDs2Fgur3ANRJNIPhX4L+f7u7Jyo8L QPhlMhqNeGEtPMi0l93N89rzysE+sJKt4qZCQfFkPc3dEd+WTpMJvu37F7rqxOjNpngq72 7gkhEELzLNRVkEgjBVXroiHL8mns6CEcgpFsYYbSRLqmB8Ds8ysPO0l5tLL6Vg== 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 88CC425BC3 for ; Thu, 27 Jun 2024 11:41:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMlc6-00065j-Al; Thu, 27 Jun 2024 05:40:22 -0400 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 1sMlc5-00065Q-1E for emacs-orgmode@gnu.org; Thu, 27 Jun 2024 05:40:21 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMlbz-0002wb-RA for emacs-orgmode@gnu.org; Thu, 27 Jun 2024 05:40:20 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 463D5240101 for ; Thu, 27 Jun 2024 11:40:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1719481213; bh=2qBsOvKCaMqOIO+kT09OZUq/Suuosbpn1G3fJnvRe9E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=i2sHaPSkxxt+eYRFpnYtzOzOexBvDq8OejLqB8UXyGNIWCBOV3TsiHDw4lozrsiTn yNZVbWGsGBYhzDFRIkoMpkiJX1k/F4jSN6zcIQSlgoUOir3GQo9RH8mSF9u5ufVED+ CTWi7F2kaeVb/wa2V8imKjtAEmfilJtwK1Vc+d9pcVmFZVRWHTUOYPOhpnXoYSdNUS TlYFbnBwLEoRfNkko8o7dY9aKHhBEPwbqMVzfPzWuaLi7xBtX7vL81jeWWzyVffsx1 +ej1ylP4LnJ+n3A5lI0GY5YNOvYplY8KFU0eAxXl/JxIVG46eV7MPxFJX6P6WKFRzc cfLZcwXUNtEDw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4W8tpM7356z6twJ; Thu, 27 Jun 2024 11:40:11 +0200 (CEST) From: Ihor Radchenko To: Sam Crawford Cc: emacs-orgmode@gnu.org Subject: [POLL] ob-R, ob-julia: Should we force-disable ess-ask-for-ess-directory? (was: [BUG] Relative filenames for graphics output in ob-R.el [9.8-pre (release_9.7.4-80-g7fa169)]) In-Reply-To: References: <16Z2_l6WnvrrYSQE7LC5XJQB3dO0DNAREBe7F4yE_DuNVOpHzqwELJ08ditlBSgFv_nnI3FSwi0JYCLEpd9CMqViJHxHiR3XbGeqDf4DM7Y=@crawf.uk> <87jzibkfc4.fsf@localhost> Date: Thu, 27 Jun 2024 09:41:51 +0000 Message-ID: <871q4izpr4.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.59 X-Migadu-Queue-Id: 88CC425BC3 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.59 X-TUID: MG/Jl//F2Thj [ Adding Org mailing list back to CC to keep the conversation public ] Sam Crawford writes: >> May you please create a reproducer? > > Sure: evaluating the following code cell > > #+begin_src R :session R :async yes :results file graphics :file test.png > plot(iris$Sepal.Length, iris$Sepal.Width) > #+end_src > > will call run-ess-r, which gives a prompt asking for the "R starting dire= ctory". Selecting any directory other than the directory the org file is lo= cated in will cause the issue. I can reproduce, but I am not sure if this is something we are supposed to fix. The Org mode manual says the following about :dir header argument in code blocks: The =E2=80=98dir=E2=80=99 header argument specifies the default directo= ry during code block execution. If it is absent, then the directory associated with the current buffer is used. ... When =E2=80=98dir=E2=80=99 is used with =E2=80=98session=E2=80=99, O= rg sets the starting directory for a new session. But Org does not alter the directory of an already existing session. ob-R currently does not obey what the manual says, and, when :dir is omitted, allows the session directory to be set via prompt rather than keeping the Org buffer's directory. I'd like to hear from ob-R/ob-julia users whether the current behavior is something they rely on. If not, I'd prefer to follow the conventions we introduce in the manual and suppress the ESS's directory prompt. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at