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: Eval Exec
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

No, I didn't build emacs by `make bootstrap`, I build emacs by:
```bash
#!/usr/bin/env bash
set -ex

make extraclean

BRANCH_NAME=$(git branch --show-current | sed 's/\//_/g')
COMMIT_ID=$(git rev-parse HEAD)
BUILD_DIR=${BRANCH_NAME}-${COMMIT_ID}-ld
INSTALL_PREFIX=$(realpath ../emacs-build/${BUILD_DIR})

./autogen.sh
./configure  CFLAGS='-O3 -march=native' LDFLAGS='-O3 -march=native' \
  --prefix=${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=aot \
  --with-file-notification=inotify\
  && make -j30 install
```

On Fri, Jan 3, 2025 at 5:21 PM Stefan Kangas <stefankangas@gmail.com> 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?



reply via email to

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