From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Bizarre gnuplot file creation error Date: Fri, 17 Nov 2017 07:45:34 +0000 Message-ID: <87k1yp4ach.fsf@gmail.com> References: <87zi7ve374.fsf@delle7240.chemeng.ucl.ac.uk> <87d14hvr5e.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFbLI-0000TJ-Vn for emacs-orgmode@gnu.org; Fri, 17 Nov 2017 02:45:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eFbLF-0003UO-Tt for emacs-orgmode@gnu.org; Fri, 17 Nov 2017 02:45:41 -0500 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:40710) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eFbLF-0003UA-Ne for emacs-orgmode@gnu.org; Fri, 17 Nov 2017 02:45:37 -0500 Received: by mail-wm0-x22d.google.com with SMTP id b189so4478480wmd.5 for ; Thu, 16 Nov 2017 23:45:37 -0800 (PST) In-Reply-To: <87d14hvr5e.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Thu, 16 Nov 2017 22:40:29 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: emacs-orgmode Mailinglist , Lawrence Bottorff --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thursday, 16 Nov 2017 at 22:40, Nicolas Goaziou wrote: > Hello, > > Eric S Fraga writes: > >> The proper solution would be to update ob-gnuplot to change the working >> directory at every invocation of gnuplot to be the directory where the >> org file is found. (gnuplot has a "cd" command for this purpose) > > Would you like to propose a patch for that? BTW should the new working > directory be Org file's or :file, or even :dir? I can try... but I really probably don't have a clue how to find the directory for any of the alternatives you mention. My gut feeling is that it should be the org file's directory but I guess :dir should override this. Anyway, I'll play with it and get back to you. =2D-=20 : Eric S Fraga via Emacs 27.0.50, Org release_9.1.3-162-gde289d --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWg6TngAKCRDIkZPY//z2 fWfUAJ0fXG8W4azAESITh+wbqyZDHX54UQCbBSQVh7bmgJ/RBHF3ea3emamEO4Y= =z01R -----END PGP SIGNATURE----- --=-=-=--