help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Embedded list selection with ido-completing-read.


From: Hongyi Zhao
Subject: Re: Embedded list selection with ido-completing-read.
Date: Sun, 24 Oct 2021 23:05:21 +0800

On Sun, Oct 24, 2021 at 5:46 PM Emanuel Berg via Users list for the
GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:
>
> Hongyi Zhao wrote:
>
> >> Byte-compile #'xyzabc and 'abcxyz to see the difference ...
> >
> > By evaluating them, the same results are given:
> >
> > (byte-compile #'xyzabc) ;;  #[nil "\300\207" [nil] 1]
> > (byte-compile 'abcxyz) ;;  #[nil "\300\207" [nil] 1]
>
> Byte-compile as in line 59 here:
>
>   https://dataswamp.org/~incal/emacs-init/Makefile
>
> Always byte-compile your code BTW.
>
> Faster, better code. Ask here only when it byte compiles and
> you have 0 warnings and 0 errors - unless, of course, that's
> what your question is about ;)

My Emacs was compiled with the `--with-native-compilation` option, as
suggested here [1], so I think the byte-compile will be done
automatically on my Emacs machine. BTW, here are the detailed git
master Emacs compilation steps used by me:

$ ./autogen.sh
$ ./configure CFLAGS="-g3 -O2" --without-m17n-flt --with-native-compilation
$ make -j $(nproc) bootstrap
$ make -j $(nproc) NATIVE_FULL_AOT=1
$ make tags
$ sudo make install

[1] https://ddavis.io/posts/emacs-native-centos7/

HZ



reply via email to

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