Questions tagged [auto-complete-mode]

Auto-Complete, also known as auto-complete.el or Auto-Complete Mode, is an Emacs extension that provides context-sensitive completion suggestions

Auto-Complete, also known as auto-complete.el or Auto-Complete Mode, is an Emacs extension that provides context-sensitive completion suggestions.

This tag is about the Auto-Complete package. For questions about completion in general, use the tag .

External links

133 questions
59
votes
2 answers

What are the differences between autocomplete and company mode?

There seem to be two major autocompletion extensions for emacs: autocomplete and company mode. What are some of the practical differences between the two and when would I want to use one over the other? Also, are they compatible with each other?
Connor
  • 1,591
  • 1
  • 19
  • 26
12
votes
3 answers

How to make auto-complete work in AucTeX mode?

I want auto-complete (ac) to work when I am inside AucTeX mode. I get all packages from MELPA by package installation. This is my relevant code in init.el file: (require 'package) (package-initialize) (require…
doctorate
  • 1,789
  • 16
  • 39
10
votes
1 answer

How do I make auto-complete enabled by default

I'm running GNU Emacs 24.4.1 on a clean install of Debian 8.1. I've installed auto-complete using the package manager. It is installed and if I type M-x auto-complete-mode I get a working auto-complete. I would like to have it enabled by default.…
Gregory Arenius
  • 247
  • 2
  • 4
  • 12
10
votes
3 answers

How do you configure emacs for julia?

What is a recomended way for making emacs as julia code editor? The things which I would like to have are: autocomplete julia shell in emacs with abbility to send the code from buffer debugging
Jānis Erdmanis
  • 393
  • 3
  • 11
9
votes
1 answer

Yasnippet not working with auto-complete-mode

I am just starting to experiment with Yasnippet, and it worked very well until I tried to combine it with auto-complete-mode. The problem is that Auto-Complete is taking over completely. For example, in c-mode I can type pr and then press TAB to…
Håkon Hægland
  • 3,608
  • 1
  • 20
  • 51
9
votes
2 answers

Optimal settings for auto-complete for writing papers / prose in natural language?

As the question suggest, I am trying to set up the auto-complete package for writing papers. I have also installed ac-ispell. So far it seems more or less useless, mostly because it is way too slow. Suggestions take several full seconds to appear.…
Brian Z
  • 2,863
  • 16
  • 22
8
votes
4 answers

How to turn off autocompletion for numbers (and numbers only) in company-mode in spacemacs

When typing a number in spacemacs all kind of numbers are being suggested. I can autocomplete them with enter. I like this behaviour in the case I'm typing words (made up of letters). But I don't want this behaviour when I'm typing numbers. Often I…
jajpater
  • 323
  • 1
  • 9
7
votes
1 answer

Auto-complete looks funny around bold fonts

When I use font-lock faces that are bold, it messes up my auto-complete overlays so that they look like this: One obvious solution to the problem would be to stop using bold fonts. But since I am using a color theme that I got from somewhere…
nispio
  • 8,175
  • 2
  • 35
  • 73
6
votes
1 answer

How do I use company-mode in some buffers and auto-complete-mode in others?

My init.el loads company with (global-company-mode). I want to make an exception for Javascript buffers, and instead use auto-complete-mode for that mode. Q: I am struggling to find a way to unhook company mode for only a particular mode. How can I…
Chris
  • 699
  • 3
  • 13
6
votes
1 answer

Nested File Autocompletion in Emacs?

I'm using emacs (technically: spacemacs with helm). It seems that any time I call a function which requires a directory, I am presented with something like the following: The problem: If I am in /a/path/to/a/directory but I want to get to…
George
  • 879
  • 5
  • 17
6
votes
1 answer

Auto-Complete stops working with C files

I am using Emacs24, and my auto-complete plugin was working when I opened my .emacs file. However, it doesn't work when I open some file like : whatever.c To add to this, the auto-complete-c-headers do not work. I believe that auto-complete doesn't…
Vivian Maya
  • 787
  • 1
  • 6
  • 17
5
votes
1 answer

Remove TAB trigger from auto-complete

If I set (ac-set-trigger-key "C-o") in .emacs, C-o does trigger auto-completion but TAB still does too. It seems that C-o is added to the triggers, while I want it to substitute TAB, so that when I press TAB no auto-completion is performed. With…
d-cmst
  • 275
  • 1
  • 5
5
votes
1 answer

Recognize LaTeX partial files (with no preamble) as LaTeX

I installed auto-complete and also auto-complete-latex so to be able to use it with LaTeX files. Because in a document I use an external file with the preamble commands in it, Emacs recognises only the external one as a LaTeX file and the other is…
Adam
  • 2,407
  • 2
  • 21
  • 38
5
votes
1 answer

Emacs - elisp code autocompletion in emacs-lisp-mode

With below setup, my ielm mode has autocompletion function: (require 'ac-slime) (add-hook 'slime-mode-hook 'set-up-slime-ac) (add-hook 'slime-repl-mode-hook 'set-up-slime-ac) (eval-after-load "auto-complete" '(add-to-list 'ac-modes…
beetlej
  • 1,056
  • 1
  • 7
  • 20
4
votes
1 answer

spacemacs auto-complete layer: showing the difference between a snippet and a dictionary word

Say, I have been using Spacemacs for a while now, and was looking at Spacevim a bit. One nice feature of Spacevim is that it's autocompletion feature includes both the words for completion as well as snippets. So if I am in latex mode, the…
krishnab
  • 519
  • 5
  • 17
1
2 3
8 9