Giter VIP home page Giter VIP logo

gnus-desktop-notify.el's People

Contributors

basil-conto avatar purcell avatar syohex avatar tarsius avatar wavexx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gnus-desktop-notify.el's Issues

Notifications do not work in freebsd unless "notify-send" is specified

This may go beyond FreeBSD, but it's what I use so all I can report for here.

Basic setup:

(require 'gnus-desktop-notify)
(gnus-desktop-notify-mode)
(gnus-demon-add-scanmail)

Results in no notifications.

Other applications such as ERC have no problem sending desktop notifications from emacs-->dunst with dbus session and require no further configuration.

Workaround:
Use the mac-setup and specify notify-send instead of growlnotify,

(require 'gnus-desktop-notify)
(setq gnus-desktop-notify-function 'gnus-desktop-notify-exec
      gnus-desktop-notify-exec-program "notify-send")
(gnus-desktop-notify-mode)
(gnus-demon-add-scanmail)

Not sure why this is. Hope it might help somebody.

gnus-desktop-notify-explicit not working

FreeBSD 11.1 / spacemacs / gmail / imap

Hi, after several hours today, I have come to conclusion:

  1. Gnus-desktop-notify works as expected, displaying notifications for all groups by default, no problems.

  2. Gnus-desktop-notify will show notifications for explicitly selected groups with the following configuration, no problems:

;; Daemon to fetch email every ~5 mins (checks while emacs is idle)
(gnus-demon-add-handler 'gnus-demon-scan-news 5 t)

;; Use notify-send for desktop notifications on new mail
(require 'gnus-desktop-notify)
(setq gnus-desktop-notify-function 'gnus-desktop-notify-exec
      gnus-desktop-notify-exec-program "notify-send")
(gnus-desktop-notify-mode)
(gnus-demon-add-scanmail)

;; Only send desktop notifications for groups selected
;; by pressing 'G c' on the group and then checking the relevant notification box setting.
(setq gnus-desktop-notify-groups 'gnus-desktop-notify-explicit)

Caveats: I am unable to maintain all of my settings within gnus.el, and have to manually reconfigure within gnus via 'G c' for each group that I want to receive desktop notifications. It would be nice to set notification groups within gnus.el.

3. Gnus-desktop-notify feature to explicitly set notifiction groups from within gnus.el has no effect:
The following eg. having both a group named "INBOX" and a group named "00.FAMILY" does not work:

(setq gnus-desktop-notify-groups 'gnus-desktop-notify-explicit)
(setq gnus-parameters
   '(("INBOX"     (group-notify t))
     ("00.FAMILY" (group-notify t))))

Expected result: Receive desktop notifications for only my INBOX group and my 00.FAMILY group, but no other groups.
Actual result: Received zero notifications for any group.

It would be nice if we could find a way to get this working, I'd prefer to set my notification groups solely within gnus.el and not have to fiddle within gnus group settings via "G c"

If you would like me to test anything further in helping debug this, or if I have made an elementary mistake, please let me know. I am glad to have a desktop-notifier for my email. Thank You.

Move to GitLab

I'll be moving my source repositories to GitLab (https://gitlab.com/wavexx/) during the next few days.

I've been waiting to do this for a long time (at least since 2015) but I never switched because of network effects. I'll now use the acquisition news as an excuse to jump the shark!

This repository will be turned into a read-only archive after the migration and effectively become stale.
Since all issues and PR will be mirrored on gitlab, I'll also close all of them in github and reference this issue to make sure this is not going to be ignored.

See you on the other side!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.