Hi Achim, Bastien <b...@altern.org> writes:
> Yes -- but what I'm arguing about is that the special syntax is not > needed. Or more specifically, it is not needed to have > > (org-export-define-backend html > ((bold . org-html-bold) > > instead of just > > (org-export-define-backend 'html > '((bold . org-html-bold) Some more thought on this. For `org-export-define-derived-backend', my assumption is that the macro mimicks the style of `define-derived-mode': (define-derived-mode CHILD PARENT NAME &optional DOCSTRING &rest BODY) `define-derived-mode' is a macro and both CHILD and PARENT are unquoted symbol names. It makes sense in this case to use this syntax because those symbol names are meant to be accessible to the user as symbols. When I see a (define-derived-mode CHILD...) sexp, I know I can check for the value of CHILD, once derived-defined. This is not the case for `org-export-define-derived-backend', where CHILD and PARENT are not symbols the user wants to check. There are symbols that only have a meaning in `org-export-registered-backends', which is what the users/devs really want to manipulate. So mimicking `define-derived-mode' is confusing here IMHO. Anyway, waiting for Nicolas feedback on this. -- Bastien