From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eval Exec 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, 3 Jan 2025 17:22:52 +0800 Message-ID: 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="10991"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Konstantin Kharlamov , emacs-devel To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 03 12:36:26 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 1tTfyc-0002hA-Ce for ged-emacs-devel@m.gmane-mx.org; Fri, 03 Jan 2025 12:36:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTfxp-000217-Mt; Fri, 03 Jan 2025 06:35:37 -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 1tTdtc-00043h-5N for emacs-devel@gnu.org; Fri, 03 Jan 2025 04:23:08 -0500 Original-Received: from mail-oi1-x241.google.com ([2607:f8b0:4864:20::241]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tTdta-0001Ce-CV for emacs-devel@gnu.org; Fri, 03 Jan 2025 04:23:07 -0500 Original-Received: by mail-oi1-x241.google.com with SMTP id 5614622812f47-3eb9de518e2so6120721b6e.2 for ; Fri, 03 Jan 2025 01:23:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735896183; x=1736500983; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=+EDt3G5aphPvsZntC9ydKTrnz5x7bOtjyencU63keh0=; b=HMYZalad9njZKW/F0+sHoHpgTcFO4cp4phtIBzrq8MT3SzFrq4WhFvy3bITKKZpLia Vcx4D0PPd9IQhVYFDIx4Js2N2GFwtDaiJBT+x2ILtn+mZTGJXEQOmRqyBLHBBlP0TX+1 IY1SkJW4B5Dql7TJWZeIBpfB9HGgjzgA2CJYcXdfUPZseTHrB1CsJGD0+bPobt1QGqxQ dlks/OJ0ycv0y4XhMsH+EsLFgz+3Vs4UturEds8NhjkoflBqni9OnqEMmFb2+Q6tZm+f y3yO/YGIjldw10Gel0IeXWkDoPHOgh1kvmIH3qE9x+6pQIBjYSMrl+4pA/zsUTd81zBZ CzhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735896183; x=1736500983; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+EDt3G5aphPvsZntC9ydKTrnz5x7bOtjyencU63keh0=; b=M1CYfQWsgCeOp6dczZhDhj1sn7WlsUIHkCjhOAJiDETjspkP0vqZ5AJ8mshPpUExsX D2aWQP7p73oFOHaN62UO0h5N4kDE0MN+PQeBRQ5R/DnGuL9B6ZNBgQvWTTuWONibB5wM 9wi8aXSSFTgbmcZSp07yu3fyFovn+qgWRojYMqcR5AEHeXIqXGkLXxCtff1Lboh+q+5V xVXC9Kt+CNiA1KpdeVOyZVBbLZXRcUHOb2WQ0ixUbjD6+A344PqUQwPpIlpZfwD7jjGp FPOgqWCkPc91SnESHBVSREFzKxl34yTGqxn9mZgHK6T56IULpGN9aKQrAo1A8s8fvtvB hR0g== X-Forwarded-Encrypted: i=1; AJvYcCWHIq4g+zGBCA+bFRnYe4cfvQRA+Hn5Em/1+42NFSjVRdJ6dili4EsoShTTCpEzHm1quosXtIMmLPgDhg==@gnu.org X-Gm-Message-State: AOJu0Yyx/oZcnj5X9g4ElSsP4qIAuzL1yp8VsBTXl3y7C0B5To/eW9rb tDdV2qRN+TzCIZLq0j+kHRdt4vSQTqA08PQtwb5Gxu30arWJMEFkve61+Miz7a53LrdONkU1DDr WDWyLbAyTLZ5Dpzq2uvZnE4N+x1s= X-Gm-Gg: ASbGncsRdRAmQwtGHslHdfmLixLt/cZi6676BwgwLGbkqTVYCF7/X/B/DX2YY5LKneD DRltTeUKV5ja4PUFvEPI+yRbtbyVigpArsgg= X-Google-Smtp-Source: AGHT+IFkpDI0LdwY1iui1VR9eyYRCUxNGkf8vyM3E90qB8GlzSG2CzXc6Znmf5spd+JXxoKHMfiVG/fT65ivMJEtHH0= X-Received: by 2002:a05:6871:a516:b0:29e:27bd:69ef with SMTP id 586e51a60fabf-2a7fb4b7ab0mr28013895fac.30.1735896183183; Fri, 03 Jan 2025 01:23:03 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::241; envelope-from=execvy@gmail.com; helo=mail-oi1-x241.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 03 Jan 2025 06:35:32 -0500 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:327620 Archived-At: No, I didn't build emacs by `make bootstrap`, I build emacs by: ```bash #!/usr/bin/env bash set -ex make extraclean BRANCH_NAME=3D$(git branch --show-current | sed 's/\//_/g') COMMIT_ID=3D$(git rev-parse HEAD) BUILD_DIR=3D${BRANCH_NAME}-${COMMIT_ID}-ld INSTALL_PREFIX=3D$(realpath ../emacs-build/${BUILD_DIR}) ./autogen.sh ./configure CFLAGS=3D'-O3 -march=3Dnative' LDFLAGS=3D'-O3 -march=3Dnative'= \ --prefix=3D${INSTALL_PREFIX} \ --with-imagemagick \ --with-modules \ --with-cairo --with-cairo-xcb \ --without-compress-install \ --with-native-compilation --with-mailutils\ --enable-link-time-optimization \ --with-tree-sitter --with-xinput2 \ --with-dbus --with-native-compilation=3Daot \ --with-file-notification=3Dinotify\ && make -j30 install ``` On Fri, Jan 3, 2025 at 5:21=E2=80=AFPM Stefan Kangas wrote: > > Konstantin Kharlamov writes: > > > 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 somet= hing > >> 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. > >> > >> 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. =F0=9F=A4=B7 > > Did you try make bootstrap?