Re: [GNU ELPA] New package: caffeinate-mode
Lucas Christian <[email protected]> Sat, 25 Jul 2026 17:19:48 -0700
| Newsgroups | gmane.emacs.devel |
|---|---|
| Message-ID | <[email protected]> |
Stéphane Marks <[email protected]> writes: > You could call caffeinate-block-display-sleep caffeinate-block-display-sleep-default. And rather than pollute (not being > impolite) the main menu with caffeinate-mode menu, consider doing what project.el does with its menu accessible via its > mode-line lighter. See project-mode-line-map and the function project-mode-line-format. It definitely was not supposed to be in the main menu. I did not realize that was the default behavior of easy-menu-define. Fixed in d8ef9fc1935b5e9011ee71465f1145d1711dfe85. I also re-worked the menu and added a global placement under "Tools" in 0b22d3a4c0e9d5aa3fd23330a5b562b41e56f397. You may hate that I called the menu "System Sleep" though ;). I think it's the most discoverable, but would settle for "System Sleep (Caffeinate)" or just "Caffeinate" if you want to reserve "System Sleep" for future functionality of your package. -- Lucas Christian [email protected]