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

Filter by
Sorted by
Tagged with
2 votes
1 answer
54 views

AUCTeX: Some general macros/command missing from auto-completion/macro insertion

While further trying to set up a Latex environment in emacs I stumbled over a "problem" with macro-completion which I don't understand right now. When writing Latex code the usual way to ...
lukeflo's user avatar
  • 195
1 vote
1 answer
267 views

Automatic popup of words from the buffer using Corfu and Dabbrev

How can I make Dabbrev and Corfu automatically show a pop-up for the words from my current buffer? For example, if I write "example" somewhere in a document, I would like it pops up ...
sm10's user avatar
  • 31
1 vote
1 answer
284 views

How to disable the buffer with completion options after hiting `tab` in Slime's REPL?

I have been using company for tab completion. It has been great while editing files. Unfortunately, when I am using a buffer with the SLIME's REPL something annoying happens. As I start typing some ...
Pedro Delfino's user avatar
1 vote
0 answers
67 views

Why is auto-complete using capitalized words? Is there a way to change the default of suggestions while in Slime's Buffer?

Recently, I have started using this emacs package: auto-complete. It works and I am enjoying it. I mainly use emacs to work in Common Lisp (SBCL) with Slime. Unfortunately, the first suggestion that ...
Pedro Delfino's user avatar
0 votes
0 answers
37 views

Autocompletion broken after loading certain module

I'm using Emacs (GNU Emacs 26.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.22.30) of 2019-05-11) on CentOS 8 and want to use autocompletion when coding with python. Emacs.............: 26.1 ...
Robe's user avatar
  • 135
1 vote
1 answer
2k views

Doom Emacs Slowing Down because of Autocomplete

Whenever I start typing a word, Emacs tries to autocomplete it, and it slows down the app a lot. I know the problem is the autocomplete because Emacs works fine normally. Is there a way to remove the ...
RD003's user avatar
  • 11
1 vote
1 answer
144 views

Address autocompletion doesn't work after compiling `elc` files for `mu4e`

After compiling elc files for mu4e in /usr/local/share/emacs/site-lisp/mu4e (Ubuntu 20.04) with sudo emacs -Q -batch -L . -f batch-native-compile *.el I get this error when writing an address of the ...
Daniel's user avatar
  • 99
0 votes
0 answers
279 views

My emacs company mode won't work with python. I use doom emacs. I have company mode and ivy in my init.el. I have flycheck enabled in python

:completion company ; the ultimate code completion backend ;;helm ; the *other* search engine for love and life ;;ido ; the other *other* ...
igotstago's user avatar
0 votes
1 answer
775 views

