From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.bugs Subject: bug#10744: 24.0.93; dbus notification callback error Date: Fri, 10 Feb 2012 19:02:51 -0500 Message-ID: <53B98205-9F01-46D1-9B77-644A0CAFCCCD@permabit.com> References: <6e62fj77og.fsf@just-testing.permabit.com> <8762fjxb5p.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1328918635 2862 80.91.229.3 (11 Feb 2012 00:03:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Feb 2012 00:03:55 +0000 (UTC) Cc: "10744@debbugs.gnu.org" <10744@debbugs.gnu.org> To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 11 01:03:54 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rw0RV-00039K-U9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Feb 2012 01:03:54 +0100 Original-Received: from localhost ([::1]:52299 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rw0RV-0007Gn-9H for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Feb 2012 19:03:53 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:32934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rw0RR-0007Eq-M2 for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2012 19:03:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rw0RQ-0001r2-6g for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2012 19:03:49 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rw0RP-0001pc-PG for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2012 19:03:48 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Rw0Sc-0002hL-Tn for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2012 19:05:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ken Raeburn Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Feb 2012 00:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10744 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10744-submit@debbugs.gnu.org id=B10744.132891865910304 (code B ref 10744); Sat, 11 Feb 2012 00:05:02 +0000 Original-Received: (at 10744) by debbugs.gnu.org; 11 Feb 2012 00:04:19 +0000 Original-Received: from localhost ([127.0.0.1]:35429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rw0Rv-0002g9-2z for submit@debbugs.gnu.org; Fri, 10 Feb 2012 19:04:19 -0500 Original-Received: from pbit-mailserver.permabit.com ([204.246.225.83]:44736) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rw0Rs-0002ft-9o for 10744@debbugs.gnu.org; Fri, 10 Feb 2012 19:04:17 -0500 Original-Received: from [10.1.12.17] (unknown [10.1.12.17]) by pbit-mailserver.permabit.com (Postfix) with ESMTPSA id 7FADE148E1D9; Fri, 10 Feb 2012 19:02:54 -0500 (EST) In-Reply-To: <8762fjxb5p.fsf@gmx.de> X-Mailer: iPhone Mail (9A405) 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 (newer, 2) 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:56780 Archived-At: Sorry for the delay. I can confirm the patch works for me. (And my desktop= is Debian Lenny w/notification-daemon 0.3.7.) Ken Sent from my iPhone On Feb 7, 2012, at 4:09, Michael Albinus wrote: > Ken Raeburn writes: >=20 >> An error pops up indicating that notifications-on-closed-signal is >> passed one argument instead of the expected two: >>=20 >> Debugger entered--Lisp error: (wrong-number-of-arguments #[(id reason) ..= .] 1) >> notifications-on-closed-signal(673) >=20 > According to the spec, the NotificationClosed signal shall send 2 > arguments, the id and the reason. See > . >=20 > That's what `notifications-on-closed-signal' expects. And doesn't get. >=20 >> dbus-handle-event((dbus-event :session 4 1352 ":1.12" "/org/freedesktop/= Notifications" "org.freedesktop.Notifications" "NotificationClosed" notifica= tions-on-closed-signal 673)) >=20 > The daemon sends only one argument, the id (673). I could reproduce the > problem on an old RHEL system with: >=20 > notification-daemon.x86_64 0.3.5-9.el5 installed >=20 > Reading the NEWS entry of the notification-daemon sources, I've found >=20 > version 0.4.0 (20-November-2008): > * Send the reason code along with the NotificationClosed signal in o= rder > to indicate why the notification was closed. (Bug #137) >=20 > So it is clearly a daemon error, which is corrected meanwhile. I've > submitted a fix to the trunk, making the reason argument in > `notifications-on-closed-signal' optional (assuming `undefined' as > default). Could you, please, check? >=20 > Best regards, Michael.