Re: Why does emacs lack non-tramp tools to find files as sudo?

Michael Albinus <[email protected]>
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
BP25 <[email protected]> writes:

Hi,

> Emacs is the most complete and modern editor out there. How can it
> lack "innate" (non tramp) facilities to edit files as superuser?

What is wrong with Tramp (beside bias)?

If you edit a file or you visit a directory with dired, you can type
'C-x x @' in order to open the file/directory with sudo permissions.

If you are in dired, you can type '@' in order to open the
file/directory at point with sudo permissions.

Both work even with multi-hops.

The key bindings are available with Emacs 31.1. I would call this
"innate".

Best regards, Michael.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.