I'm trying to use emacs to edit some file under /usr. When I use
sudo emacs filename.txt
it automatically uses -nw mode. Is there anyway to open a new window when I use sudo emacs?
My emacs version is 24.5.1.
Thanks!
I'm trying to use emacs to edit some file under /usr. When I use
sudo emacs filename.txt
it automatically uses -nw mode. Is there anyway to open a new window when I use sudo emacs?
My emacs version is 24.5.1.
Thanks!
Copyright © 2021 Jogjafile Inc.
You can use
Trampto open files as sudo. First open up Emacs in a window, then run: