From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: D-Bus and notifications Date: Fri, 12 Oct 2018 13:55:35 +0200 Message-ID: <87a7njcrbc.fsf@gmx.de> References: <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 1539345231 12888 195.159.176.226 (12 Oct 2018 11:53:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 12 Oct 2018 11:53:51 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: "Garreau\, Alexandre" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 12 13:53:47 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 1gAw0o-0003HF-Gr for ged-emacs-devel@m.gmane.org; Fri, 12 Oct 2018 13:53:46 +0200 Original-Received: from localhost ([::1]:39663 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAw2u-0007Sa-Jl for ged-emacs-devel@m.gmane.org; Fri, 12 Oct 2018 07:55:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAw2i-0007RO-VR for emacs-devel@gnu.org; Fri, 12 Oct 2018 07:55:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAw2f-00055I-Lu for emacs-devel@gnu.org; Fri, 12 Oct 2018 07:55:44 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:53985) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gAw2f-0004x6-AE for emacs-devel@gnu.org; Fri, 12 Oct 2018 07:55:41 -0400 Original-Received: from detlef.gmx.de ([212.91.243.207]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MbOoG-1fuVeX23oi-00IowO; Fri, 12 Oct 2018 13:55:37 +0200 Original-Received: from detlef.gmx.de ([212.91.243.207]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MbOoG-1fuVeX23oi-00IowO; Fri, 12 Oct 2018 13:55:37 +0200 In-Reply-To: <8736tb8meh.fsf@portable.galex-713.eu> (Alexandre Garreau's message of "Fri, 12 Oct 2018 12:55:18 +0200") X-Provags-ID: V03:K1:OmCNCx4flm3n9/QOdTa9gyd5HZ9rlFDJegtzhMgDvV7qTjxsBjN yg6TFqfgwxMSGgQwbtPL8mU07aNECT2AW+Vd7M8/UIW8csaLxsU2idVuO5hRuUmhWsF6hw8 hBIZWmCU0o0tRLXLK1miQLgSsy5XWpk7foA68c5dq6+MCJTicunAZ5+wHWEN4mCyZUN+Nnu yEaoijU6BWpoQ0mKoRPKw== X-UI-Out-Filterresults: notjunk:1;V01:K0:LCJEZ91ID7s=:aECQXB03F+pbbGjtVP1Gz4 wYbAcCRt8T/6BEhjWSALGxci4yua6qrIS2eZjVN2WyQkYaSKKlKT5h+F0apI6sbyTsezTS+8I qrwI2WtK0CLBmMuJNxSRWRN8i9z4Ce5DVzm6i+ZLnYZdyGsYR/B0iH8T8rnevT8mAC3ufwFJY Hhq2oohuxZx8xU9dSUsdNEsNDP5zIT7+YbHWyDfke107NidDSbHzC4Fpu90C/3RxIPe7Z6gyK NPlyHP937T8wLaPgxB7r17yhIqHhYg6VCfKpDYcwtNA9o3QqIrr7duXRT6PV1gMLnqGsOyW9K 7flFjUdDVrQGFzlCZkY9SkW15rLOsUKV1I8E8W1tq524yQWbsZY7s8r0CW5DpeS3YyBQS2K7c cgkPCV8bGY/3V4pyFJsoYHEkuVBGc9406Qa4h6L7qgYtgnQId8EVJi1PFmimLjm4WdvXC1jGe LR+a6PWG51D8pIMMz3Y9t5vxoWFLprxsXObKR97+yypvEXJpmXvItUyig5yguniqSmTudCdqH tOxbCHRfCNWTlFIEUbR4tQCpVWe/c8KjPxdGf9hkFqfR89WL2I0MRI0pHtnfFu2siv53KT5+r Yi+cVIPFTiOJDo6TU/01NXZ4KoVaFn5c7r4oTI1N30zyRmLYdUAiFn9jNBmgxugh420ylE4CG izlJlg5jiwmlLA2dUiGxJrkr33yKN5doiYcDLCKOHgNGUXpJTwrZMcfSqrC1sFiqr2GAi14Mo +sd/bvy3p7kgyObnwgDXJ7cenjmxK+2AltscHnIK97O9RbwufAQGx1TR/np3DifG0hYhDkJQ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.18 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:230348 Archived-At: "Garreau, Alexandre" writes: > Hi all, Hi Alexandre, > 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 freedeskt= op > 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 condition= al 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 freedo= m for > notification server=E2=80=A6 > > I wanted to experiment more flexibility, so I=E2=80=99d like to know if d= bus.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? Read the D-Bus manual of Emacs: (info "(dbus)") It gives you the full flexibility to design your interface. Chapter "Offering own methods" is about the server part. Best regards, Michael.