unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical
@ 2022-06-02 16:32 T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-06-03  3:57 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 9+ messages in thread
From: T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-06-02 16:32 UTC (permalink / raw)
  To: 55770

From: Eli Zaretskii <eliz@gnu.org>
To: "T.V Raman" <raman@google.com>
Subject: Re: battery.el: Add option to play a sound when battery hits
 critical?
Date: Thu, 02 Jun 2022 19:28:01 +0300
Cc: emacs-devel@gnu.org

> Date: Thu, 02 Jun 2022 08:42:48 -0700
> From: "T.V Raman" <raman@google.com>
> 
> Subject line almost says it all:
> 
> battery.el can change the face used to display battery status in the
> modeline. 
> 
> Could we also have a defcustom that makes an auditory alert that is
> configurable when it transitions from normal to low and low to
> critical?

Maybe we should have a hook that would be run by the battery.el's
timer function, then you could write a hook function to do whatever
you want, including playing a sound.

Suggest to file a feature request bug report about this.

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1  🦮





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-06-04  2:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-02 16:32 bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-03  3:57 ` Lars Ingebrigtsen
2022-06-03 14:06   ` T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-03 16:39   ` T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-03 17:49     ` Eli Zaretskii
2022-06-03 18:00       ` T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-03 18:40         ` Eli Zaretskii
2022-06-03 20:09           ` T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-04  2:01             ` Phil Sainty

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).