I know that I can disable the save query that comes after running
TeX or actually probably any other NAME parameter (this is what happens when you invoke
TeX-command-master, usually bound to C-c C-c, and then select
TeX or whatever). I did disable it, but what this does, is automatically save, so I can't compile without saving, unless I re-enable the annoying save query, after which I can let it not save.
What I would ideally want, is that when invoking
TeX-run-TeX with whatever option on its own it never saves (I would have to manually save), and
TeX-command-run-all always saves.
tex-buf.el, for me it looks like setting
nil will definitely cause the file to be automatically saved, so it seems kind of annoying for me to solve this problem in a simple way.