Re: Question Regarding Yasnippet With Org Mode (Emacs 27.2)

2021-05-29 Thread Samuel Banya
Just wanted to update this thread in that the following DID resolve my issue with my Yasnippet template which overrides the default " Samuel Banya writes: > > Do you think that maybe changing the setting you had mentioned before, > > 'org-src-tab-acts-natively' to false (aka nil or '0' (zero) val

Re: Question Regarding Yasnippet With Org Mode (Emacs 27.2)

2021-05-23 Thread Sébastien Miquel
Samuel Banya writes: Do you think that maybe changing the setting you had mentioned before, 'org-src-tab-acts-natively' to false (aka nil or '0' (zero) value) via a change in my configuration would make this error not happen within Org-Mode in that case? Yes, that should work. I have not test

Re: Question Regarding Yasnippet With Org Mode (Emacs 27.2)

2021-05-23 Thread Greg Minshall
hi, Sam, i was thinking you might be happier, or at least experiment, *without* =org-tempo=. so, if you customize =org-modules=, and see =org-tempo= enabled there, you might try disabling it. (to move one more chance Org is getting in the way of yasnippet.) but, i don't know if this will help.

Re: Question Regarding Yasnippet With Org Mode (Emacs 27.2)

2021-05-23 Thread Samuel Banya
Hey there Greg, Gotcha. Just to confirm, you're saying I should add a "(require 'org-tempo)" in my Emacs config in that case? Or are you saying that I should disable "org-modules" setting value by setting it to nil or '0' (zero)? If that is the case, what would be the syntax to do this change

Re: Question Regarding Yasnippet With Org Mode (Emacs 27.2)

2021-05-23 Thread Samuel Banya
Hey Sébastien, Thanks for this insight. Do you think that maybe changing the setting you had mentioned before, 'org-src-tab-acts-natively' to false (aka nil or '0' (zero) value) via a change in my configuration would make this error not happen within Org-Mode in that case? On a related note,

Re: Question Regarding Yasnippet With Org Mode (Emacs 27.2)

2021-05-23 Thread Sébastien Miquel
Hi Samuel, I'm guessing its some kind of Org Mode vs Yasnippet issue where Org-mode is expanding it too fast, when it should wait for user input hence the "$1" section. I guess yasnippet tries to indent the inside of the block (see =yas-indent-line=) before the lang part of the src block is s

Re: Question Regarding Yasnippet With Org Mode (Emacs 27.2)

2021-05-23 Thread Greg Minshall
Samuel, i think that by default, Org no longer listens to, e.g., =

Question Regarding Yasnippet With Org Mode (Emacs 27.2)

2021-05-23 Thread Samuel Banya
I haven't been able to utilize the Yasnippet I've been using to override the newer one that Org-Mode created aka ' :end # :parent-field nil :mirrors nil :transform nil :modified-p nil :next #s(yas--exit :marker # :next nil))) :exit #s(yas--exit :marker # :next nil) :id 3 :control-overlay nil :a