vfclists · 2022-06-17 19:10
Is there some way to get company to look up functions in org-babel blocks?
i.e to get emacs lisp completion in these kinds of blocks
#+begin_src language
(somefunc complete
#+end_src
There is [article by John Kitchin](https://kitchingroup.cheme.cmu.edu/blog/2017/06/10/Adding-keymaps-to-src-blocks-via-org-font-lock-hook/) on accomplishing something similar and it also mentions [polymode](https://github.com/polymode/polymode).
Do they have some bearing on what I want to accomplish?
cellular--automaton · 2022-06-17 19:48
RemindMe! 2 Days
RemindMeBot · 2022-06-17 19:49
I will be messaging you in 2 days on [**2022-06-19 19:48:14 UTC**](http://www.wolframalpha.com/input/?i=2022-06-19%2019:48:14%20UTC%20To%20Local%20Time) to remind you of [**this link**](https://www.reddit.com/r/emacs/comments/venm93/get_company_function_completion_in_orgbabel_blocks/icr2wxv/?context=3)
[**CLICK THIS LINK**](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=%5Bhttps%3A%2F%2Fwww.reddit.com%2Fr%2Femacs%2Fcomments%2Fvenm93%2Fget_company_function_completion_in_orgbabel_blocks%2Ficr2wxv%2F%5D%0A%0ARemindMe%21%202022-06-19%2019%3A48%3A14%20UTC) to send a PM to also be reminded and to reduce spam.
^(Parent commenter can ) [^(delete this message to hide from others.)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Delete%20Comment&message=Delete%21%20venm93)
*****
|[^(Info)](https://www.reddit.com/r/RemindMeBot/comments/e1bko7/remindmebot_info_v21/)|[^(Custom)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=%5BLink%20or%20message%20inside%20square%20brackets%5D%0A%0ARemindMe%21%20Time%20period%20here)|[^(Your Reminders)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=List%20Of%20Reminders&message=MyReminders%21)|[^(Feedback)](https://www.reddit.com/message/compose/?to=Watchful1&subject=RemindMeBot%20Feedback)|
|-|-|-|-|
mclearc · 2022-06-17 20:45
If you call `org-edit-special` while point is in the source block, which is usually bound to `C-c '`, that is will open up a buffer in the relevant major-mode for editing the code in the block in which you should get normal completion.
vfclists · 2022-06-17 21:02
That uses a separate buffer but it is good enough.
Thanks