Questions tagged [company-mode]

Modular in-buffer completion framework for Emacs http://company-mode.github.io/

See company-mode

9 questions
3
votes
0 answers

company-clang is slow under Cocoa Emacs

I'm using the GUI version emacs on Mac. I set company-idle-delay to 0, but emacs also delay several seconds when completes with company-clang. But, when I start emacs in terminal, company completes very fast. What is the differents between GUI /…
smile_3
  • 31
  • 3
2
votes
1 answer

Auto-insert and cycle through completions in Emacs company mode

I want to implement the following behavior: I type the beginning of a word, say "pr" I press TAB It autocompletes to the first available completion, say "print" - without any popups I don't move my caret and I press TAB again, and it selects the…
comonadd
  • 1,822
  • 1
  • 13
  • 23
1
vote
0 answers

Company RefTeX slow when searching for labels

I am writing on a large LaTeX Document using Emacs with AUCTeX, RefTeX and Company for autocompletion. RefTeX for citations is working fine and finds my bibliography entries really fast. However, when RefTeX searches for labels it has to scan every…
ls.ptr
  • 11
  • 2
0
votes
1 answer

stop company-complete-selection from eating following word in rust code?

Say I have a piece of code like foo.bar(), but I realize I need to change it to foo.unwrap().bar(). If I first move to the position after the dot, and start typing unwrap, I'll reach a state like foo.unw^bar() (where ^ denotes my cursor position).…
ajp
  • 1,723
  • 14
  • 22
0
votes
0 answers

How to fix company-mode autocompletion for executables?

I've started using doom-emacs recently with company-mode enabled. When I autocomplete an executable (./progr[ENTER]) in eshell it removes the "./" i.e.: I get "program" instead of "./program" on my command line. When I launch that line, I get the…
Crowl
  • 37
  • 5
0
votes
1 answer

Icons not working with company-box-mode and lsp-mode

I am having a hard time getting icons to appear in company box mode. This is what I get with company box mode off: And with company box mode enabled I get: My setup for lsp looks like this: (use-package lsp-mode :commands (lsp…
0
votes
0 answers

How to prevent automatic auto-completion window pop-up after class member access operators in company-mode of emacs?

For Python coding I use Elpy package which uses Company as completion framework. Since I don't like automatic pop-ups I set my completion function to execute only when I explicitly ask for the completion suggestions with C-n keybinding.…
Adaskos07
  • 41
  • 4
0
votes
0 answers

company-irony causing file mode specification error

I have my ~/.emacs setup like this ; Package setup (require 'package) (add-to-list 'package-archives (cons "melpa" "https://melpa.org/packages/") t) (package-initialize) ; Define all my packages as a list to make it easier to maintain (setq…
txk2048
  • 281
  • 3
  • 15
0
votes
3 answers

How do I get spacemacs web-mode autocomplete to relax a little?

I'm new to Spacemacs and Emacs. When I'm editing in web-mode, like an html document, I'm often triggering the autocomplete prompt when I haven't typed anything relevant yet. I don't have this problem in the html blocks, that I remember, but when in…
James
  • 87
  • 1
  • 8