From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: Re: [babel] org-babel: tangling to latex .sty/.cls files Date: Wed, 17 Mar 2010 13:21:01 -0400 Message-ID: <87tyselv9e.fsf@stats.ox.ac.uk> References: <51b0095d1003161510w1f94a1cfk60076dc2d5a5b6f4@mail.gmail.com> <87iq8vynsd.fsf@stats.ox.ac.uk> <86r5njhsle.fsf@portan.ibr.cs.tu-bs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nrwvg-0002RU-KK for emacs-orgmode@gnu.org; Wed, 17 Mar 2010 13:21:12 -0400 Received: from [140.186.70.92] (port=50302 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nrwvf-0002Q2-2A for emacs-orgmode@gnu.org; Wed, 17 Mar 2010 13:21:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nrwva-00032j-LB for emacs-orgmode@gnu.org; Wed, 17 Mar 2010 13:21:10 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:55097) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nrwva-00032I-EC for emacs-orgmode@gnu.org; Wed, 17 Mar 2010 13:21:06 -0400 In-Reply-To: <86r5njhsle.fsf@portan.ibr.cs.tu-bs.de> (Chris Gray's message of "Wed, 17 Mar 2010 16:32:13 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Chris Gray Cc: emacs-orgmode@gnu.org Chris Gray 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