From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Gerber Subject: Re: Ignored in-buffer settings and after-export hook Date: Tue, 03 Dec 2013 09:52:55 +0100 Message-ID: <529D9BE7.3030200@gmail.com> References: <5219F424.5030907@gmail.com> <877gf8k753.fsf@gmail.com> <521B5C9D.8070602@gmail.com> <87ob8hy53z.fsf@gmail.com> <521F1BDF.30909@gmail.com> <87vc0msfxr.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnljA-00071u-E6 for emacs-orgmode@gnu.org; Tue, 03 Dec 2013 03:53:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vnlj2-0008JV-0O for emacs-orgmode@gnu.org; Tue, 03 Dec 2013 03:53:08 -0500 Received: from mail-ee0-x233.google.com ([2a00:1450:4013:c00::233]:49205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vnlj1-0008JH-P6 for emacs-orgmode@gnu.org; Tue, 03 Dec 2013 03:52:59 -0500 Received: by mail-ee0-f51.google.com with SMTP id b15so1100595eek.10 for ; Tue, 03 Dec 2013 00:52:58 -0800 (PST) In-Reply-To: <87vc0msfxr.fsf@gmail.com> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Hello, On 24/10/2013 20:05, Nicolas Goaziou wrote: >>>> I guess I can, but it means re-doing the mapping sources to exported >>>> file names. >>> AFAICT, there is only one place where both the source and the output >>> name are known: in `org-publish-file', right after a file has been >>> published. >>> >>> We may add a hook there. Since, at that time, the current buffer can be >>> anything, both file names need to be passed as arguments to the hook. >>> Also, files skipped during the publishing process won't trigger it. >>> >>> What do you think? >> It would be fine! > It has been a long time, but would you mind testing the following patch? Yes it works for me. Thanks! Daniel Gerber