Comments (5)
You would probably want to add a osascript -e 'tell application "Emacs" to activate'
to the emacs client command to make the focus go to emacs. The problem with this is that that command wont work for people using terminal or X11 emacs.
from alert.
@jwiegley Any thoughts about this? If you don't think it would be appropriate to add this to alert.el, I totally understand.
from alert.
I think this falls into the realm of "better offered as a separate add-on package". I'd be happy to link to it from a "contrib" section in the README.
from alert.
Yeah, that probably makes the most sense. My only concern on that front --and the whole reason I brought this up here instead of doing that to begin with-- is that doing so either requires the definition of a new notification type or a patch to alert-notifier-notify
. What if the only thing added to alert was a function variable that is evaluated in alert-notifier-notify
to determine the value passed to the '-execute' flag (when defined). The default behavior would still be to not pass the -execute flag, as a value would be passed only when the function variable is non-nil.
If you don't think that this modification is a good idea, do you think it would be better to define a completely new notification type or to redefine alert-notifier-notify
?
from alert.
I certainly want alert.el to be easy for others to write extension packages for it, so if you need that sort of change to get your module written, I'd happily accept it.
from alert.
Related Issues (20)
- tmux-specific alert styles HOT 1
- [FR] Add severity "emoji icons"
- Minor mode to allow users to override the builtin `notifications-notify` command with `alert`?
- Add a windows desktop style desktop notification
- Subtitle property?
- `alert-log-messages` and packages.
- post-command-hook alert-remove-on-command should not act during eval-expression
- Race Condition On mode-line Prevents (Meaningful) Restore
- alert broken using growl on Windows
- alert won't notify via notify-send HOT 2
- not working with Chinese or Emoji when style is osx-notifier HOT 1
- not working well with notifier style HOT 1
- :persistent doesn't work with libnotify HOT 5
- Support sounds
- Enhancement request: use https://github.com/KDE/snoretoast instead
- Feature request: ability to change app name
- Use `notifications-notify`, not `notify-send` command? HOT 1
- Parameter `:style` is not handled correctly HOT 2
- invalid-function: log4e:deflogger HOT 2
- alert-fade-time not working with osx-notifier
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 alert.