GNU bug report logs - #47835
Wishlist: New footer line immediately above the mode line

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Sat, 17 Apr 2021 05:37:01 UTC

Severity: wishlist

To reply to this bug, email your comments to 47835 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#47835; Package emacs. (Sat, 17 Apr 2021 05:37:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Kangas <stefan <at> marxist.se>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 17 Apr 2021 05:37:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: bug-gnu-emacs <at> gnu.org
Subject: Wishlist: New footer line immediately above the mode line
Date: Sat, 17 Apr 2021 00:36:14 -0500
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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47835; Package emacs. (Wed, 29 Jun 2022 11:13:01 GMT) Full text and rfc822 format available.

Message #8 received at 47835 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 47835 <at> debbugs.gnu.org, 'Eli Zaretskii' <eliz <at> gnu.org>
Subject: Re: bug#47835: Wishlist: New footer line immediately above the mode
 line
Date: Wed, 29 Jun 2022 13:12:29 +0200
Stefan Kangas <stefan <at> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47835; Package emacs. (Wed, 29 Jun 2022 11:34:01 GMT) Full text and rfc822 format available.

Message #11 received at 47835 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 47835 <at> debbugs.gnu.org, stefan <at> marxist.se
Subject: Re: bug#47835: Wishlist: New footer line immediately above the mode
 line
Date: Wed, 29 Jun 2022 14:33:46 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: 47835 <at> debbugs.gnu.org, "'Eli Zaretskii'" <eliz <at> gnu.org>
> Date: Wed, 29 Jun 2022 13:12:29 +0200
> 
> Stefan Kangas <stefan <at> 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).




This bug report was last modified 2 years and 354 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.