Turn off auto-completion/company while in org-journal

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. I tried this and it works (add-hook 'org-mode-...
147pm's user avatar
  • 2,937
0 votes
1 answer
287 views

Emacs company-css, where is the completion of css values?

Company-mode completion seems a little weak in emacs. Is it my configuration? Property completion seems simple enough: strong { color: red; /* <= color is the property */ } Where red is the ...
F. Certainly.'s user avatar
1 vote
0 answers
84 views

Custom keyword list for auto completion M-/?

I make use of M-/ for auto-completion. Is it possible to supply a custom list of frequently used keywords (e.g. for a niche programming language) to be loaded at Emacs startup? I could save the ...
felix's user avatar
  • 153
0 votes
1 answer
56 views

Why doesn't autocomplete work on MS Windows?

my init.el file content: (require 'package) ;; You might already have this line (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (when (< emacs-major-version ...
Sumsum K.'s user avatar
0 votes
0 answers
30 views

auto complete isn't loaded || elpa OSX

emacs version 26.3 OSX 10.14.1 Following is my .init file. It is present at ~/.emacs.d (require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t) (...
Death Metal's user avatar
2 votes
1 answer
652 views

Using ctrl-n and ctrl-p inside the box for suggessted words to auto-complete

By default to move up (ctrl-p) and to move down (ctrl-n) key bindings are used. When I am using auto-complete mode, a box with suggested words is pop up. On there when I press ctrl-p or ctrl-n ...
alper's user avatar
  • 1,300
1 vote
0 answers
194 views

Matlab-shell autocompletion error

For some reason emacs matlab-shell is returning an error when running autocompletion. The debugging output for a completion of "load Da[TAB]" is shown below. The closest thread that I've ...
Ajned's user avatar
  • 682
1 vote
1 answer
126 views

File tags prevent autocomplete of global tags

I amended .emacs as shown below. Then M-x load-file ~/.emacs. What I want to do in test.org is add MEntal tags to each of the two entries, for example Read and Reminder, respectively. Using the column ...
user avatar
0 votes
1 answer
187 views

DO NOT complete file-name with company

I do not want emacs company mode to complete the file names in my org-mode buffer, as it wrongly replaces many words eg But becomes Butale (file-name, surname of person) and the becomes (themaskar, ...
Vaibhav's user avatar
  • 573
0 votes
0 answers
155 views

Use autocomplete variables from first column of a CSV file

I have used conventional auto complete feature in emacs and I think I understand how it works. I have a new requirement, where the variables to be used in a particular program (not conventional ...
Prasanna's user avatar
  • 1,520
0 votes
0 answers
153 views

Error running timer ‘ac-update-greedy’: (void-variable org-link-types)

I very recently updated to Emacs 26.3 and Org 9.2.6, and am getting the above-mentioned error whenever I type "[[" in an org-mode buffer to type a hyperlink. Unsurprisingly, no error after turning off ...
granti128's user avatar
1 vote
1 answer
778 views

Elpy Auto Complete is not working at all

I am trying to configure my emacs for python programming. Elpy auto-complete suggestion is not working at all in all instances. Any suggestions? Here is my elpy-config... Elpy Configuration Emacs......
Asm Mahbub Morshed's user avatar
0 votes
0 answers
709 views

How to set up Emacs Tide to use auto-complete for completion instead of company-mode?

I installed Tide in Emacs, and found it is pretty useful for writing JavaScript code. But one thing is that Tide has built-in support for company-mode to do completions. Since I am an auto-complete ...
lebesgue's user avatar
  • 101
0 votes
0 answers
187 views

Autocomplete signatures from new C Headers

I use Emacs(work environment is Linux. and at home i use Windows 7) for most of my Python coding and documentation. I'm mostly working for visual effects pipeline products. Off late I'm learning bits ...
Aviik's user avatar
  • 41
1 vote
1 answer
923 views

ES6 imports auto suggestion

I'm new to emacs and trying to setup emacs for ES6/React developement. I would like to have auto suggestions for es6 imports like lodash similar to vscode (as shown in screenshot). Is there a way to ...
palerdot's user avatar
  • 111
2 votes
1 answer
677 views

Get autocomplete to display candidates only when tab is pressed

I've set up auto-complete on emacs to display completion candidates, and it seems to be working well so far. I'm finding the constant display (and changes in display) distracting when I type, and I ...
Rodney Price's user avatar
2 votes
0 answers
179 views

Elpy auto-complete gives incomplete suggestions

I am trying to use Elpy for Emacs to write Python programs. The auto-complete feature suggests all attributes of PyQt5 classes, but suggests only a subset of the attributes of instances of these ...
Anders Buch's user avatar
2 votes
1 answer
1k views

How to auto-complete links to headlines in org-mode?

Given an example.org file having two headlines, I would like to auto-complete links to 1headlines. However hitting M-\ on [[* suggests *bold* words but not headlines. Any ideas what I'm 2missing? * ...
jjk's user avatar
  • 721
3 votes
1 answer
2k views

Autocomplete after dot in python

I haven't used emacs before, but would like to learn how to use it properly for Python development. From the past IDEs I have used I enjoyed the feature to obtain information on possible objects ...
Qohelet's user avatar
  • 185
0 votes
0 answers
474 views

elpy autocomplete stops working unexpectedly

I've configure emacs to write python code and I love it!:). It works very well but after some situations that I cannot understand the autocomplete stops working on all buffers. If I restart emacs it ...
Marco Gabaglio's user avatar
1 vote
1 answer
387 views

Auto-completion in Auctex automatically introduces dollar signs

My auto-completion all of a sudden changed its behavior, and I have no clue why. When I auto-complete a mathematical expression, like \subseteq, say, it will introduce dollar signs in front and at the ...
MWL's user avatar
  • 113
1 vote
0 answers
171 views

Jedi doesn't work properly with PyQt5

I have auto-complete and jedi installed and everything works just fine except autocompletion in PyQt5. When i try to subclass for example QWidget and in the __init__ method I type self and then press ...
gribvirus74's user avatar
1 vote
0 answers
45 views

Add keywords of a language to completion list when selected

I am using Emacs with auto-complete package. I know that Emacs can auto-detect the language. I would like it to automatically add keywords of the detected language to the completion list, in order to ...
Welgriv's user avatar
  • 67
1 vote
2 answers
3k views

How to get auto-completion of Elisp function names?

I want to be able to get a drop-down list of partial matches to Elisp function names (installed or those already defined in the buffer) as shown in the screen-shot below from the YouTube video: https:...
smilingbuddha's user avatar
1 vote
3 answers
1k views

Ido mode - autocomplete in interactively mode

windows 10, emacs 26,1, ido mode I use ido mode. Suppose I start some command M-x magit Then TAB The possible completions are many and fill the screen: I need to continue typing and press TAB to ...
a_subscriber's user avatar
  • 3,926
2 votes
1 answer
438 views

Autocompletion of relative, not absolute, file name

I am typing a Tex file with Emacs and I want to be able to include the relative path of an image file name from inside Emacs. For example, my Tex file that is being opened in Emacs is located at ~/...
nougako's user avatar
  • 137
0 votes
1 answer
2k views

Best pratice advices for abbrev vs. completion vs. snippets

I am not sure if this is really a proper question but I am interested in having some opinions about the most efficient usage of Emacs' abbreviations features (abbrev/dabbrev) in combination with auto-...
Martin Buchmann's user avatar
0 votes
1 answer
241 views

Error running timer using ac-slime

Using ac-slime I am getting the following errors: Error running timer ‘ac-update-greedy’: (wrong-type-argument number-or-marker-p \.\.\.) [3 times] Error running timer ‘ac-show-menu’: (wrong-type-...
Martin Buchmann's user avatar
1 vote
1 answer
250 views

smart code generation macros

How could we create macros for smart code generation. For example in intellij, if i write a type that does not exist, intellij would be able to automatically generate an entire class of that type. I ...
JohEker's user avatar
  • 135
2 votes
1 answer
998 views

In Spacemacs, how can I enable snippets without having an autocomplete popup/completion?

I'm using the auto-completion layer in Spacemacs with the following configuration: (auto-completion :variables auto-completion-return-key-behavior nil auto-...
fowlduck's user avatar
  • 121
0 votes
1 answer
48 views

auto-complete-mode turns off when I start typing

I do not remember changing any thing in my auto-complete package settings beside hooking it with html-mode. The mode starts as expected, when I run some C or C++ code but after typing any thing the ...
siery's user avatar
  • 241
1 vote
1 answer
669 views

LaTeX tags autocomplete in org-mode

Absolute beginner with Emacs and Emacs Lisp. I am using spacemacs and have been trying to get autocompletion of matching delimiters commonly used in LaTeX in Org-mode. My requirements are just ...
seeker's user avatar
  • 113
0 votes
0 answers
105 views

Turn off prelude intellisense

In emacs prelude ruby mode, how I tell emacs to not do intellisense dropdown suggestions? It breaks my flow. Because I have to press an additional key to break out of that menu. What I tried: google ...
american-ninja-warrior's user avatar
2 votes
2 answers
3k views

Autocompletion with tide or tern

Autocompletion doesn't work with tide or Tern, I have to M-x company-complete-common. I would like for it to keep suggesting with a dropdown menu as I type, but I can't manage to. It works just fine ...
Pedro Queiroga's user avatar
2 votes
0 answers
898 views

Org mode - autocomplete tags

When I try to enter tags, autocomplete is tedious. I do C-c C-q enter first few characters, hit TAB then select. And repeat if I want to add more than one tags. I can do the same by entering : in the ...
deshmukh's user avatar
  • 1,862
0 votes
1 answer
597 views

Install package `auto-latex-completion`

I am totally new to Emacs (I just began some days ago) and my purpose is to use it for Latex. I tried to install package auto-complete-auctex doing this : 1) I copy file auto-complete-auctex.el to ...
Olive. M's user avatar
1 vote
0 answers
88 views

Exactly what are those auto-complete sources?

I've been looking for years for a documentation on those (in bold) auto-complete sources: ac-source-words-in-buffer ac-source-abbrev ac-source-dictionary ac-source-emacs-lisp-features ac-source-...
yPhil's user avatar
  • 963
1 vote
1 answer
1k views

solution for html "intellisense" style completion for emacs like Atom or Brackets have

I've started taking an html course and I'm trying to figure out how to add functionality to emacs that exists in programs like atom or brackets. I've seen a few modes web-mode.el and nxhtml mentioned ...
FrostedCookies's user avatar
4 votes
1 answer
5k views

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 ...
krishnab's user avatar
  • 519
8 votes
4 answers
898 views

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 ...
jajpater's user avatar
  • 323
1 vote
1 answer
154 views

Modes have no effect unless I deactivate and activate again

I'm extremely new to emacs (started using it yesterday), I use the latest version of emacs. The problem is, The modes I have enabled such as auto-complete-mode and org-bullets-mode seem to be enabled ...
Panch93's user avatar
  • 265
0 votes
1 answer
1k views

Autocomplete parentheses when editing lisp [closed]

I am learning Lisp and find out that autocomplete parentheses is counter intuitive. I don't like it because I don't know how many parenthesis will go into another at the first hand. For example, (...
ofenerci's user avatar
  • 327