I have placed my autosave and backup files in a single directory
Backup files appear as
Autosave files appear as
But Emacs seems to also generate
.#foo in the current directory whenever a change is made in a buffer.
What's the purpose of these files and is there a way to specify their default directory?