From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: Patch to enable dbus by default Date: Sat, 02 Feb 2008 14:55:21 -0700 Message-ID: References: <87k5lnyhwc.fsf@grepfind.mwolson.org> Reply-To: Tom Tromey NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1201991771 11138 80.91.229.12 (2 Feb 2008 22:36:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Feb 2008 22:36:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Olson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 02 23:36:32 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JLQyO-0008C3-36 for ged-emacs-devel@m.gmane.org; Sat, 02 Feb 2008 23:36:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLQxw-0002VD-7i for ged-emacs-devel@m.gmane.org; Sat, 02 Feb 2008 17:36:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JLQxs-0002U3-5w for emacs-devel@gnu.org; Sat, 02 Feb 2008 17:36:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JLQxp-0002QN-OB for emacs-devel@gnu.org; Sat, 02 Feb 2008 17:35:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLQxp-0002QH-Go for emacs-devel@gnu.org; Sat, 02 Feb 2008 17:35:57 -0500 Original-Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JLQxl-00033M-Uu; Sat, 02 Feb 2008 17:35:54 -0500 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m12MZlp7017529; Sat, 2 Feb 2008 17:35:47 -0500 Original-Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m12MZkuX001914; Sat, 2 Feb 2008 17:35:46 -0500 Original-Received: from opsy.redhat.com (ton.yyz.redhat.com [10.15.16.15]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m12MZjf6015921; Sat, 2 Feb 2008 17:35:46 -0500 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 649FD378123; Sat, 2 Feb 2008 14:55:22 -0700 (MST) X-Attribution: Tom In-Reply-To: <87k5lnyhwc.fsf@grepfind.mwolson.org> (Michael Olson's message of "Sat\, 02 Feb 2008 00\:46\:59 -0600") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88064 Archived-At: >>>>> "Michael" == Michael Olson writes: >> I think dbus support should default to 'on', not 'off'. If dbus is >> not detected, it will not be used, so this patch should not break >> anything. Michael> Does anyone have a strong opinion on this? As I'm interested Michael> in Tom's systray work, and this goes along with it, I'm going Michael> to apply this patch tomorrow, unless we have Michael> objections/discussion. FWIW, the notification bits do need dbus, but they don't actually require that the Emacs dbus support be enabled. You can configure '--without-dbus --with-libnotify'; dbus will still be linked in, just not visible to elisp. BTW I've been playing with your test cases some more. I think we are seeing generic gtk bug. This bug seems relevant: http://bugzilla.gnome.org/show_bug.cgi?id=348971 Perhaps I can make this work by waiting for a size-change signal. I'm not sure if this is reliable, though. Maybe I can have it either wait for a size-change or a timeout, and throw an error in the timeout case. Tom