From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Gerber Subject: Re: Ignored in-buffer settings and after-export hook Date: Thu, 29 Aug 2013 12:01:03 +0200 Message-ID: <521F1BDF.30909@gmail.com> References: <5219F424.5030907@gmail.com> <877gf8k753.fsf@gmail.com> <521B5C9D.8070602@gmail.com> <87ob8hy53z.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]:53001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEz2U-0007Kb-0K for emacs-orgmode@gnu.org; Thu, 29 Aug 2013 06:01:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VEz2J-0003J6-NU for emacs-orgmode@gnu.org; Thu, 29 Aug 2013 06:01:17 -0400 Received: from mail-ee0-x22a.google.com ([2a00:1450:4013:c00::22a]:36220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEz2J-0003Iq-Gi for emacs-orgmode@gnu.org; Thu, 29 Aug 2013 06:01:07 -0400 Received: by mail-ee0-f42.google.com with SMTP id b45so122704eek.1 for ; Thu, 29 Aug 2013 03:01:06 -0700 (PDT) In-Reply-To: <87ob8hy53z.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, >> 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!