[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Citation syntax: a revised proposal
From: |
Rasmus |
Subject: |
Re: [O] Citation syntax: a revised proposal |
Date: |
Fri, 27 Feb 2015 10:56:58 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Samuel Wales <address@hidden> writes:
>> If you don't allow a generalized link to follow a
>> user-specified λs then you don't have a flexible syntax
>> that you expressed desire for above. You'd still have to
>> wait for somebody "upstream" to develop [color-start:⋯].
>
> not sure why you are talking about links.
'Cause [type/subtype: whaterver]{:key val} or [type/subtype:
whaterver :key val] is like links, only meant to operate as functions,
treating data. Much like links are used, making the description part
rather annoying at times...
> you can write color-start as a user. you can even define a
> feature that requires a lambda: $[rasmus-color-start (lambda
> (x) (rasmus-stuff))]. or $[rasmus-color ...].
>
> but if we are going to define citations with this syntax,
> then we can do so strictly. no need for lambda.
Consider:
[cite/color-me-pink:this will be pink]
The subtype is color-me-pink. Color-me-pink is a user-written function (a
λ). E.g.
(add-to-cite-types "color-me-pink" (lambda (cite) (my/pink cite)))
Note that this example can already be implemented via macros.
> maybe you are saying that you don't think it's a good idea
> to allow other first atoms. not sure why.
No. I would be thrilled about that. It would be much better than links
for most purposes.
But it's a different issue.
> also, those adjectives are up to the developers.
Agreed.
—Rasmus
--
Hooray!
- Re: [O] Citation syntax: a revised proposal, (continued)
- Re: [O] Citation syntax: a revised proposal, Richard Lawrence, 2015/02/19
- Re: [O] Citation syntax: a revised proposal, Nicolas Goaziou, 2015/02/19
- Re: [O] Citation syntax: a revised proposal, Richard Lawrence, 2015/02/20
- Re: [O] Citation syntax: a revised proposal, Samuel Wales, 2015/02/20
- Re: [O] Citation syntax: a revised proposal, Rasmus, 2015/02/20
- Re: [O] Citation syntax: a revised proposal, Samuel Wales, 2015/02/20
- Re: [O] Citation syntax: a revised proposal, Rasmus, 2015/02/21
- Re: [O] Citation syntax: a revised proposal, Thomas S. Dye, 2015/02/21
- Re: [O] Citation syntax: a revised proposal, Samuel Wales, 2015/02/26
- Re: [O] Citation syntax: a revised proposal, Stefan Nobis, 2015/02/27
- Re: [O] Citation syntax: a revised proposal,
Rasmus <=
- Re: [O] Citation syntax: a revised proposal, Richard Lawrence, 2015/02/20
- Re: [O] Citation syntax: a revised proposal, Rasmus, 2015/02/21
- Re: [O] Citation syntax: a revised proposal, Samuel Wales, 2015/02/21
- Re: [O] Citation syntax: a revised proposal, Samuel Wales, 2015/02/21
- Re: [O] Citation syntax: a revised proposal, Aaron Ecay, 2015/02/25
- Re: [O] Citation syntax: a revised proposal, Richard Lawrence, 2015/02/25
- Re: [O] Citation syntax: a revised proposal, Nicolas Goaziou, 2015/02/25
- Re: [O] Citation syntax: a revised proposal, Richard Lawrence, 2015/02/26
- Re: [O] Citation syntax: a revised proposal, Thomas S. Dye, 2015/02/25
- Re: [O] Citation syntax: a revised proposal, Aaron Ecay, 2015/02/26