From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#13299: 24.3.50; Tramp adb and device not found Date: Mon, 18 Mar 2013 19:26:55 +0200 Message-ID: <83vc8o1uw0.fsf@gnu.org> References: <87han5s0dv.fsf@gmx.de> <87r4m6p79h.fsf@gmx.de> <874nitco03.fsf@gmx.de> <84a9pqep2t.fsf@aol.com> <87mwvkrvod.fsf@gmx.de> <87wqtuhzws.fsf@gmx.de> <87d2v62pui.fsf@gmx.de> <87hakandah.fsf@gmx.de> <83a9q13mf0.fsf@gnu.org> <8738vt88n4.fsf@gmx.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1363627874 3303 80.91.229.3 (18 Mar 2013 17:31:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Mar 2013 17:31:14 +0000 (UTC) Cc: 13299@debbugs.gnu.org, nyc4bos@aol.com To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 18 18:31:37 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UHduK-0006lt-CP for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Mar 2013 18:31:36 +0100 Original-Received: from localhost ([::1]:49013 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHdtx-00069R-Dt for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Mar 2013 13:31:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHdqQ-0007Fz-5r for bug-gnu-emacs@gnu.org; Mon, 18 Mar 2013 13:27:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHdqL-000613-27 for bug-gnu-emacs@gnu.org; Mon, 18 Mar 2013 13:27:34 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHdqK-00060o-Tm for bug-gnu-emacs@gnu.org; Mon, 18 Mar 2013 13:27:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UHdrq-0002Jp-3f for bug-gnu-emacs@gnu.org; Mon, 18 Mar 2013 13:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Mar 2013 17:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13299 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13299-submit@debbugs.gnu.org id=B13299.13636277178878 (code B ref 13299); Mon, 18 Mar 2013 17:29:01 +0000 Original-Received: (at 13299) by debbugs.gnu.org; 18 Mar 2013 17:28:37 +0000 Original-Received: from localhost ([127.0.0.1]:33876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UHdrO-0002J7-PR for submit@debbugs.gnu.org; Mon, 18 Mar 2013 13:28:36 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:37284) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UHdrK-0002Iq-90 for 13299@debbugs.gnu.org; Mon, 18 Mar 2013 13:28:32 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MJV00F009QOPQ00@a-mtaout22.012.net.il> for 13299@debbugs.gnu.org; Mon, 18 Mar 2013 19:26:47 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MJV00FPH9SNNF20@a-mtaout22.012.net.il>; Mon, 18 Mar 2013 19:26:47 +0200 (IST) In-reply-to: <8738vt88n4.fsf@gmx.de> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72680 Archived-At: > From: Michael Albinus > Cc: nyc4bos@aol.com, 13299@debbugs.gnu.org > Date: Mon, 18 Mar 2013 08:33:19 +0100 > > > 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. Hmm... can you describe how this works on Posix platforms? Once call-process forks the child process, it is AFAICS blocked inside waitpid, so how do Emacs timers (which are the basis for with-timeout) succeed to run at all? What am I missing?