From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: [RFC] [PATCH] ob-core.el: allow the auto-generation of output file names for src blocks. Date: Wed, 23 Apr 2014 21:44:57 +0200 Message-ID: <87mwfbkeyu.fsf@Rainer.invalid> References: <1398196476-4773-1-git-send-email-aaronecay@gmail.com> <87bnvt2h6r.fsf@bzg.ath.cx> <87d2g92au5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wd36g-0002uB-7G for emacs-orgmode@gnu.org; Wed, 23 Apr 2014 15:45:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wd36X-0001Ai-Hp for emacs-orgmode@gnu.org; Wed, 23 Apr 2014 15:45:22 -0400 Received: from plane.gmane.org ([80.91.229.3]:48288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wd36X-00019X-9f for emacs-orgmode@gnu.org; Wed, 23 Apr 2014 15:45:13 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wd36U-0008Q3-0L for emacs-orgmode@gnu.org; Wed, 23 Apr 2014 21:45:10 +0200 Received: from pd9eb04a2.dip0.t-ipconnect.de ([217.235.4.162]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Apr 2014 21:45:10 +0200 Received: from Stromeko by pd9eb04a2.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Apr 2014 21:45:10 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Aaron Ecay 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. 3. If both :file and :file-ext are present, :file takes precedence and :file-ext is ignored. > 1. should :file-ext without a #+name be a no-op, or an error? Since you are hoping to inherit these via properties, this should be a nop if not applicable. > 2. should :output-dir apply to the :file case as well? I'd say no since it seems this would be backwards-incompatible. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf microQ V2.22R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada