Hi Seb,

You could use the `org-babel-post-tangle-hook' to rename all tangled
files behind some common prefix.  Any function on this hook will be
called once per tangled file from within the tangled file, so it could
use the `buffer-file-name' to rename the file.

Best -- Eric

Sébastien Vauban <wxhgmqzgw...@spammotel.com> writes:

> Hello,
>
> Wanting to use Babel as much as possible, writing a lot of scripts that I
> tangle (and eventually share with others), I find that prefixing all tangled
> files shoud be a good habit in order to directly see which files (in dired)
> are the results of a tangling process.
>
> Of course, I can have this habit, but others (and colleagues) may not have it.
>
> Would it make sense to have an Org-Babel variable for such a prefix
> (defaulting to the empty string, and overridable per block, subtree, file,
> language, as for the rest)?
>
> Best regards,
>   Seb

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to