GNU bug report logs - #13299
24.3.50; Tramp adb and device not found

Previous Next

Package: emacs;

Reported by: nyc4bos <at> aol.com

Date: Fri, 28 Dec 2012 21:30:02 UTC

Severity: normal

Merged with 13381, 13383

Found in version 24.3.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 13299 <at> debbugs.gnu.org, nyc4bos <at> aol.com
Subject: bug#13299: 24.3.50; Tramp adb and device not found
Date: Mon, 18 Mar 2013 08:33:19 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

Hi Eli,

>> Well, I've borrowed an MS Windows machine for tests. And indeed, it
>> blocks. Looks like `call-process' is not interruptable with a timer on
>> MS Windows.
>
> What do you mean by "timer" here?  Even in Emacs this has multiple
> meanings, to say nothing of the rest of the world ;-)

There is the following code:

  (with-timeout (10)
    (with-temp-buffer
      (when (zerop (call-process tramp-adb-program nil t nil "devices"))
      ...

No problem under GNU/Linux. Under MS Windows, the timeout does not
interrupt the `call-process' form, when it is overdued. That's why I
have replaced it with a `start-process' implementation.

Best regards, Michael.




This bug report was last modified 11 years and 132 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.