Comments (3)
The implemented specification prescribes semantics that go beyond simple linear output. There's an expectation, for example, that notifications get closed at some point (by the user, by the application, or by expiry). And if graphical representations of notifications stick around beyond their true lifetime, a user might try to invoke actions on notifications that the application no longer knows about.
That said, there's a hook ednc-notification-presentation-functions
, by default containing the internal ednc--update-log-buffer
function, that you can take a look at for inspiration. If you're okay with confusing behavior like the one I described above, you can put a function there that simply appends (the data of the new
) notification to a file, or calls some external program.
from ednc.
i just want emacs to be my notification manager but also a pop up man
jk, i'll take a look; i'll leave this open until I find a hack (or a curse) that allows me to achieve it
from ednc.
i just want emacs to be my notification manager but also a pop up man
To be clear, the ednc-notification-presentation-functions
hook can contain an arbitrary number of functions. If you keep the ednc--update-log-buffer
function in there, EDNC keeps working as it does by default, but at the same time you can have a function in there that calls external programs, or appends notifications to a file, or whatever.
Just be aware that there are situations where the behaviour of the external program might look odd. In that case you can resort to the regular EDNC way of doing things.
from ednc.
Related Issues (11)
- FYI: if-let, when-let, pcase-let HOT 9
- Feature requests HOT 2
- general experience, ideas, and thank you HOT 1
- Screenshots HOT 4
- ednc--get-hint errors out on valid association list HOT 4
- ednc-dismiss-notification key binding not working for me HOT 4
- Displaying new notifications in new frames is undocumented
- Support for embedded URLs could be better HOT 1
- Support for embedded images could be better HOT 5
- Interference by `openwith.el` HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ednc.