Re: Why does emacs lack non-tramp tools to find files as sudo?
Madhu via Users list for the GNU Emacs text editor <[email protected]>
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
* Jean Louis <[email protected]> : Wrote on Wed, 08 Apr 2026 23:54:56 +0300: > On 2026-04-08 10:26, BP25 wrote: >> Emacs is the most complete and modern editor out there. How can it >> lack "innate" (non tramp) facilities to edit files as superuser? > > You're correct. Emacs has no built-in, non-Tramp way to edit a file as > superuser with a simple command like M-x sudo-find-file or C-c C-s > /etc/hosts. There is this: tramp-dired-find-file-with-sudo it has a default binding causes a lot of problems for me but i haven't gotten around to disabling it.