From: Michael Albinus <michael.albinus@gmx.de>
To: "Garreau\, Alexandre" <galex-713@galex-713.eu>
Cc: emacs-devel@gnu.org
Subject: Re: D-Bus and notifications
Date: Fri, 12 Oct 2018 13:55:35 +0200 [thread overview]
Message-ID: <87a7njcrbc.fsf@gmx.de> (raw)
In-Reply-To: <8736tb8meh.fsf@portable.galex-713.eu> (Alexandre Garreau's message of "Fri, 12 Oct 2018 12:55:18 +0200")
"Garreau, Alexandre" <galex-713@galex-713.eu> 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 “urgency” flag in freedesktop
> notifications spec is not urgency but importance, the “timeout” only is
> about displaying, and the “sound-name” 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’t much freedom for
> notification server…
>
> I wanted to experiment more flexibility, so I’d like to know if dbus.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’t 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.
prev parent reply other threads:[~2018-10-12 11:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-12 10:55 D-Bus and notifications Garreau, Alexandre
2018-10-12 11:55 ` Michael Albinus [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a7njcrbc.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=emacs-devel@gnu.org \
--cc=galex-713@galex-713.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).