I'm in a fresh install of Proxmox (the Debian derivative which is a VM hypervisor) and installed the emacs-nox
package to use emacs as my default editor. When trying to open a file in emacs from the command line, emacs ignores the argument and opens the scratch buffer.
For example:
root@ibis:~# pwd
/root
root@ibis:~# touch afile.txt
root@ibis:~# emacs afile.txt
does not open afile.txt
, it opens the scratch buffer. There are no errors in the *Messages*
buffer. The only thing in *Messages*
is:
Loading /etc/emacs/site-start.d/00debian.el (source)...done
Basically I can't figure out how to get emacs to open the file specified in the command line argument.
If I run emacs
with no arguments, there is no welcome page, it also goes straight to the scratch buffer.
In Proxmox you work in a root shell somewhat and I have seen other answers suggest not opening emacs as root the first time you use it. So I made a user account, gave it sudo, deleted all ~/emacs.d and /root/emacs.d and tried again, but had the same result.
I have tried apt purge emacs*
with no success.
Because there are no errors, I have a suspicion that there's some initialization script which is missing or not run, but I don't understand where to look for that and how to tell. Basically I'm at the edge of my understanding of how emacs actually works under the hood now. Can someone push me in the right direction?