From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noufal Ibrahim Subject: Re: Name of file being exported. Date: Tue, 14 Apr 2009 22:09:48 +0530 Message-ID: <49E4BC54.1060504@nibrahim.net.in> References: <49E3F37E.5090704@nibrahim.net.in> <5DBFB303-366D-4485-82B9-6CF0EFAC257C@gmail.com> <49E4A4A4.8050909@nibrahim.net.in> <16352.1239726014@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ltlg3-0003dO-HT for emacs-orgmode@gnu.org; Tue, 14 Apr 2009 12:40:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ltlfz-0003cr-QJ for emacs-orgmode@gnu.org; Tue, 14 Apr 2009 12:40:03 -0400 Received: from [199.232.76.173] (port=58640 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ltlfz-0003cm-Gz for emacs-orgmode@gnu.org; Tue, 14 Apr 2009 12:39:59 -0400 Received: from deleuze.hcoop.net ([69.90.123.67]:49924) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ltlfy-0000wV-Vk for emacs-orgmode@gnu.org; Tue, 14 Apr 2009 12:39:59 -0400 In-Reply-To: <16352.1239726014@gamaville.dokosmarshall.org> 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org Hi Nick, Nick Dokos wrote: [..] > > Can you run org-update-all-dblocks by hand before doing the export? That's possible. What I do now is to to add the org-update-all-dbblocks to write-file-hooks as suggested by the info pages. This works for me but there are times when I export directly without saving and I'd like the block to get updated then too. > If so, you can even automate the process by advising > org-export, so that org-update-all-dblocks is run before org-export > proper is called. [1] This sounds better. I shall try this. Although I'm wondering if there isn't a hook that I can add a function to manage what I want. -- ~noufal http://nibrahim.net.in/