how to make (TeX-command-run-all) save automatically without asking?
The variable TeX-save-query
controls this behavior:
User Option:
TeX-save-query
If non-nil, then query the user before saving each file with
TeX-save-document
.
Add the following line to your init file
(setq TeX-save-query nil)