[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Build fail with emacs 24.3.1
From: |
Bastien |
Subject: |
Re: [O] Build fail with emacs 24.3.1 |
Date: |
Thu, 14 Mar 2013 13:28:56 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
Hi Achim,
Bastien <address@hidden> 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
- [O] Build fail with emacs 24.3.1, Neuwirth Erich, 2013/03/13
- Re: [O] Build fail with emacs 24.3.1, Bastien, 2013/03/13
- Re: [O] Build fail with emacs 24.3.1, Andreas Röhler, 2013/03/13
- Re: [O] Build fail with emacs 24.3.1, Achim Gratz, 2013/03/13
- Re: [O] Build fail with emacs 24.3.1, Bastien, 2013/03/13
- Re: [O] Build fail with emacs 24.3.1, Achim Gratz, 2013/03/14
- Re: [O] Build fail with emacs 24.3.1, Bastien, 2013/03/14
- Re: [O] Build fail with emacs 24.3.1,
Bastien <=
- Re: [O] Build fail with emacs 24.3.1, Achim Gratz, 2013/03/14
- Re: [O] Build fail with emacs 24.3.1, Bastien, 2013/03/19
- [O] `org-export-define-backend' and its friends are now defuns (was: Build fail with emacs 24.3.1), Florian Beck, 2013/03/20
- Re: [O] `org-export-define-backend' and its friends are now defuns, Bastien, 2013/03/20