From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [PATCH] org-export-format-drawer-function docstring Date: Mon, 26 Apr 2010 06:42:25 +0200 Message-ID: <9AC530BA-E4D6-4D65-BE6D-02FB502ECA92@gmail.com> References: <20100424.100536.663621110448237441.diogofsr@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6HE0-0002s4-MC for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 01:51:20 -0400 Received: from [140.186.70.92] (port=47040 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6HDx-0002qH-DB for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 01:51:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6HDu-0007IP-VK for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 01:51:17 -0400 Received: from mail-ew0-f214.google.com ([209.85.219.214]:60964) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6HDu-0007IB-QV for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 01:51:14 -0400 Received: by ewy6 with SMTP id 6so4024264ewy.32 for ; Sun, 25 Apr 2010 22:51:14 -0700 (PDT) In-Reply-To: <20100424.100536.663621110448237441.diogofsr@gmail.com> 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: "Diogo F. S. Ramos" Cc: emacs-orgmode@gnu.org Applied, thanks for catching this! - Carsten On Apr 24, 2010, at 3:05 PM, Diogo F. S. Ramos wrote: > Hello, > > I would like to suggest a little change in the documentation. The > presented order of the parameters in the description of > `org-export-format-drawer-function' gives the false impression that > that is the order which the user function needs to list its > parameters. The right order -- at least using the development version > -- would be `name content backend'. > > -- > Diogo F. S. Ramos > diff --git a/org-configs/org-hooks.org b/org-configs/org-hooks.org > index 50a5516..1922d09 100644 > --- a/org-configs/org-hooks.org > +++ b/org-configs/org-hooks.org > @@ -711,9 +711,9 @@ Defined in: /org-exp.el/ > #+begin_example > Function to be called to format the contents of a drawer. > The function must accept three parameters: > - BACKEND one of the symbols html, docbook, latex, ascii, xoxo > NAME the drawer name, like \"PROPERTIES\" > CONTENT the content of the drawer. > + BACKEND one of the symbols html, docbook, latex, ascii, xoxo > The function should return the text to be inserted into the > buffer. > If this is nil, `org-export-format-drawer' is used as a default. > #+end_example > _______________________________________________ > 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 - Carsten