From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Konstantin Kharlamov Newsgroups: gmane.emacs.devel 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 Message-ID: <8c0f6726a535fdb203907ee0a105a9cc72861ca1.camel@yandex.ru> References: <87h66gcuxk.fsf@gmail.com> <809895537e1e07fca05e124a4741f2de8e0cc080.camel@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26602"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.54.2 To: Stefan Kangas , Eval EXEC , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 03 10:32:27 2025 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tTe2d-0006kN-6s for ged-emacs-devel@m.gmane-mx.org; Fri, 03 Jan 2025 10:32:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTe1s-0004us-Cj; Fri, 03 Jan 2025 04:31:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTe1l-0004uE-GF for emacs-devel@gnu.org; Fri, 03 Jan 2025 04:31:36 -0500 Original-Received: from forward502d.mail.yandex.net ([2a02:6b8:c41:1300:1:45:d181:d502]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTe1h-0004cw-R4 for emacs-devel@gnu.org; Fri, 03 Jan 2025 04:31:33 -0500 Original-Received: from mail-nwsmtp-smtp-production-main-77.iva.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-77.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:108e:0:640:8d65:0]) by forward502d.mail.yandex.net (Yandex) with ESMTPS id 8CE5760DC8; Fri, 3 Jan 2025 12:31:24 +0300 (MSK) Original-Received: by mail-nwsmtp-smtp-production-main-77.iva.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id NVdlQg0MbSw0-BksULKoR; Fri, 03 Jan 2025 12:31:24 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1735896684; bh=0iwr/GsadumNkmz+32ofjcZvT1HykPagEuQrj5WZw74=; h=In-Reply-To:Date:References:To:From:Subject:Message-ID; b=CIEWMd6uuieVEl7Vrryk3wEjpX52ffFHmI8Ufeul11jgD2uhD5mLekDSzEazeOYVr s75pbx7Bg5JZn6ZhKr1mbBkm0wpXPom2SciiZ9lp9IXsaQPgfhi4+WXHoKM8yfNkgQ o6rGDZf7Uo9WPnJdLUHYxXmKWWEzQyTZqhxfR3IA= Authentication-Results: mail-nwsmtp-smtp-production-main-77.iva.yp-c.yandex.net; dkim=pass header.i=@yandex.ru In-Reply-To: Received-SPF: pass client-ip=2a02:6b8:c41:1300:1:45:d181:d502; envelope-from=Hi-Angel@yandex.ru; helo=forward502d.mail.yandex.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:327617 Archived-At: On Fri, 2025-01-03 at 03:21 -0600, Stefan Kangas wrote: > Konstantin Kharlamov writes: >=20 > > On Fri, 2025-01-03 at 13:45 +0800, Eval EXEC wrote: > > > Hello, I am building Emacs from source, and I=E2=80=99ve noticed > > > something > > > unusual. Line numbers appear in my rg and xref buffers, but they > > > disappear after approximately 100ms. This happens even though > > > I=E2=80=99ve > > > only > > > configured display-line-number-mode to be enabled in prog-mode > > > via an > > > add-hook. > > >=20 > > > Has there been any recent change in the code related to display- > > > line- > > > number-mode that might explain this behavior? > > >=20 > > > Thank you for your help! > >=20 > > FWIW, I just tried building Emacs from latest commit to look at it, > > but > > it doesn't even build with `Error: void-function (rx)`. > >=20 > > 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. =F0=9F=A4=B7 >=20 > 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.