News for hackers. Stuff that matters.
Re:916 Days of Emacs by EnigmaCurry on Thursday April 13, 2023 @12:49PM (#35558331)
> some glaring issues - tramp being a major one. It’s slow and very unreliable.

Over SSH? Did you turn on ssh connection sharing in ssh config?

> ControlMaster auto

> ControlPersist yes

> ControlPath /tmp/ssh-%u-%r@%h:%p

massive speedup when you do this, otherwise it starts a new connection for every operation.

Re:916 Days of Emacs by softirq on Thursday April 13, 2023 @01:12PM (#35558726)
Yes, and it's not that it's just slow, it also freezes Emacs completely when it borks (and it does bork). I also found that none of the emacs terminals could correctly display my prompt and I ended up writing a bunch of bash conditionals to make my prompt dumber to work in Emacs. Just worked out of the box with Vim's :term.
Re:916 Days of Emacs by jamespo on Thursday April 13, 2023 @01:34PM (#35559101)
Are you using tramp on a LAN or halfway round the world with 200ms latency and poor bandwidth?
Re:916 Days of Emacs by chlorion on Thursday April 13, 2023 @07:29PM (#35563572)
A common thing people run into with Emacs is using the "shell" under the impression that it's a terminal emulator. You want "term" for a proper terminal emulator that can handle fancy terminal stuff. The "term" terminal emulator can even run TUI stuff like nano, and even vim itself!
Re:916 Days of Emacs by spudlyo on Thursday April 13, 2023 @05:48PM (#35562545)
Tramp is fast for me as well, it did take some work though. I had to configure it to use my controlmaster options from my ~/.ssh/config, set tramp-verbose to 0, set remote-file-name-inhibit-locks to t, and finally set vc-handled-backends to just Git. I'm glad I spent the effort to make it fast though, because now it's pretty magical.