From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.emacs.help Subject: Re: dbus problem: "notifications-notify :on-action" stops working Date: Tue, 28 Feb 2012 09:10:21 +0100 Message-ID: <87ipirv0nm.fsf@micropit.couberia.bzh> References: <87zkc4ehgo.fsf@micropit.couberia.bzh> <87wr78poks.fsf@gmx.de> <87ty2cee1r.fsf@micropit.couberia.bzh> <87y5rot319.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1330416654 11821 80.91.229.3 (28 Feb 2012 08:10:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 28 Feb 2012 08:10:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 28 09:10:52 2012 Return-path: Envelope-to: geh-help-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 1S2I95-0003IJ-QI for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Feb 2012 09:10:51 +0100 Original-Received: from localhost ([::1]:51120 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2I95-0006nE-2O for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Feb 2012 03:10:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2I8v-0006mK-R1 for help-gnu-emacs@gnu.org; Tue, 28 Feb 2012 03:10:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2I8o-0005MJ-K8 for help-gnu-emacs@gnu.org; Tue, 28 Feb 2012 03:10:41 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:33612) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2I8o-0005Lx-Cg for help-gnu-emacs@gnu.org; Tue, 28 Feb 2012 03:10:34 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S2I8m-00038q-Jw for help-gnu-emacs@gnu.org; Tue, 28 Feb 2012 09:10:32 +0100 Original-Received: from arennes-359-1-256-163.w2-2.abo.wanadoo.fr ([2.2.207.163]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Feb 2012 09:10:32 +0100 Original-Received: from pmlists by arennes-359-1-256-163.w2-2.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Feb 2012 09:10:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 99 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: arennes-359-1-256-163.w2-2.abo.wanadoo.fr User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:rqwQdlHcJokaQTPO1i9bDGJ+ZMo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83884 Archived-At: On Mon, Feb 27 2012, Michael Albinus wrote: > Maybe you could replay your scenario, and let dbus-monitor run in > parallel. Please comment exactly what you have done (starting Emacs, > every keystroke), and mark the corresponding traces from > dbus-monitor. By this, we might be able to understand what happens. Hi Michael, Yesterday evening, after a reboot of the system, I've started my normal emacs session and "dbus-monitor --session" and "dbus-monitor --profile". "--profile", because there are timestamps. Sometimes, I've started another "emacs -Q -l /tmp/init.el" just to see, if it works or not. Now, the problem appears again, at timestamp "1330414472". Here the "*Messages*": --8<---------------cut here---------------start------------->8--- Begin test (id = 23) Success (id = 23) Begin test (id = 24) Success (id = 24) Begin test (id = 25) Success (id = 25) Begin test (id = 26) Success (id = 26) Begin test (id = 27) Success (id = 27) Begin test (id = 28) Success (id = 28) Begin test (id = 4) Begin test (id = 5) --8<---------------cut here---------------end--------------->8--- The output of dbus-monitor is perhaps too big for usenet, so you can find it here: http://pmrb.free.fr/tmp/dbus/ Another test: I've restarted the 2 dbus-monitors, and also "emacs -Q -l /tmp/init.el". I've added this to my init.el: --8<---------------cut here---------------start------------->8--- (defun my-register-again () (interactive) (dbus-register-signal :session notifications-service notifications-path notifications-interface notifications-action-signal 'notifications-on-action-signal)) (global-set-key [?\C-b] 'my-register-again) --8<---------------cut here---------------end--------------->8--- The results: --8<---------------cut here---------------start------------->8--- Begin test (id = 11) Success (id = 11) Begin test (id = 12) Success (id = 12) Begin test (id = 13) Success (id = 13) Begin test (id = 14) Success (id = 14) Begin test (id = 15) Success (id = 15) ##################### Here I've waited for some minutes. Begin test (id = 3) Begin test (id = 4) Begin test (id = 5) ##################### Here I've pressed "C-b" ! Begin test (id = 6) Success (id = 6) Begin test (id = 7) Success (id = 7) Begin test (id = 8) Success (id = 8) Begin test (id = 9) Success (id = 9) ##################### Here I've waited for some minutes. Begin test (id = 1) Begin test (id = 2) Begin test (id = 3) --8<---------------cut here---------------end--------------->8--- And here the dbus-output: http://pmrb.free.fr/tmp/dbus2/ I hope, that you have some time to look at this and can find what's going on. Thanks for your efforts, -- Peter