From: "T.V Raman" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 55770@debbugs.gnu.org
Subject: bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical
Date: Thu, 02 Jun 2022 09:32:09 -0700 [thread overview]
Message-ID: <p917d5zxbzq.fsf@retriever.mtv.corp.google.com> (raw)
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 🦮
next reply other threads:[~2022-06-02 16:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-02 16:32 T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-06-03 3:57 ` bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=p917d5zxbzq.fsf@retriever.mtv.corp.google.com \
--to=bug-gnu-emacs@gnu.org \
--cc=55770@debbugs.gnu.org \
--cc=raman@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).