From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: BUG in Tramp: After sleep, saving file hangs Date: Thu, 19 Jul 2018 11:01:52 +0200 Message-ID: <87muunha4f.fsf@gmx.de> References: <358cb627-8711-6940-9376-3ccf4bd10093@mousecar.com> <87a7qqlyjn.fsf@gmx.de> <4b7c679e-40c9-831c-0ea5-81396e7f7126@mousecar.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1531990831 18108 195.159.176.226 (19 Jul 2018 09:00:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 19 Jul 2018 09:00:31 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: GNU Emacs List To: ken Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 19 11:00:27 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fg4nR-0004ca-SJ for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Jul 2018 11:00:25 +0200 Original-Received: from localhost ([::1]:41156 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fg4pY-0006nJ-Fx for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Jul 2018 05:02:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fg4p0-0006nC-Ka for help-gnu-emacs@gnu.org; Thu, 19 Jul 2018 05:02:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fg4ov-00038x-Ok for help-gnu-emacs@gnu.org; Thu, 19 Jul 2018 05:02:02 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:57421) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fg4ov-00038O-EG for help-gnu-emacs@gnu.org; Thu, 19 Jul 2018 05:01:57 -0400 Original-Received: from detlef.gmx.de ([212.86.41.66]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MQ2Wx-1fcTvG39fP-005M3W; Thu, 19 Jul 2018 11:01:53 +0200 X-Provags-ID: V03:K1:azzYY85KrT3GgukkxAJz1/KlGw3NL21cqHqSbqUX5VyKv01APfR pbsOf3790ADEcfzQrmDHt/WaA8BA3jZg0aFVl6S2cAsvu51DNF/sacoD5pn2mm3ja4iHkXi zNAqegcEiVdYB6MvW+PTbxxlOHw2YGuN/bbwkjfMXtlmdW5ptE4o8YVnRR4hnLON8EuE4hJ Gi0sLKcFvA1zPEwZh0jpg== X-UI-Out-Filterresults: notjunk:1;V01:K0:DJxcqGLHZoI=:7MN1Rk0BxNE2ByJIk6lgzE J0RH4sKzLLharO9qnfriOaPCIqFqvGXB6SaKPK//L6nVPsQ4uoNI3yXUtaVNrFGFzeQBbExam 8ihch3u0ioKSV+bSM1bLeZ/LiV+1TPm+uyYdygya3+V0JtutW6XBzUiA7+YM7hIg0mW1UMNVf FYC7wmgmSTQrH4ERqqUQj52CEwXTFPZL3SXFUZlE7T5jWopscNmGGXdWRHLQkJImUE20vrixI cRMvtTmsJCcL3ClPstgpIyBd7ur7cSdIILBCUzjq6Mx+KL4BEcqXnTz/Yai+SZdhGA9JNAyjw RtMQdCeqR6gckJQFxOKa/ZdTX0fQVdv2Uch94AP17jJ10zW33LP1FdUktqaETI6sMte/8reTX 9ijrmp993W+p+mLh1hzW1y6eNL78/qYh15Y5xiIN6GYzEVk5Cc4Axe462IpLcZH73nnYlRT3m u5x7KmINHl4l0eFhOb38t9oFKHM4UNUoXrLwHkE3LfKfYip0n9XoDP2lUT52lGqJBzg1yhbBL Sf9A0NYKrV5wHJAgmC9SyzQqJAYqKMajRDrmUom3zPP0w6i1N/UHF0i7EUq2vgEK6YhrI7B9e PHS+vg6jb3Sv24dAhTpuzhL2dLSyN9MJ/g7jjgRCFwpFEu06Xru1lRD0nAA2oH7W6NMvZkqam ulQktbZHtQ9G/QRpdebFeyVhBQuJK+/wl8nnXdhkriG2TATBkh/J0/pN69PuJ8xKK5LgSYrAQ 5qigLIx+G2yRKmloAegTUQWhpgve9bkX3yqb9Ns6WVk6yF0Q8utqRsajY+ve/ptLSqMozzNL X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.15 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117495 Archived-At: ken writes: Hi Ken, > emacs: 24.3.1 > > tramp: 2.2.624.3 > >> And honestly, I believe this problem will be handled better if you >> submit it as Emacs bug. > > True, probably.=C2=A0 I thought I'd post it here first, see if someone co= uld > come up with a quick response. The Tramp manual gives a recommendation for this case: --8<---------------cut here---------------start------------->8--- =E2=80=A2 TRAMP does not recognize if a =E2=80=98ssh=E2=80=99 session han= gs =E2=80=98ssh=E2=80=99 sessions on the local host hang when the network= is down. TRAMP cannot safely detect such hangs. The network configuration for =E2=80=98ssh=E2=80=99 can be configured to kill such hangs with th= e following command in the =E2=80=98~/.ssh/config=E2=80=99: Host * ServerAliveInterval 5 --8<---------------cut here---------------end--------------->8--- Does this work for you? > submitted bug reports: they seem always to be ignored or WONTFIXed or > combined with some other bug(s) and then somehow lost and never fixed, Such things happen, yes. But my experience is, that Emacs maintainers try to be responsive, and ignored or WONTFIXed bugs are the minority. You can always protest if such things happen; often it is just an oversight, or misunderstanding. In particular, did you experience such behaviour with Tramp bugs? > or, at best, fixed only years later.=C2=A0 ... then if it's fixed, it's f= ixed > not in the version(s) everyone's using, but only in the absolutely > latest version, one which doesn't work down it into the distros for > another year or more.=C2=A0 So you might say I'm pessimistic about bug re= ports. Well, to be honest: If it would need a fix, I doubt that somebody will fix it for Emacs 24 / Tramp 2.2. The best you could expect is a patch you could apply yourself. There are 60 Tramp releases downloadable from ftp.gnu.org, and the oldest one there is Tramp 2.0.39. Not to count intermediate releases like Tramp 2.2.6-24.3 you are using. Tramp is almost a one-man-show; do you believe I'm able to maintain every single release? Support for Emacs 23 has been stopped some months ago; but the bleeding edge Tramp 2.4.0 still supports Emacs 24. If I would fix something there, you would be able to use it, w/o changing your Emacs version. Best regards, Michael.