bastibe / org-journal

A simple org-mode based journaling mode
BSD 3-Clause "New" or "Revised" License
1.24k stars 124 forks source link

How to turn off auto-complete #332

Closed borgauf closed 3 years ago

borgauf commented 3 years ago

Trying to get org-journal working, but it wants to auto-complete nearly every word I type, then require two space bar hits to advance to type next word.

Here is my org-journal config

(use-package org-journal
  :after org
  :custom
  (org-journal-dir "~/Dropbox/org/journal/")
  (org-journal-date-prefix "#+TITLE: ")
  (org-journal-time-prefix "* ")
  (org-journal-file-format "%Y/%m/%Y%m%d.org")
  (org-journal-date-format "%Y-%m-%dT%H:%M:%S")
  (org-journal-enable-agenda-integration t)
  :bind
  ("C-c j" . org-journal-new-entry))

I've disabled both auto-complete and company. No, disabling auto-complete doesn't help, but oddly enough disabling company fixes the situation. Would this work if put in the right place?

(add-hook 'org-journal-mode-hook (company-mode -1))

borgauf commented 3 years ago

(add-hook 'org-journal-mode-hook (lambda () (company-mode -1))))

This in the use-package org-journal block under a :config worked.