[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to use emacs-tramp ?
From: |
znavko |
Subject: |
How to use emacs-tramp ? |
Date: |
Fri, 22 Jan 2021 21:40:16 +0000 |
Hello! i wish transparently edit php files on remote server with emacs.
i've installed emacs-tramp with 'guix install emacs-tramp'
and required it and configured it with lines in
~/.emacs as desribed here:
https://www.gnu.org/software/tramp/#Default-Host
But when I press C-x C-f
and type '-::' and then save this file
emacs just says: "Wrote /home/bob/-::'
Please, why tramp does not work for me?
Can you share workable config?
$ cat .emacs
;emacs-php-mode
(add-hook 'php-mode-hook 'php-enable-default-coding-style)
;emacs-tramp remote files via ssh
(require 'tramp)
(custom-set-variables
'(tramp-default-method "ssh")
'(tramp-default-user "znavko")
'(tramp-default-host "99.00.99.00#78500"))
;; BasicCustomization
(setq inhibit-startup-screen t) ;; disable welcome message
(global-linum-mode t) ;; enable line numbers globally
(setq linum-format "%4d u2502") ;; format line number spacing
- How to use emacs-tramp ?,
znavko <=