From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Garreau\, Alexandre" Newsgroups: gmane.emacs.devel Subject: D-Bus and notifications Date: Fri, 12 Oct 2018 12:55:18 +0200 Message-ID: <8736tb8meh.fsf@portable.galex-713.eu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1539341609 4183 195.159.176.226 (12 Oct 2018 10:53:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 12 Oct 2018 10:53:29 +0000 (UTC) User-Agent: Gnus (5.13), GNU Emacs 25.1.1 (i686-pc-linux-gnu) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 12 12:53:25 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAv4L-0000tr-O2 for ged-emacs-devel@m.gmane.org; Fri, 12 Oct 2018 12:53:21 +0200 Original-Received: from localhost ([::1]:39486 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAv6R-0001rE-VK for ged-emacs-devel@m.gmane.org; Fri, 12 Oct 2018 06:55:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAv6L-0001r7-Qf for emacs-devel@gnu.org; Fri, 12 Oct 2018 06:55:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAv6K-0007O2-JL for emacs-devel@gnu.org; Fri, 12 Oct 2018 06:55:25 -0400 Original-Received: from portable.galex-713.eu ([2a00:5884:8305::1]:60368) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gAv6K-0007Mc-9g for emacs-devel@gnu.org; Fri, 12 Oct 2018 06:55:24 -0400 Original-Received: from localhost ([::1] helo=portable.galex-713.eu) by portable.galex-713.eu with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gAv6E-0004Q4-Ij for emacs-devel@gnu.org; Fri, 12 Oct 2018 12:55:18 +0200 X-GPG-FINGERPRINT: E109 9988 4197 D7CB B0BC 5C23 8DEB 24BA 867D 3F7F X-Accept-Language: fr, en, it, eo X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:5884:8305::1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:230347 Archived-At: Hi all, I wanted to get Gnus warn me of some personal mails by sound and others with delay, but I noticed the =E2=80=9Curgency=E2=80=9D flag in freedesktop notifications spec is not urgency but importance, the =E2=80=9Ctimeout=E2= =80=9D only is about displaying, and the =E2=80=9Csound-name=E2=80=9D is not a conditional= hint but an imperative depending on capabilites, I guess, and the API stays quite imperative and not that much semantic, so there isn=E2=80=99t much freedom = for notification server=E2=80=A6 I wanted to experiment more flexibility, so I=E2=80=99d like to know if dbu= s.el can be used not only to have a notif client but also a server, so that the notifications would go to emacs instead of, say, dunst, that I wouldn=E2=80=99t use anymore. In that case, could I experiment some new hints or are the specs hardcoded in C somewhere, like in dbus?