emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] org-export-format-drawer-function docstring
@ 2010-04-24 13:05 Diogo F. S. Ramos
  2010-04-26  4:42 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Diogo F. S. Ramos @ 2010-04-24 13:05 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: Text/Plain, Size: 387 bytes --]

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

[-- Attachment #2: file.patch --]
[-- Type: Text/X-Patch, Size: 726 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] org-export-format-drawer-function docstring
  2010-04-24 13:05 [PATCH] org-export-format-drawer-function docstring Diogo F. S. Ramos
@ 2010-04-26  4:42 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2010-04-26  4:42 UTC (permalink / raw)
  To: Diogo F. S. Ramos; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-26  5:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-24 13:05 [PATCH] org-export-format-drawer-function docstring Diogo F. S. Ramos
2010-04-26  4:42 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).