Re: [GNU ELPA] New package: caffeinate-mode
Stéphane Marks <[email protected]>
| Newsgroups | gmane.emacs.devel |
|---|---|
| Message-ID | <CAN+1HbqoG64DFZTJ8GwfSqUnnD0P7+RbC-kQ=OXxfpNTtGbfEA@mail.gmail.com> |
On Tue, Jul 21, 2026 at 10:27 PM Lucas Christian <[email protected]> wrote: > Stéphane Marks <[email protected]> writes: > > > Does it even need to be a mode or can it just be a package with a few > > commands, e.g., caffeinate, caffeinate-display, decaffeinate, > > defcustom for the default display sleep state and interval, and global > > private variables for the active sleep token and timer? > > I think the main advantage of it being a mode is that it leaves a clear > indicator in the mode line when it is active. > That's pretty easy to do without being a mode.