{sigh} and off the rails we go again.
Why is it so hard to get an answer to the actual question being asked?
To wit...
"Is there some way to temporarily disable the auto-renaming in the entire Source file?"
It really does not matter why I want to do that, just answer the question if you know how to help.
As a Help forum this is more a chest-thumper's convention.
I have started and sold several very successful programming businesses, hired and fired dozens of so-so programmers. Now that I am retired I am messing with stuff I never had the time to do. Moving to Linux for instance and all that it entails. Giving up Delphi for another thing. Taking up Lazarus and it's somewhat autocratic insistences and weirdness. Main edit window jumping around every time I swap workplaces and return.
It's all good entertainment, but some of the things are so radically different to what I am used to, I have to resort to asking here. Rest assured, it is only with desperation after not finding results on AskUbuntu, Stack-Overflow etc that I come here.
I suspect I am not alone. Maybe check the new Registrations over the past 12-months then compare the number of times those people return or better, even stay. My guess is they leave quickly, very much the same as the Ubuntu and Arduino forums, a huge turnover largely as a result of no-help-comments as the above, instead of actual Help.
Sad to see. But, there are still a few very good, willing and generous helpers here, so I will attempt to tough it out through the White Noise.