all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: emacs-devel@gnu.org
Subject: Re: notifications.el server mode?
Date: Sat, 11 Jun 2011 16:49:47 +0200	[thread overview]
Message-ID: <87wrgs2zjo.fsf@gmx.de> (raw)
In-Reply-To: <87mxhoiop2.fsf@lifelogs.com> (Ted Zlatanov's message of "Sat, 11 Jun 2011 06:37:29 -0500")

[-- Attachment #1: Type: text/plain, Size: 859 bytes --]

Ted Zlatanov <tzz@lifelogs.com> writes:

> MA> I could provide you the D-Bus frame functionality, that's easy. I have
> MA> no idea how hard it is to implement the functionality with Emacs frames
> MA> and icons; this I would let to you :-)
>
> That would be great.  I'll handle the messages, sure.

I've appended a very raw frame, which works already for me. You'll get
the idea.

If you want to test, you might use another Emacs instance for sending a
notification. Running notifications.el and ofn-daemon.el in the same
Emacs instance does not work yet, because notifications.el uses the
synchronous `dbus-call-method'. This must be replaced by
`dbus-call-method-non-blocking', then both packages could be used in the
same Emacs instance.

As test, I have sent

   (notifications-notify :body "Hello Ted, this is Michael.")

> Ted

Best regards, Michael.


[-- Attachment #2: ofn-daemon.el --]
[-- Type: application/emacs-lisp, Size: 5052 bytes --]

      reply	other threads:[~2011-06-11 14:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-10 16:19 notifications.el server mode? Ted Zlatanov
2011-06-11  9:23 ` Michael Albinus
2011-06-11 10:49   ` Ted Zlatanov
2011-06-11 11:03     ` Michael Albinus
2011-06-11 11:37       ` Ted Zlatanov
2011-06-11 14:49         ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wrgs2zjo.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.