[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [RFC] The "c" Org macro
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [RFC] The "c" Org macro |
Date: |
Tue, 09 May 2017 12:35:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello,
Carsten Dominik <address@hidden> writes:
> I like the idea of these counters, and I have use-cases for them.
Great.
> Here is a proposal for the manual entry
>
> This macro implements custom counters by returning the number of times
> the macro has been expanded so far while exporting the buffer.
> You can create more than one counter using different @var{NAME} values. If
> @var{RESET} is non-empty, the specified counter is reset to the value
> specified if it is a number, or 1 otherwise. You may leave @var{NAME}
> empty to reset the default counter will be reset.
Thank you.
I removed the last "will be reset" and updated my patch accordingly.
I don't post it, however, so as to not flood the ML.
> A question regarding the last sentence of this proposed manual entry:
>
> is {{{c(,2)}}} allowed to reset the default counter? I think is should be,
> but I have not tested this.
It does reset the default counter, indeed. There is no other way to
reset it.
Regards,
--
Nicolas Goaziou 0x80A93738
- [O] [RFC] The "c" Org macro, Nicolas Goaziou, 2017/05/08
- Re: [O] [RFC] The "c" Org macro, Eric S Fraga, 2017/05/08
- Re: [O] [RFC] The "c" Org macro, Dushyant Juneja, 2017/05/08
- Message not available
- Re: [O] [RFC] The "c" Org macro, Eric S Fraga, 2017/05/08
- Re: [O] [RFC] The "c" Org macro, Nicolas Goaziou, 2017/05/08
- Re: [O] [RFC] The "c" Org macro, Carsten Dominik, 2017/05/09
- Re: [O] [RFC] The "c" Org macro,
Nicolas Goaziou <=
- Re: [O] [RFC] The "c" Org macro, Rasmus, 2017/05/09
- Re: [O] [RFC] The "c" Org macro, Nicolas Goaziou, 2017/05/09
- Message not available
- Re: [O] [RFC] The "c" Org macro, Eric S Fraga, 2017/05/11
- Re: [O] [RFC] The "c" Org macro, Nicolas Goaziou, 2017/05/21
- Re: [O] [RFC] The "c" Org macro, Kaushal Modi, 2017/05/21
- Re: [O] [RFC] The "c" Org macro, Nicolas Goaziou, 2017/05/22
- Re: [O] [RFC] The "c" Org macro, Kaushal Modi, 2017/05/22
- Re: [O] [RFC] The "c" Org macro, Nicolas Goaziou, 2017/05/22
- Re: [O] [RFC] The "c" Org macro, Kaushal Modi, 2017/05/22
- Re: [O] [RFC] The "c" Org macro, Kaushal Modi, 2017/05/22