Comments (6)
@arifer612 thanks for your help.
After further investigation, I discovered that the issue was due to the following (now commented) line in .dir-locals.el
, probably firing a recursive activation of function calls.
((latex-mode
;; (mode . latex )
))
I don't why it got there first of all, or if it was used before the recent auctex upgrade.
from spacemacs.
It might be helpful to run a profiler to check what's going on under the hood. My LaTeX files are humongous an even despite using LSP as the backend, it takes about a second (two tops) to load them all up.
from spacemacs.
Here is the CPU profiling, which shows a 70% of CPU time spent on evil-tex-mode
cpu_profile.txt
from spacemacs.
Yep, 70% just for evil-tex-mode
is quite significant. Unfortunately, I am not
able to reproduce this issue with my setup, nor on a fresh setup with the most
basic configurations. It might just be an unexpected issue or perhaps something
amongst your currently installed packages are interfering with it. I would
suggest upgrading all your packages first to see if there's improvement, and if
there isn't then to delete the contents of ~/emacs.d/elpa/29.3
to force Emacs
to re-download all the packages again.
from spacemacs.
You're welcome! On another note, that's quite a nasty recursive hell you ended up in 🤣, good thing you caught that. Hope your TeX experience on Emacs/Spacemacs goes smooth from now on!
from spacemacs.
You're welcome! On another note, that's quite a nasty recursive hell you ended up in 🤣, good thing you caught that. Hope your TeX experience on Emacs/Spacemacs goes smooth from now on!
It's incredible how fast a file is opening now XD for the last month or so, I got used to incredible amount of delays!
from spacemacs.
Related Issues (20)
- Custom option `desktop-save-mode t` now loads `desktop` automatically upon launch (new behavior) HOT 1
- Cannot load applications from eaf layer: "ModuleNotFoundError: No module named 'PyQt6'" HOT 1
- Company fails to install after upgrading emacs to 29.2 HOT 1
- Python configuration in Spacemacs HOT 5
- Feature Request: Add option for recentf buffers for compleseus layer HOT 2
- Don't use orderless with company-capf as a default
- Pressing TAB to autocomplete on java makes the whole editor freeze (company capf timeout)
- Spacemacs is unusable, reporting `Symbol's function definition is void: function-alias-p` HOT 7
- Typescript layer: No ESLint configuration found in project after explicitly setting `exec-path` with project path to ESLint HOT 2
- ESS layer does not bind keys for inferior-ess-mode HOT 1
- a strange space on the number line gutter HOT 7
- mini buffer is hiding other windows HOT 4
- auto-completion is broken if dotspacemacs-scratch-mode enables company
- Building documentation locally HOT 2
- Php Mode keep show this error. HOT 1
- configuration-layer/package-used-p is inconsistent with cfgl-package-used-p HOT 1
- Ruby debugger highlighting false-positives
- Minor improvement: option to disable query for whether to open newly saved file HOT 4
- `git grep` is preferred over `rg` but is massively deficient HOT 2
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 spacemacs.