summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/emacs-gnus-desktop-notify-rescan.patch
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2025-06-13 12:44:32 +0900
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2025-06-19 11:29:57 +0200
commit8d419976b21d61a1b3c6d919c593cacdf16a37aa (patch)
treee351b25f374a7c3b1cd3e7965afe093738f487c3 /gnu/packages/patches/emacs-gnus-desktop-notify-rescan.patch
parentf1f419b90f699023c0afc6a5f1ec2ac8ffa3f1d2 (diff)
gnu: Add emacs-gnus-desktop-notify.
* gnu/packages/emacs-xyz.scm (emacs-gnus-desktop-notify): New variable. * gnu/packages/patches/emacs-gnus-desktop-notify-fix-notifications.patch: New file. * gnu/packages/patches/emacs-gnus-desktop-notify-rescan.patch: Likewise. * gnu/local.mk (dist_patch_DATA): Register them. Change-Id: I7f25870949411f8f1326871d67bdbdbe59feef6b Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu/packages/patches/emacs-gnus-desktop-notify-rescan.patch')
-rw-r--r--gnu/packages/patches/emacs-gnus-desktop-notify-rescan.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/patches/emacs-gnus-desktop-notify-rescan.patch b/gnu/packages/patches/emacs-gnus-desktop-notify-rescan.patch
new file mode 100644
index 0000000000..2e1f7782a3
--- /dev/null
+++ b/gnu/packages/patches/emacs-gnus-desktop-notify-rescan.patch
@@ -0,0 +1,37 @@
+Upstream-status: https://gitlab.com/wavexx/gnus-desktop-notify.el/-/merge_requests/16
+
+diff --git a/README.rst b/README.rst
+index 4cacdcb..150a2c2 100644
+--- a/README.rst
++++ b/README.rst
+@@ -18,7 +18,7 @@ new messages are received. For basic usage, to be used in conjunction with
+
+ (require 'gnus-desktop-notify)
+ (gnus-desktop-notify-mode)
+- (gnus-demon-add-scanmail)
++ (gnus-demon-add-rescan)
+
+ into your ``.gnus`` file. The default is to use alert_ if available, which
+ works on every operating system and allows the user to customize the
+@@ -52,7 +52,7 @@ follows:
+ (setq gnus-desktop-notify-function 'gnus-desktop-notify-exec
+ gnus-desktop-notify-exec-program "growlnotify -a Emacs.app -m")
+ (gnus-desktop-notify-mode)
+- (gnus-demon-add-scanmail)
++ (gnus-demon-add-rescan)
+
+
+ Advanced setup
+diff --git a/gnus-desktop-notify.el b/gnus-desktop-notify.el
+index 97e65f3..3153807 100644
+--- a/gnus-desktop-notify.el
++++ b/gnus-desktop-notify.el
+@@ -50,7 +50,7 @@
+ ;;
+ ;; (require 'gnus-desktop-notify)
+ ;; (gnus-desktop-notify-mode)
+-;; (gnus-demon-add-scanmail)
++;; (gnus-demon-add-rescan)
+ ;;
+ ;; into your ``.gnus`` file. The default is to use `alert' if available, which
+ ;; works on every operating system and allows the user to customize the