all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Corwin Brust <corwin@bru.st>
Cc: emacs-devel@gnu.org, michael.albinus@gmx.de, mab@gnu.org
Subject: Re: erc-burnt-toast - Provide Windows Notification Center to erc with burnt-toast and erc-match
Date: Thu, 05 Mar 2020 08:28:13 +0200	[thread overview]
Message-ID: <8336anwc1u.fsf@gnu.org> (raw)
In-Reply-To: <CAJf-WoSW5uDxuatSfKXiGrvvzEJuxck-on-6kVPM+w75pToAug@mail.gmail.com> (message from Corwin Brust on Wed, 4 Mar 2020 16:09:52 -0600)

> From: Corwin Brust <corwin@bru.st>
> Date: Wed, 4 Mar 2020 16:09:52 -0600
> Cc: Eli Zaretskii <eliz@gnu.org>, mab@gnu.org, Emacs developers <emacs-devel@gnu.org>
> 
> There is one feature I cannot see how to accomplish and I'm afraid I
> somewhat centered erc-burnt-toast around it.
> 
> Burnt-Toast calls this feature Shoulder Tap Notifications, but I'll
> tall them "STN", here.  I find this quite useful.  STN will fall back
> creating to creating normal toast/addition to stack/whatever is
> configured in WIndows.  When an extra argument "person" matches the
> Email address of a contact, and given that contact has been previously
> pinned to the task-bar, a second additional argument "image" can be
> displayed hovering over the deskop.
> 
> I use the app "Buttery Toast" to make my start menu and task-bar
> "extra hidden" (they did not show unless I press the "flag" key). In
> any case, I often have (several) apps full-screen.  So erc-burnt-toast
> makes a someone popup and dance over my full-screen Netflix when I get
> mentioned on IRC, and my friends all think I am cool, and that Emacs
> is cool, and so on.

Sorry, I don't think I understand what that means in practice.  Can
you describe in more detail what this "Shoulder Taps" feature does,
and perhaps show a few screenshots?  I know very little about the new
look-and-feel of Windows 10, and even less about all the new buzzwords
they added to describe those features.

Also, it is not yet clear to me what kind of information would you
like to show in these ERC notifications.  Can you post a more detailed
description, and perhaps also tell which features of D-Bus
notifications you think you may be lacking in w32-notification-notify?
(I've read the README on the erc-burnt-toast site, but I still have
the above questions largely unanswered, probably because I don't know
enough about the Windows 10 notifications.)

> WWYT of adding "SholderTaps"?  II haven't started looking at w32's
> source so not sure what technical options may exist.

AFAIU, this cannot be done in Emacs, because the underlying APIs are
for C# programs.  So if you want this, you will have to invoke
external programs (which will have to be written in C# or compatible
languages).  That said, w32-notification-notify supports displaying
images via the :icon parameter, so I'd suggest first to investigate
whether this could do at least some subset of what "shoulder taps" do.

There's one other aspect of this discussion that bothers me: it sounds
like erc-burnt-toast is for Windows only? and there's no direct
equivalent of that for GNU/Linux?  If that's so, I suggest first to
figure out how these notifications will look on GNU/Linux (or in
general any platform that fully supports D-Bus), and only then discuss
how to do something similar natively on Windows.  The erc-burnt-toast
package is out there, so people who want it can use it; but adding a
core feature to ERC which comes with Emacs must first implement this
on GNU systems, and we cannot, as a matter of policy, have significant
features that work only on non-free platforms, without any equivalents
on free ones.



      reply	other threads:[~2020-03-05  6:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-03 19:17 Fwd: erc-burnt-toast - Provide Windows Notification Center to erc with burnt-toast and erc-match Michael Albinus
2020-03-03 21:52 ` Corwin Brust
2020-03-04 10:13   ` Michael Albinus
2020-03-04 15:38     ` Eli Zaretskii
2020-03-04 15:56       ` Michael Albinus
2020-03-04 22:09         ` Corwin Brust
2020-03-05  6:28           ` Eli Zaretskii [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=8336anwc1u.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=corwin@bru.st \
    --cc=emacs-devel@gnu.org \
    --cc=mab@gnu.org \
    --cc=michael.albinus@gmx.de \
    /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.