The Modernization of Emacs
Giorgos Keramidas
keramida at ceid.upatras.gr
Fri Jun 22 15:43:52 EDT 2007
On Thu, 21 Jun 2007 13:02:18 -0400, jadamson at partners.org (Joel J. Adamson) wrote:
>David Kastrup <dak at gnu.org> writes:
>> You know you can use something like
>> C-x C-f /su::/etc/fstab RET
>> (or /sudo::/etc/fstab) in order to edit files as root in a normal
>> Emacs session?
>
> I did not know that. That will save me huge amounts of time. You're
> my hero.
If you like `C-x C-f /sudo::...', then it may also please you to know
that Tramp supports other remote access methods too, i.e.:
C-x C-f /ftp:
C-x C-f /ssh:
and it lets Emacs edit files in remote locations, as long as you have a
valid set of username/password credentials for the remote host :-)
More information about the Python-list
mailing list