As I understand, company mode can help complete the word, but not a sentence. I would like to complete a fragment of sentence. I would like to complete fragment e.g. "portal and hepatic doppler" but not like "portal-and-hepatic-dopler" as is usual with programming. I do not wish to use abbreviation expansion

I'm looking for a solution to be used with emacs-org.

1 Answer 1


Rencently, I use TabNine with Company-mode to complete words and short sentence in Org-mode. And it provide me a very good experice, maybe you can try it and enjoy it.


my integration is as below:

(require 'company-tabnine)

;; The free version of TabNine is good enough,
;; and below code is recommended that TabNine not always
;; prompt me to purchase a paid version in a large project.
(defadvice company-echo-show (around disable-tabnine-upgrade-message activate)
  (let ((company-message-func (ad-get-arg 0)))
    (when (and company-message-func
               (stringp (funcall company-message-func)))
      (unless (string-match "The free version of TabNine only indexes up to" (funcall company-message-func))

;; TabNine
(add-to-list 'company-backends #'company-tabnine)

enter image description here

  • It works quite erratically in non-coding environment
    – Vaibhav
    Oct 6, 2020 at 17:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.