Ben Schmidt wrote:
Hi, Bram,
Another one for the todo list, I think (can't spot it on there).
If you issue setglobal in a read-only buffer for an option that
locally would change the buffer, it fails with an error. E.g. in a
help window issue
:setglobal fenc=anything
and you get
Hi, Bram,
Another one for the todo list, I think (can't spot it on there).
If you issue setglobal in a read-only buffer for an option that locally would
change the buffer, it fails with an error. E.g. in a help window issue
:setglobal fenc=anything
and you get
E21: Cannot make changes,
Ben Schmidt wrote:
Hi, Bram,
Another one for the todo list, I think (can't spot it on there).
If you issue setglobal in a read-only buffer for an option that locally would
change the buffer, it fails with an error. E.g. in a help window issue
:setglobal fenc=anything
and you get
I confirm that it fails if 'modifiable' is off, as in a helpfile. For a plain
'readonly' (but 'modifiable') file there is no problem, and the buffer is not
marked as modified.
Thanks again for the correction, Tony.
Not my week evidently!
Ben.
Send instant messages to your online
Ben Schmidt wrote:
I confirm that it fails if 'modifiable' is off, as in a helpfile. For a
plain
'readonly' (but 'modifiable') file there is no problem, and the buffer is
not
marked as modified.
Thanks again for the correction, Tony.
Not my week evidently!
Ben.
If ever I make