-
Notifications
You must be signed in to change notification settings - Fork 310
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
Warning Couldn't find space #1197
Comments
Here is an ert test to recreate this error on
In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version Configured using: Configured features: Important settings: Major mode: ERT-Results Minor modes in effect: Load-path shadows: Features: Memory information: |
The problem might be the function |
I get 'Warning Couldn't find space' when expanding yas snippets in org src blocks.
I opened an issue in 2019 #976 and it eased the problem. However it never solved it. At the time I tried it on a fresh system but could not reproduce it. I assumed it was due to my complex setup.
I have managed to replicate it on a clean build. I stripped away as much as I could.
GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.0, Xaw3d scroll bars) of 2024-04-03
yasnippet 2024 - Version: 0.14.1
save as emacs lisp snippet
Get emacs-lisp snippets to work in org-mode
M-x find-file snippets/org-mode/.yas-parents
add the text
emacs-lisp-mode
and save file.
In test.org add the code below, note there is an indent of a space before the #'s
place cursor after
di
and press TAB
NOTE:
A collection of things had to be in place to generate this. Works when:
It does not work when content is above the yas trigger.
i.e. 2 is above the 'di' yas trigger key
The text was updated successfully, but these errors were encountered: