From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Network Manager Date: Sun, 16 Dec 2012 10:07:47 +0100 Message-ID: <87a9tegyak.fsf@gmx.de> References: <87bodwfvnp.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1355648878 28756 80.91.229.3 (16 Dec 2012 09:07:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Dec 2012 09:07:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ian D Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 16 10:08:13 2012 Return-path: Envelope-to: ged-emacs-devel@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 1TkACg-0008AS-8P for ged-emacs-devel@m.gmane.org; Sun, 16 Dec 2012 10:08:10 +0100 Original-Received: from localhost ([::1]:33067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TkACS-0005hP-OP for ged-emacs-devel@m.gmane.org; Sun, 16 Dec 2012 04:07:56 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TkACO-0005hK-ON for emacs-devel@gnu.org; Sun, 16 Dec 2012 04:07:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TkACN-0002li-R8 for emacs-devel@gnu.org; Sun, 16 Dec 2012 04:07:52 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:57921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TkACN-0002lX-Hr for emacs-devel@gnu.org; Sun, 16 Dec 2012 04:07:51 -0500 Original-Received: from mailout-de.gmx.net ([10.1.76.36]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0MbeI7-1TRFjf3MKj-00J3sX for ; Sun, 16 Dec 2012 10:07:50 +0100 Original-Received: (qmail invoked by alias); 16 Dec 2012 09:07:50 -0000 Original-Received: from p57BB859C.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.133.156] by mail.gmx.net (mp036) with SMTP; 16 Dec 2012 10:07:50 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1937rsB/XJ3wvIcJ+re8n9r9jd2SJzLogCHfnYccS DEsbpj6QbiGEB6 In-Reply-To: <87bodwfvnp.fsf@gnu.org> (Ian D.'s message of "Fri, 14 Dec 2012 11:25:30 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.18 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:155595 Archived-At: Ian D writes: > > What about `dbus-call-method-asynchronously'? The handler > > could update the enwc buffer, and you aren't blocked during > > scan. > > I've tried that, but here's the problem with at least Wicd (Not > so certain about NetworkManager): The "Scan" function for Wicd > takes a parameter `sync'. This is `t' if the user wants a > synchronous call, and `nil' otherwise. The issues I ran into > before were with this, and `dbus-call-method-asyncronously' > doesn't really help with it. > > If `sync' is `nil', then the function returns `t', and goes > into the background, but doesn't provide a way to see when the > scan is finished. There is the org.wicd.daemon.wireless.SendEndScanSignal signal, which you could register for. In the corresponding handler, you could apply needed actions. > Ian D Best regards, Michael.