[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#42374: 28.0.50; too many tramp messages after computer sleep
From: |
Michael Albinus |
Subject: |
bug#42374: 28.0.50; too many tramp messages after computer sleep |
Date: |
Thu, 16 Jul 2020 09:34:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Jean Louis <bugs@gnu.support> writes:
Hi,
> I have opened tramp connection, then I put computer to sleep, after few
> hours I open the notebook and then as it is not connected to Internet,
> it starts with these messages. When message appears, I cannot really do
> nothing, so I cannot do M-x, and whatever I press, it starts running
> again something from Tramp and I need to press maybe hundred times C-g
> to abort these messages, basically there is no abort, and Emacs becomes
> not responsive, as whatever I do,, it gives me these messages.
Tramp is a library, and it isn't activated on its own. So let's see why
it is called:
> Tramp: Opening connection for motorola using scp...
> Tramp failed to connect. If this happens repeatedly, try
> ‘M-x tramp-cleanup-this-connection’
> Tramp failed to connect. If this happens repeatedly, try
> ‘M-x tramp-cleanup-this-connection’
> Tramp failed to connect. If this happens repeatedly, try
> ‘M-x tramp-cleanup-this-connection’
> Error running timer ‘desktop-auto-save’: (file-error "Tramp failed to
> connect. If this happens repeatedly, try
> ‘M-x tramp-cleanup-this-connection’")
> Error running timer ‘desktop-auto-save’: (file-error "Tramp failed to
> connect. If this happens repeatedly, try
> ‘M-x tramp-cleanup-this-connection’")
Well, `desktop-auto-save' is in progress, and it calls Tramp functions
again and again. You should suppress this when the remote connection
isn't available.
What are your values of `desktop-buffers-not-to-save',
`desktop-files-not-to-save' and `desktop-modes-not-to-save'?
Best regards, Michael.