[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: old problem popping up again
From: |
Gilles Pion |
Subject: |
Re: old problem popping up again |
Date: |
Sun, 16 Jun 2013 11:46:34 +0200 |
User-agent: |
ForteAgent/7.00.32.1200 |
Ref: <address@hidden> de Gilles Pion
>Hello,
>
>I'm having the same problem as the one described here:
>
>http://lists.gnu.org/archive/html/tramp-devel/2010-10/msg00010.html
>
>Tramp-version: 2.2.6-24.3
>Emacs-version GNU Emacs 24.3.1 (i686-pc-cygwin)
>
>The target system is a Synology NAS running under busybox based Linux OS
>
>Link to tramp debug buffer contents
>https://www.box.com/s/joyrwdjd6h9lt7wp0z81
Replying to myself,
It seem there is a race condition inside "tramp-send-command-and-check"
Introducing a short delay (worked with "(sleep-for 0 100)") seem to fix the
problem:
(with-current-buffer (tramp-get-connection-buffer vec)
(sleep-for 0 100) ;;; <- delay here
(goto-char (point-max))
--
Gilles Pion