[Top][All Lists]

[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:

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
(add-hook 'php-mode-hook 'php-enable-default-coding-style)

;emacs-tramp remote files via ssh
(require 'tramp)
 '(tramp-default-method "ssh")
 '(tramp-default-user "znavko")
 '(tramp-default-host ""))
;; 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]