## Macro Command Reference

`addcomment <BUFFER> <text>`
`addcomment <BUFFER> <format> <expr1> ... <expr16>`

Add text to the comment field of buffers. In the format string the `printf` tokens `%`f, `%`g and `%`e can be used for `<expr1>` - `<expr16>`.

`BUFFER`

a list of one or more data buffers. Possible values are:

`all` | all buffers in the document
`selected` | selected buffers in the document
`unselected` | unselected buffers in the document
`visible` | visible buffers in the document
`hidden` | hidden buffers in the document
`none` | no buffer
`b1,b2,b3,...,bn` | a list of buffers where the arguments may be math expressions.
`bs..be` | buffers from bs to be