Emacs: How to view sftp folders

I run Ubuntu and play with Emacs for the first time, but unfortunately it does not seem to see any sftp folders that I have mounted. These folders are visible to nautilus and gedit.

Can test emac users point me in the right direction?

+3
source share
2 answers

I'm not sure how to get Emacs to specifically select the servers that were installed under Nautilus.

However (and I hope this suits your needs), you can view and edit deleted files and directories using Tramp if you know the server name:

C-x C-f /sftp:username@server.net:path/to/file.txt RET

or

C-x C-f /sftp:username@server.net:path/to/directory/ RET

Tramp Documentation

+5
source

tramp , "" $HOME/.gvfs/server.net/ emacs. $HOME/.gvfs/server.net/ .

, ( ) . , "C-M-x":

(find-file "/sftp:username@server.net:/path/to/file.txt" )

+1

Source: https://habr.com/ru/post/1719768/


All Articles