emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs 31.0.50 (2f1052d9b0de) will line-number in some buffers which


From: Konstantin Kharlamov
Subject: Re: Emacs 31.0.50 (2f1052d9b0de) will line-number in some buffers which shouldn't show it, is there some changed in recent master branch related to display-line-number
Date: Fri, 03 Jan 2025 12:31:23 +0300
User-agent: Evolution 3.54.2

On Fri, 2025-01-03 at 03:21 -0600, Stefan Kangas wrote:
> Konstantin Kharlamov <Hi-Angel@yandex.ru> writes:
> 
> > On Fri, 2025-01-03 at 13:45 +0800, Eval EXEC wrote:
> > > Hello, I am building Emacs from source, and I’ve noticed
> > > something
> > > unusual. Line numbers appear in my rg and xref buffers, but they
> > > disappear after approximately 100ms. This happens even though
> > > I’ve
> > > only
> > > configured display-line-number-mode to be enabled in prog-mode
> > > via an
> > > add-hook.
> > > 
> > > Has there been any recent change in the code related to display-
> > > line-
> > > number-mode that might explain this behavior?
> > > 
> > > Thank you for your help!
> > 
> > FWIW, I just tried building Emacs from latest commit to look at it,
> > but
> > it doesn't even build with `Error: void-function (rx)`.
> > 
> > Now, I know Emacs build system has some controversial design
> > decisions
> > that were discussed a few months ago (which basically lead to
> > errors
> > like that), so I tried removing `build/` dir completely and `find -
> > type
> > f -name "*.elc" -delete` but it didn't help. 🤷
> 
> Did you try make bootstrap?

Nope. I just have specific directory where I assembly Emacs Arch
package, whereas the building uses the usual `./configure` and `make`
process. For this test I figured I'd update the Emacs package and test
the same problem at the same time, but I get this.

I think if I remove the repo completely, the error will go away,
because that's how it usually works with that kind of errors. But IMO
this is a bug in build system, because build system should handle
rebuilds without any kind of cleaning or removing specific files.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]