Comments (4)
Sounds reasonable I'll put it in my queue
from spacemacs.
I am going to remove undo-tree due to a lot of other issues anyway so no need to bother with the message.
Once it is removed though I would be happy about some feedback though.
from spacemacs.
Merged your PR @fnussbaum
from spacemacs.
The problem I have is that when I try to use auto-completion in an emacs-lisp buffer the auto-completion gets unuseably slow
I encountered the same problem, but it was not due to orderless, as it persisted with only the basic completion style enabled on my system. I looked into it, and it was mainly due to undo-tree polluting obarray
with hundreds of thousands garbage symbols undo-tree-id...
. The following function counted more than a million for me:
(defun fn/count-undo-tree-ids ()
(interactive)
(let ((count 0))
(cl-do-all-symbols (sym)
(when (string-prefix-p "undo-tree-id" (symbol-name sym))
;; (unintern sym) ; this fixes the slowness for me
(cl-incf count)))
(message "Counted %s undo-tree-id symbols in obarray." count)))
Those symbols were initially created to deal with markers and should have stayed uninterned, but they get interned implicitly during deserialisation. In particular they do not serve any purpose after deserialisation, as undo-tree-deserialize
initialises the object-pool to an empty hash table, and markers do not survive having their buffer killed anyway.
The completion using company still felt a little bit slow, hence I switched to corfu for emacs-lisp-mode
which unlike company does not seem to slow down typing at all, and one can easily use orderless with a SPC separator.
Sounds reasonable I'll put it in my queue
I think the existing advice is fine, at least on my system disabling orderless does not seem to have any benefits.
from spacemacs.
Related Issues (20)
- Unable to read help `C-h` minibuffer bottom text line HOT 1
- Saving files of any size is annoyingly slow HOT 10
- Erc layer: Wrong type arguement: commandp, spacemacs/erc-find-channel-log
- Error when starting spacemacs HOT 11
- `#include <fstream>` deleted by `c-c+-organize-includes` HOT 1
- Unable to Plot Graphs in R HOT 2
- [c-c++] There is no command under 'compile' leader key. HOT 3
- Spacemacs Loads .Rprofile when LSP is ON HOT 1
- display-buffer-alist not respecting window settings HOT 2
- Terminal nvim colorscheme affected by installing spacemacs HOT 1
- How can i move .spacemacs to .emacs.d or ~ , when i use it in the win10? HOT 2
- Deleting a file drops you into an InactiveMinibuffer with no spacemacs keybinds HOT 3
- Incorrect macro-expansion of evilified-state-evilify-maps with pre-bindings
- SPC o- which-key: There are no keys to show HOT 2
- Slow performance of Emacs, in general, and with LaTeX in particular HOT 5
- xclipboard layer does not work HOT 3
- How can I make org-roam's buffer look useful and nice like it does in doom emacs? HOT 4
- How can I pin a specific package version or commit, e.g. for org-mode? HOT 4
- Modeline RHS missing when viewing info help HOT 2
- helm-descbinds disable which-key HOT 1
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.