From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Corwin Brust Newsgroups: gmane.emacs.devel Subject: Re: erc-burnt-toast - Provide Windows Notification Center to erc with burnt-toast and erc-match Date: Wed, 4 Mar 2020 16:09:52 -0600 Message-ID: References: <87d09t8cyx.fsf@gmx.de> <87v9nk77i1.fsf@gmx.de> <83pndsw2od.fsf@gnu.org> <87mu8w6rml.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="120166"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Emacs developers , mab@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 04 23:10:58 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j9cED-000VAJ-Ss for ged-emacs-devel@m.gmane-mx.org; Wed, 04 Mar 2020 23:10:57 +0100 Original-Received: from localhost ([::1]:40390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9cEC-0004u8-Uz for ged-emacs-devel@m.gmane-mx.org; Wed, 04 Mar 2020 17:10:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59395) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9cDR-0004HY-Ri for emacs-devel@gnu.org; Wed, 04 Mar 2020 17:10:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9cDQ-0004Fl-L9 for emacs-devel@gnu.org; Wed, 04 Mar 2020 17:10:09 -0500 Original-Received: from mail-ed1-f65.google.com ([209.85.208.65]:42875) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j9cDN-0004CH-9i; Wed, 04 Mar 2020 17:10:05 -0500 Original-Received: by mail-ed1-f65.google.com with SMTP id n18so4176875edw.9; Wed, 04 Mar 2020 14:10:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7hna1AS/6u7hAihriuklyp6Qz6ETp2mCvWy4v6t4r3Q=; b=auA+qVs6SNPV5zd/Az9zUSYKcAgBP1MeFD0sIEWaDx7mw9/6aQARxk6VA40jpEDl9A yIWd1wNfN3GG/r49hvQtbLGpcYHVK/phlRlDwIUoijp9C+ydx9Ub50/OCR2Npwf1r85e dflBsP/eAuqQwt469qC0yg9jiHlWDN/ZPPvTCF8kTjEDhG5Bu857ryUKqXTQIaJwKMFw VhjUg7DgVGf+YjMfpLaklb9+kR7WaxqBI33aox8gRw7H9mCleXiKxbAMHi9LckBUVP9z HFuxb/OADbsjgDKsUdrWa5uE2PO9lZ8Vm8y/pn5K+hT8zU4lwdboSBbOC6uajqR4ptQs CZ8w== X-Gm-Message-State: ANhLgQ0jIvUurvWpC8iw96pLwgWhtxbPPeRivWmtZHTBcybj4H97UlPV 8Oi41UUwTEzot4JPj9kNBgLHZvSF5oIzXCpDVAc= X-Google-Smtp-Source: ADFU+vvcK/0XCFJGESC5gfyy8beD0FExVj6huIPauXbFMpek/+ltK+4S84P+0N8JX8mPRIGMgNFqSEu97X1E0gRL4vk= X-Received: by 2002:aa7:c3d5:: with SMTP id l21mr2180371edr.100.1583359803889; Wed, 04 Mar 2020 14:10:03 -0800 (PST) In-Reply-To: <87mu8w6rml.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.208.65 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245245 Archived-At: On Wed, Mar 4, 2020 at 9:56 AM Michael Albinus wrote: > > Eli Zaretskii writes: > > >> For MS Windows specific implementation options, I cannot speak seriously > >> about. However, ... > >> > >> > This would look rather like the DBUS wrapper in C for GNU/Linus, Mac, > >> > and Cygwin but wrapping (probably) the Windows Community Toolkit. > >> > This would definitely allow us to properly associate Emacs as the > >> > originating process and probably opens the door to let users > >> > create/manage GUIDs on the fly, which can to differentiate toasts as > >> > from different logical processes within Emacs and/or different users > >> > of Emacs. > >> > >> ... this doesn't sound bad in my ears. > > > > Guys, you _are_ aware that Emacs has w32-notification-notify since > > v25.1? > > Not me. I don't know what happens with Emacs on MS Windows, sorry. > > And alert.el doesn't know this either. > > > It only supports a small subset of what is possible with > > D-Bus, but maybe that's enough for your needs in this thread? > > Corwin, you might investigate how this fits into your needs. 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. WWYT of adding "SholderTaps"? II haven't started looking at w32's source so not sure what technical options may exist. > > Best regards, Michael. Thanks Eli. -- Corwin corwin.brust (skype) corwin@bru.st