Hello All,

I am a newbie Emacs user and I really want to write my Julia code in Emacs. 
I've installed Emacs using brew and ESS from MELPA.

I can get TAB-autocompletion in Julia shell, but the autocompletion doesn't 
work in my own scripts. Is it supposed to be this way or am I missing 
something?

My current setup is: Emacs from brew (GNU Emacs 24.5.1), Julia v.0.4.0 and 
ESS v. 15.09-1 (output from M-x ess-version).

My init.el file looks this way:

(when (>= emacs-major-version 24)
  (require 'package)
  (add-to-list
   'package-archives
   '("melpa" . "http://melpa.org/packages/";)
   t)
  (package-initialize))

(require 'ess-site)
(setq inferior-julia-program-name "julia")
(setq ess-use-auto-complete t)
(setq ess-tab-complete-in-script t)

(require 'auto-complete-config)
(add-to-list 'ac-dictionary-directories 
"~/.emacs.d/elpa/auto-complete/dict")

(set-default 'ac-sources
    '(ac-source-abbrev
      ac-source-dictionary
      ac-source-yasnippet
      ac-source-words-in-buffer
      ac-source-words-in-same-mode-buffers
      ac-source-semantic))

(ac-config-default)

As a side note I wanted to thank all the contributors and the community for 
their work!

Best, Ivan.

Reply via email to