unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#47835: Wishlist: New footer line immediately above the mode line
@ 2021-04-17  5:36 Stefan Kangas
  2022-06-29 11:12 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Kangas @ 2021-04-17  5:36 UTC (permalink / raw)
  To: 47835

Severity: wishlist

It would be useful to have a footer line that would work like the header
line but was at the bottom instead, immediately above the mode line.

It could be used to display information associated with a buffer without
having to overwrite the mode line.  The mode line contains useful
information that one might not want to hide.

One use-case for this would be `list-packages', where the header line is
already used for tabulation, but one might want to display extra
information such as the number of installed packages.  There exists
third-party packages that adds such information to the mode line, but
that risks hiding other information (depending on your customization,
window width, etc.).

I would propose to introduce a new variable `footer-line-format' in
analogy with `header-line-format' for this.





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

* bug#47835: Wishlist: New footer line immediately above the mode line
  2021-04-17  5:36 bug#47835: Wishlist: New footer line immediately above the mode line Stefan Kangas
@ 2022-06-29 11:12 ` Lars Ingebrigtsen
  2022-06-29 11:33   ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-29 11:12 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 47835, 'Eli Zaretskii'

Stefan Kangas <stefan@marxist.se> writes:

> It would be useful to have a footer line that would work like the header
> line but was at the bottom instead, immediately above the mode line.

Yes, I can see that being very useful in some modes.

I have no idea whether it would be much work to implement -- Eli, could
we reuse the header line code for something like this (but just, er,
"move it down" 😀), do you think?  (I haven't looked at it at all.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#47835: Wishlist: New footer line immediately above the mode line
  2022-06-29 11:12 ` Lars Ingebrigtsen
@ 2022-06-29 11:33   ` Eli Zaretskii
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2022-06-29 11:33 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 47835, stefan

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: 47835@debbugs.gnu.org, "'Eli Zaretskii'" <eliz@gnu.org>
> Date: Wed, 29 Jun 2022 13:12:29 +0200
> 
> Stefan Kangas <stefan@marxist.se> writes:
> 
> > It would be useful to have a footer line that would work like the header
> > line but was at the bottom instead, immediately above the mode line.
> 
> Yes, I can see that being very useful in some modes.
> 
> I have no idea whether it would be much work to implement -- Eli, could
> we reuse the header line code for something like this (but just, er,
> "move it down" 😀), do you think?  (I haven't looked at it at all.)

It's possible (in fact, addition of tab-line did just that, more or
less).  But to have a special screen line at bottom would be a more
complex job than what was done for tab-line, IMO, because its position
relative to the window's top should change whenever the window
dimensions change.  So the display code and the code which handles
window dimensions will have to be taught about such a special line.
Not rocket science, just a lot of boring bookkeeping...

Volunteers are welcome (and will be helped if needed).





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

end of thread, other threads:[~2022-06-29 11:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-17  5:36 bug#47835: Wishlist: New footer line immediately above the mode line Stefan Kangas
2022-06-29 11:12 ` Lars Ingebrigtsen
2022-06-29 11:33   ` Eli Zaretskii

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).