AndreaCrotti / yasnippet-snippets

a collection of yasnippet snippets for many languages
GNU General Public License v3.0
1.17k stars 464 forks source link

org-mode src snippets seems broken #507

Open benbellick opened 3 weeks ago

benbellick commented 3 weeks ago

Forwarding from https://github.com/joaotavora/yasnippet/issues/1203

Not sure if the cause is here, or the yassnippet package itself. Please let me know if you need any additional info. Thanks!

dcorking commented 2 weeks ago

This might not be either of the yasnippets packages. It looks from your report like the snippet inserts correctly. (It appears similar on my Emacs 29.4, though without the error message.)

It sounds like your org-mode is attempting to evaluate the empty source code block, but is somehow slightly mis-configured.

Suggestion:

Explore whether the same thing happens if you bypass yasnippet and run C-c C-, and type s

(command org-insert-structure-template)

Footnotes: