[ESS] auto-complete working in inferior-ess-mode but not ess-mode?

Ista Zahn istazahn at gmail.com
Sun May 8 15:17:52 CEST 2016


Things will be easier if you install packages using the emacs package
manager rather than downloading and loading yourself. ESS and auto-complete
are both in MELPA.

Best,
Ista
On May 7, 2016 5:43 PM, "Vinh Nguyen" <vinhdizzo at gmail.com> wrote:

> This is now resolved.  I installed the latest version of popup.el and
> auto-complete.  Set up includes:
>
> ;; auto-complete
> (add-to-list 'load-path "~/.emacs.d/popup-el/")
> (add-to-list 'load-path "~/.emacs.d/auto-complete/")
> (require 'auto-complete-config)
> (ac-config-default)
>
>
> (setq ess-use-auto-complete t)
>
> Thanks.
>
> -- Vinh
>
>
> On Sun, Apr 17, 2016 at 3:50 PM, Vinh Nguyen <vinhdizzo at gmail.com> wrote:
> > Hi,
> >
> > I'm currently using the bleeding edge version of ESS on Emacs 24.5.1
> > in Windows 7.  I have the following in my init file to enable
> > auto-complete:
> >
> > (setq ess-use-auto-complete t)
> >
> > In an iESS buffer (iESS [R]), auto-complete works (type "plot." in the
> > prompt and a list of possibilities is displayed).  I also see a
> > drop-down menu named "Complete".
> >
> > However, within an R file (ess-mode; ESS[S]), auto-complete doesn't
> > work (eg, when I type "plot." like before).  I don't see the
> > "Complete" drop-down menu either.  When I run the function
> > (auto-complete-mode), the mode gets disabled, meaning that it was
> > enabled before.
> >
> > Any thoughts on what's going on and how I could fix this?  Thank you.
> >
> > -- Vinh
>
> ______________________________________________
> ESS-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>

	[[alternative HTML version deleted]]



More information about the ESS-help mailing list