Chris Gray <chrismg...@gmail.com> writes:

> Dan Davison wrote:
>
>> Unless I hear views to the contrary from other org-babel users, I'm
>> going to change this later today so that, when a file name is supplied
>> for tangling, org-babel no longer attempts to guess the file
>> extension. The only situation when tangling will guess the file name
>> extension is if you supply ':tangle yes' in which case the behaviour
>> will be as it is currently (i.e. the org file name, minus .org, plus the
>> extension defined in org-babel-tangle-langs.)
>
> Would it be possible to add the extension if no extension exists?

You mean where the extension is defined to be everything after the last
'.'? I believe that that was the kind of thing we were attempting to do
but that I am now thinking was misguided. For example, if someone wants
an output file name like xxx.yyy.tex, then they might supply :tangle
xxx.yyy in which case we might end up concluding that the extension is
yyy and they'll never get the .tex.

Dan

>
> Cheers,
> Chris
>
>
>
> _______________________________________________
> 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


_______________________________________________
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