Comments (14)
Which Emacs version do you have?
from emacs.d.
Maybe the change in 7b174a5 helps?
from emacs.d.
Warning
■ Warning (initialization): An error occurred while loading ‘c:/HOME/.emacs.d/init.el’:
Symbol's value as variable is void: treesit-extra-load-path
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace.
Emacs Version
GNU Emacs 29.1 (build 5, x86_64-w64-mingw32) of 2023-08-01
Sysmtem version
Microsoft Windows [Version 10.0.19045.3324]
Version Windows 10 Enterprise
Version number 22H2
Installation date 2023-03-28
Operating System Internal Version 19045.3324
Experience Windows Feature Experience Pack 1000.19041.1000.0
from emacs.d.
Okay, thanks, and is that with the latest commit? I would hope that it would have fixed the issue for you.
from emacs.d.
Maybe the change in 7b174a5 helps?
■ Warning (initialization): An error occurred while loading ‘c:/HOME/.emacs.d/init.el’:
End of file during parsing: c:/HOME/.emacs.d/init.el
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace.
D:\emacs-29.1-src\bin\runemacs.exe --debug-init
from emacs.d.
from emacs.d.
for %i in (*) do ren "%i" "libtree-sitter-%i"
from emacs.d.
"End of file during parsing: ../init.el" is the problem you should investigate. You must have invalid lisp in there somewhere, as a result of local editing.
from emacs.d.
Compile again with: --with-tree-sitter
./autogen.sh
PKG_CONFIG_PATH=/mingw64/lib/pkgconfig ./configure --host=x86_64-w64-mingw32
--target=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --with-wide-int
--with-jpeg --with-xpm --with-png --with-tiff --with-rsvg --with-xml2
--with-gnutls --without-imagemagick --with-tree-sitter
make -j
make install prefix=/d/emacs-29.1
from emacs.d.
Thank you very much. I found the problem. I missed a parenthesis when copying the code, but the tree-sitter still does not work. In addition, the hard line on the right does not display properly
from emacs.d.
from emacs.d.
Okay, but that code in init.el
isn't the same as the code in my repo.
Re. the line on the right, see init-editing-utils.el
: display-fill-column-indicator-character
is set to a unicode character that appears to be missing in your font. You can either change that code, or try a different font, but I can't offer advice for Emacs on Windows sorry.
from emacs.d.
@kungelee try download this instead. I think, your emacs build, not support tree-sitter (the message: cannot activate tree-sitter.....
). After running emacs, try Ctrl + h and put treesit-extra-load-path
. if is supported, the message buffer will like treesit-extra-load-path is a variable defined in ‘C source code’.
(I tested from zip version and exe running on Windows 10)
As for me, I have succesfully build emacs 29.1 with tree-sitter supported, on windows using this recipe. But, unless you are curious about building emacs(master) on windows or want to use msys2 toolkit/environment on windows for building C/C++ application/learning, the one from GNU's repo is sufficient (I will choose zipped version).
from emacs.d.
Closing as the issue is resolved in this repo.
from emacs.d.
Related Issues (20)
- About flymake-flycheck HOT 10
- Got error message, about function of sanityinc/make-read-only, pp-display-expression in .el file in emacs 29.0.60 HOT 3
- Won't load after init-local.el is created and/or removed HOT 2
- Using wdired to change file name, got error message. HOT 6
- projectile configuration make projectile's candidate display error in emacs 29 HOT 3
- support for copilot HOT 2
- keybinding issues with paredit HOT 4
- Disable Parenthese and quote autocompletion when the cursor is just before a word or characters HOT 8
- Multiple Python flymake checkers HOT 4
- treesit config not load on startup HOT 1
- Emacs says Symbol's function definition is void: setopt after updated to the latest version HOT 3
- Warning (treesit): Cannot activate tree-sitter, because language grammar for nix is unavailable (not-found) HOT 1
- Question on combining `eglot` + `nix` + `poetry` HOT 5
- symbol flymake-ruff-program is not bound
- M-X sly hits Error running timer: (void-function set-up-sly-hippie-expand) HOT 1
- Tidying up code HOT 1
- emacs Got Assertion failed: (derived-mode-p 'ibuffer-mode) HOT 5
- About the major-mode-remap-alist variable HOT 1
- org-mode cannot swap lists HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs.d.