Eli Zaretskii writes: [...] >> >> +The mode line is hidden from every major mode change in current buffer. >> > >> > This sentence confused me. What did you mean to say here? >> >> e.g. If you call `toggle-mode-line-visibility` in the scratch buffer and >> later call `text-mode` in the same buffer, the mode line will become >> visible again, which is not convenient since this command is meant to >> enable/disable the mode line per buffer, not per major mode. > > So you want to say this: > > Changing the major mode will not display the hidden mode line. > > Or maybe simply remove this part: why would someone assume that > another major mode will override this? If they won't expect that, > you don't have to explain that it won't happen. Agree, I've removed that part. >> +(define-minor-mode toggle-mode-line-visibility >> + "Toggle mode line visibility in current buffer. > > I don't see why "toggle" should be in the name. How about > mode-line-invisible-mode ? Fine, I've renamed it to `mode-line-invisible-mode`. > or hide-mode-line-mode ? I would have liked to use that name, but there is already a package that has it. So I prefer to avoid potential bugs due to the name.