[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [RFC] [PATCH] ob-core.el: allow the auto-generation of output fi
From: |
Bastien |
Subject: |
Re: [O] [RFC] [PATCH] ob-core.el: allow the auto-generation of output file names for src blocks. |
Date: |
Wed, 23 Apr 2014 08:27:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (gnu/linux) |
Hi Aaron,
Aaron Ecay <address@hidden> writes:
> How does this sound as an algorithm:
> 1. if :file is present, behave exactly as we do now
> 2. if :file is absent but :file-ext and a #+name is present, generate a
> :file parameter from :output-dir, the #+name, and :file-ext.
I suggest this one:
1. if :file is present, behave exactly as we do now
2. if :file-ext is present:
- if #+name is present, generate a :file parameter
from :output-dir, #+name and :file-ext
- otherwise, generate the :file parameter from
:output-dir, the headline or the title or the
current file name and :file-ext
Just falling back on something sensible when :file is absent
and :file-ext is specified.
> Open questions:
> 1. should :file-ext without a #+name be a no-op, or an error?
See above.
> 2. should :output-dir apply to the :file case as well?
To me yes.
In overall I think would be good, but I'd like Eric and other
babelist around here to have a look before we commit this.
So perhaps another round of patch testing will be good.
Thanks!
--
Bastien
- [O] [RFC] [PATCH] ob-core.el: allow the auto-generation of output file names for src blocks., Aaron Ecay, 2014/04/22
- Re: [O] [RFC] [PATCH] ob-core.el: allow the auto-generation of output file names for src blocks., Bastien, 2014/04/22
- Re: [O] [RFC] [PATCH] ob-core.el: allow the auto-generation of output file names for src blocks., Aaron Ecay, 2014/04/22
- Re: [O] [RFC] [PATCH] ob-core.el: allow the auto-generation of output file names for src blocks., Eric Schulte, 2014/04/23
- Re: [O] [RFC] [PATCH] ob-core.el: allow the auto-generation of output file names for src blocks., Bastien, 2014/04/23
- Re: [O] [RFC] [PATCH] ob-core.el: allow the auto-generation of output file names for src blocks., Aaron Ecay, 2014/04/27
- Re: [O] [RFC] [PATCH] ob-core.el: allow the auto-generation of output file names for src blocks., Achim Gratz, 2014/04/28
- Re: [O] [RFC] [PATCH] ob-core.el: allow the auto-generation of output file names for src blocks., Bastien, 2014/04/29
- Re: [O] [RFC] [PATCH] ob-core.el: allow the auto-generation of output file names for src blocks., Achim Gratz, 2014/04/23