-
Notifications
You must be signed in to change notification settings - Fork 313
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
org-mode #+END_SRC strange behaviour #707
Comments
Doesn't happen here. I have the identical Emacs version as you. Did you start from From the yasnippet checkout I ran
GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 |
Nope, I didn't. If I try emacs -Q then again I am not sure how to load yasnippet. (require 'yasnippet) doesn't work. But. I have tried your steps with my config and It works! (I have only changed the key to The file is named I have renamed it to |
well, if I rename file to |
It should work if you run from the directory where yasnippet is installed, which for you is probably something like
Hmm, I tried with the
Are you keeping the |
I have 4 org snippets defined: org src, org quote, org verse, org title. All of them works except org src.
Yes Thanks for pointing out how to run emacs from the yasnippet dir. I get the same result as in first message. I have run |
I don't know if it is windows specific issue or not -- I will check the same on a mac tomorrow. What I have found so far:
I tried filenames |
I'm testing with Windows and not seeing any problem.
Hmm. Maybe if we add some tracing, can you try |
filename:
after expand I get |
without expanding I can see immediately in trace-output
` |
Oh. That is a combination of 2 snippets. I have deleted 3 other org snippets I have and it works. Then I add another snippet
and when they are both in org-mode folder, then src is incorrect. |
Aha, yes, I see this too. |
Thanks.. I was thinking there is smth wrong either with me or my laptop :) |
Reported this as Emacs bug #23659 |
I have checked it -- fixed. PS I had to reinstall yasnippet as there was an error after update:
|
Ah, because package.el doesn't reload yasnippet.el. Restarting Emacs, or doing |
I have implemented trivial snippet:
After expanding the last
C
inEND_SRC
transforms intoE
.If I add additional
C
to it likeEND_SRCC
then it expands normally.GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570
yasnippet 20160517.1628 installed Yet another snippet extension for Emacs.
The text was updated successfully, but these errors were encountered: