unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: znavko--- via <help-guix@gnu.org>
To: "help-guix" <help-guix@gnu.org>
Subject: How to use emacs-tramp ?
Date: Fri, 22 Jan 2021 21:40:16 +0000	[thread overview]
Message-ID: <22ca61193f05b1e9c6c07afbc5a0c3b5@disroot.org> (raw)

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

             reply	other threads:[~2021-01-22 21:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-22 21:40 znavko--- via [this message]
2021-01-22 22:44 ` How to use emacs-tramp ? Nicolas Goaziou
2021-01-22 23:43 ` znavko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=22ca61193f05b1e9c6c07afbc5a0c3b5@disroot.org \
    --to=help-guix@gnu.org \
    --cc=znavko@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).