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
different expand behaviour between 'key' and 'menu' #553
Comments
Couldn't reproduce on latest What Emacs and yasnippet versions do you have? Does it happen starting from |
Just check the yasnippet version, shows (version 0.8.0beta) (21ffe4b). I still have that problem. I am using Emacs 25.0.50.1 I can't find the SHA you mentioned in your reply.
|
Oops, I let my yasnippet fork diverge a while back and totally forgot about it.
|
Hmm, actually I don't think I'm seeing the problem. I added a new src_elisp snippet instead of replacing the existing elisp one. But now that I got rid of the elisp one it seems to work fine. Tested with (add-to-list 'load-path "~/src/yasnippet/")
(require 'yasnippet)
(yas-global-mode +1)
(switch-to-buffer (get-buffer-create "foo.org"))
(org-mode)
(insert "src_elisp") yasnippet 21ffe4b, Emacs 24.4.1 |
Works also with Emacs 25.0.50.1, emacs-mirror/emacs@20c6b22 This is probably caused by your config. Or else it was a bug in the particular 25.0.50.1 you were using. |
Just try to modify
elisp
snippet fororg-mode
as below:When I expand from
menu
YASnippet->org-mode->Source->src_elisp, everything works fine. The curser stop at$1
location first then$0
.But when I use
TAB
right after typesrc_elisp
, it expands it but the curser stops at begin of#+BEGIN_SRC ...
and in the mini-buffer it shows[No matches]
.The text was updated successfully, but these errors were encountered: