I recently upgraded my Emacs to 25.2.1
via dnf package manager (Fedora 25) and the edition of remote files via tramp and ssh is failing on Solaris 10 hosts (The same kind of editing is working on a Linux). Before the upgrade, I had no problem with Solaris.
I have got some details by increasing tramp-verbose
to 4
:
13:52:52.259282 tramp-barf-unless-okay (1) # File error: ‘tramp-histfile-override’ uses invalid file ‘~/.tramp_history’
tramp-histfile-override
seems to be a new thing introduced with Emacs 25.2.
By trial and error, I have found that the following make it work:
(setq tramp-histfile-override ".tramp_history")
Simply replacing ~
by $HOME
do not work neither. So it seems to miss some variable expansion.
May I consider that it is a bug? If so, I did not report problems to the EMacs devs for a very long time, can you tell how to do nowadays?
If it is not a bug, would it be possible to keep the default value
~/.tramp_history
for some hosts while using another value for Solaris hosts?
EDIT: It took time to get a log of failure because the remote editing unexpectedly became functionnal as before. Today after a system reboot, it is failing again. (WTF?!)
I had suspected the mail indicator ("you have [new] mail") at login to brake the prompt detection, but it seems not to be the guilty.
I have put the log in a pastebin as it is too big for the question edit box.