-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature requests #10
Comments
The default behavior of EDNC is just a starting point that users are free to customize, and I would rather not introduce any functions that are a better fit for an individual user's configuration file. (For the same reason, I have helpful functions like The important thing is that EDNC's public API is flexible enough for users to implement their ideas, and in your case it turned out that life could be made easier by a small change to
You can now use a function like the following in your log-buffer to close all expanded views: (defun unexpand-all-notifications ()
(goto-char (point-max))
(while (zerop (forward-line -1)) (ednc-toggle-expanded-view (point) -1)))
You can leverage the function above to do that as well: (defun unexpand-log-buffer-on-new (old new)
(when new (with-current-buffer (get-buffer-create ednc-log-name)
(unexpand-all-notifications))))
(push #'unexpand-log-buffer-on-new ednc-notification-presentation-functions) (Yes, this unexpands all notifications, including the new one, but you presumably use Thanks for the feedback. |
Thank you. |
The reason why I would like this is because I open all new notifications in expanded form.
Thank you for this package. I have ednc-log buffer open all the time, and I rely on it to an eye on my notifications.
The text was updated successfully, but these errors were encountered: