You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an Import macro is used and the content of the imported file is changed then the values of the macros defined in the imported file is not updated. Therefor any .rc file generated after the import file is changed will use the previous value of the macros.
Reproduce
Create an import file named test. Add a macro definition to it: foo=alice.
Create an import macro with name bar that imports test.
Create a .vi file in VIEd and set the Comments string info item to <%bar.foo>
View the RC Statements. It will contain VALUE "Comments", "alice\000"
Now edit foo macro definition in test to read foo=bob.
View the RC Statements again.. It will still have VALUE "Comments", "alice\000" where it should read VALUE "Comments", "bob\000"
Workaround
Change the import file then open the Macro Editor and press OK. The macros are then updated.
Action required
Change the implementation so that macros are re-read just before generating .rc file content.
The text was updated successfully, but these errors were encountered:
If an Import macro is used and the content of the imported file is changed then the values of the macros defined in the imported file is not updated. Therefor any
.rc
file generated after the import file is changed will use the previous value of the macros.Reproduce
test
. Add a macro definition to it:foo=alice
.bar
that importstest
.<%bar.foo>
VALUE "Comments", "alice\000"
foo
macro definition intest
to readfoo=bob
.VALUE "Comments", "alice\000"
where it should readVALUE "Comments", "bob\000"
Workaround
Change the import file then open the Macro Editor and press OK. The macros are then updated.
Action required
Change the implementation so that macros are re-read just before generating
.rc
file content.The text was updated successfully, but these errors were encountered: