Certain commands appear not to work when indented
I have experienced some problems with choose
and rename
in a macro. Namely in a macro nested in another macro.
That is, I declare a macro like this:
define _repo_rename_expunges {
choose {0}-expunges
rename {0}-minus-{1}
choose {0}
and that's nested inside:
define rename_expunges do _repo_rename_expunges basename "{0}"
whereas basename
is a name I assign to the repository actions. I have quite some nested macros like this, but this is the only one that fails to perform the expected job.
I am using the macro this way:
do rename_expunges unique-name
to assign a unique name after expunging files (which I do several times).
It's possible that this is limited to rename
, but I am not 100% certain, yet. Investigating.