Currently, buffer-local-properties are reloaded each time the buffer is saved, overriding
changes made by the user using the Buffer Options dialog. See an example use case
at the bottom.
I think the right behavior during save is to prevent reloading of those buffer-local-properties
that were changed by the user and whose buffer-local-properties haven't changed.
Example use case: The user guide of the Tags plugin (Tags/doc/users-guide.xml) is
opened in 'rest' mode due to a buffer-local-property. This mode provides no syntax
coloring for me, so I manually change it to XML using the Buffer Options dialog. As
soon as I save the file after making changes to it, it automatically goes back again
to 'rest' mode and again I lose the syntax coloring.
Submitted | nobody - 2007-10-11 13:39:16 | Assigned | |
---|---|---|---|
Priority | 5 | Labels | core |
Status | open | Group | None |
Resolution | None |
2007-10-12 01:27:28 daleanson |
- **assigned_to**: nobody --> daleanson |
---|---|
2007-10-12 01:27:28 daleanson |
Logged In: YES |
2007-10-12 04:41:24 *anonymous |
- **status**: closed-fixed --> open |
2007-10-12 04:41:24 *anonymous |
Logged In: YES |
2007-10-13 15:34:08 daleanson |
- **assigned_to**: daleanson --> nobody |
2007-10-30 06:19:28 *anonymous |
Logged In: YES |