emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bizarre gnuplot file creation error


From: Eric S Fraga
Subject: Re: [O] Bizarre gnuplot file creation error
Date: Wed, 22 Nov 2017 14:03:07 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

On Thursday, 16 Nov 2017 at 22:40, Nicolas Goaziou wrote:
> Hello,
>
> Eric S Fraga <address@hidden> 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?

Nicolas,

can you please advise on how to get the directory the originating org
file may lie in from within org-babel-expand-body:gnuplot?

I cannot remember if I answered your second question but my gut feeling
is that the change of directory should be automatic; the file directive
can always specify a full path if desired.

Thanks,
eric

-- 
: Eric S Fraga via Emacs 27.0.50, Org release_9.1.3-162-gde289d

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]