Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the --nativecomp flag working? #5

Open
baracunatana opened this issue Feb 12, 2021 · 4 comments
Open

Is the --nativecomp flag working? #5

baracunatana opened this issue Feb 12, 2021 · 4 comments

Comments

@baracunatana
Copy link

Hi

I see it in emacs-build.cmd, but not in the README file. Is it working properly?

Thanks,

@juanjosegarciaripoll
Copy link
Owner

No, it is not working for me. I added it, but the result is giving me some headaches and does not work yet as it should. Any help is appreciated.

@baracunatana
Copy link
Author

I managed to compile, run, and load a basic config using the following commands from MinGW 64

pacman -Syu
pacman -S base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-xpm-nox mingw-w64-x86_64-libtiff mingw-w64-x86_64-giflib mingw-w64-x86_64-jbigkit mingw-w64-x86_64-libpng mingw-w64-x86_64-libjpeg-turbo mingw-w64-x86_64-librsvg mingw-w64-x86_64-libxml2 mingw-w64-x86_64-gnutls mingw-w64-x86_64-libgccjit mingw-w64-x86_64-jansson texinfo mingw-w64-x86_64-cairo mingw-w64-x86_64-zlib git
git clone git://git.savannah.gnu.org/emacs.git
cd emacs
git config core.autocrlf false
git checkout feature/native-comp
mkdir /c/Users/Juan/Aplicaciones/emacs
./autogen.sh
mkdir build
cd build
../configure --with-nativecomp --with-gnutls --with-jpeg --with-png --with-rsvg --with-xml2 --without-imagemagick --without-pop
make -j8
make install prefix=/c/Users/Juan/Aplicaciones/emacs

I'm currently facing some issues with pdf-tools that apparently surface only in the native-comp branch, but so far so good.

One thing I'm not sure about is if it really has performance benefits. My agenda generates faster, but opening a file seems slower... Any clue on how to really test it out?

@baracunatana
Copy link
Author

The pdf-tools issues are fixed with politza/pdf-tools#588. It hast to be done manualy while the PR is accepted in the pdf-tools repo.

However, I can't seem to make pdf-tools work with highlights. I just can't select text for highlith annotations... I know this isn't part of your project and shouldn't be discussed in this repo, but can you share your pdf-tools config section?
I currently have:

(use-package pdf-tools
    :init
    ;(pdf-tools-install)

    :mode
    ;; Arrancar pdf-view-mode al abrir un pdf
    ("\\.pdf\\'" . pdf-view-mode)

    :hook
    ;; Evitar que el titileo del cursos ponga a titilar todo el documento
    (pdf-view-mode . (lambda () (blink-cursor-mode -1)))
    ;; Deshabilitar display-line-number-mode en pdf-view
    (pdf-view-mode . (lambda () (display-line-numbers-mode -1))))

@juanjosegarciaripoll
Copy link
Owner

juanjosegarciaripoll commented Feb 17, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants