this post was submitted on 30 Oct 2023
1 points (100.0% liked)

Emacs

311 readers
3 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

I would like to write something to have emacs listen on dbus for notifications and update the color of a char on the mode line as telega does. Do you have any suggestions on how to do the above?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago

If Emacs will start a long-running process and react whenever there's new output, then you'll want to see C-h i g (elisp)Asynchronous Processes and C-h i g (elisp)Output from Processes. (n.b. I've added a couple of other notes to my initial reply, too.)