---- +++ headers in status buffer

2 views
Skip to first unread message

Samuel Wales

unread,
Nov 19, 2022, 11:18:03 PM11/19/22
to Magit
i am currently using a version of emacs that is probably not supported
by modern magit. i tried it, anyway.

in any case, however, i have been using a paleolithic version of
magit, because it shows --- +++ headers in the status buffer. at some
point, magit stopped showing those. but i have searched recently, and
maybe it can show them?

i found magit-insert-status-headers in what look like remarkably
comprehensive online docs, but also a report that it is/was slow
[which doesn't really make sense if it is for --- +++ headers]. does
modern magit support --- +++ headers?

anything else i might like to know about modern magit? it seems a lot
of development has occurred.

it seems the package is still well received.

thanks! :).

--
The Kafka Pandemic

A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com

Jonas Bernoulli

unread,
Nov 20, 2022, 8:54:12 AM11/20/22
to Samuel Wales, Magit
Samuel Wales <samol...@gmail.com> writes:

> i am currently using a version of emacs that is probably not supported
> by modern magit. i tried it, anyway.

You'll need at least Emacs 25.1.

> in any case, however, i have been using a paleolithic version of
> magit, because it shows --- +++ headers in the status buffer.

Very old indeed.

> at some
> point, magit stopped showing those. but i have searched recently, and
> maybe it can show them?

No, that's not possible anymore. The information in those lines is
quite redundant. In the future it be become possible to show those
lines again, for the sake of doing the same as other tools (okay and
also to be able to copy-paste into those other tools). But this is
a very low priority, i.e., this might become possible again as a
side-effect of large changes, not because it is a goal in itself.

> i found magit-insert-status-headers in what look like remarkably
> comprehensive online docs, but also a report that it is/was slow
> [which doesn't really make sense if it is for --- +++ headers].

This function is unrelated. It is responsible for showing the
information at the very top of the status buffer, such as the current
branch and its upstream. And the latest tag--that's the part that can
be very slow in some repositories.

> does modern magit support --- +++ headers?
>
> anything else i might like to know about modern magit? it seems a lot
> of development has occurred.

Err...yes. Tons of new stuff. It generally dwims more.

> it seems the package is still well received.
>
> thanks! :).

Cheers,
Jonas

Samuel Wales

unread,
Nov 20, 2022, 7:40:18 PM11/20/22
to Jonas Bernoulli, Magit
great answer, thank you.

for clarity, the REASON i use a paleolithic version of magit is that i
need those headers. :) i'll try to stick with old magit for the time
being; dunno if emacs upgrades will allow that.
Reply all
Reply to author
Forward
0 new messages