Questions tagged [autocompletion]
13 questions
2
votes
0 answers
No autocomplete in interactive python
OS: Windows 10
Emacs: 28.2
Python: 3.10
Package: elpy
My init.el:
...
(elpy-enable)
;; Use IPython for REPL
(setq python-shell-interpreter "jupyter"
python-shell-interpreter-args "console --simple-prompt"
…

simo hauml
- 21
- 1
1
vote
1 answer
How to autocomplete dynamically created objects in python code?
Is anybody able to get suggestions after typing x. using code below? E.g. name
import json
from types import SimpleNamespace
data = '{"name": "John Smith", "hometown": {"name": "New York", "id": 123}}'
# Parse JSON into an object with attributes…

jjk
- 705
- 4
- 16
1
vote
1 answer
prompt available function list after input dot symbol
I would like emacs show all available functions after input dot symbol, for example, after input re., emacs show search, findall, ... then I can select one of them.
I have installed auto-complete mode and jedi-mode, but it only show function…

lucky1928
- 1,622
- 8
- 28
0
votes
0 answers
Corfu autocompletion popups are not working with eglot-grammarly
I am unable to get autocompletion with corfu when I enable eglot-grammarly. Here is a MWE.
(setq straight-build-dir (format "build/%d%s%d"
emacs-major-version
version-separator
…

Swarnendu Biswas
- 1,378
- 1
- 11
- 24
0
votes
1 answer
Prevent completion of the empty string
I would like to prevent completions to the empty string in python and in inferior-python-mode.
To explain a bit better - when the prompt or the string is empty, there are no completions proposed. When I type something, say "a", I get a number of…

guibor
- 111
- 3
0
votes
0 answers
Why is autopairing for "<>" enabled in org-mode when I have electric-pair-mode enabled but do not have "<>" in electric-pair-pairs?
Here's a snippet of my config related to electric-mode:
(setq electric-pair-pairs '(
(?\{ . ?\})
(?\( . ?\))
(?\[ . ?\])
(?\" . ?\")
))
(electric-pair-mode…
0
votes
0 answers
Smart underscore and auto-complete not working with ESS installed from MELPA
I am using Emacs 26.4 from ubuntu repository on ubuntu 20.04.
I have swtiched from ESS by the ubuntu repository to the MELPA ESS, in order to have ESS working with R-4 (see this: ESS start process does not include new R version).
I have two…
0
votes
1 answer
How to autocomplete a property?
I've replicated org mode's example, except I didn't manually fill out the value for key Publisher under Goldberg Variations. How do I get a prompt for autocompletion?
* CD collection
:PROPERTIES:
:NDisks_ALL: 1 2 3 4
:Publisher_ALL: "Deutsche…
user19777
0
votes
0 answers
Can not get irony-mode to show completions
I'm a new Emacs user, and want to get autocompletion in C using irony-mode.
I installed elpa-irony using apt, as well as irony-server using apt, as the CMake compilation fails.
I added these lines to the bottom to my .emacs file:
(add-hook…
0
votes
0 answers
Add vertico autocomplete to custom prefix key
I am using vertico for auto complete. When you type M-x you get a nice menu of the available commands.
I would like to add a similar completion to another prefix keybinding (e.g. C-d), so when I press C-d I would see the two commands: deft and…

slaughter98
- 101
- 1
0
votes
0 answers
How to disable auto-complete while in lisp mode?
I try to find which mode displays a popup menu with a list of candidates while entering code in emacs lisp. Whenever I type 2 letters a popup menu appears. I would like to disable it in lisp or prog mode.

mcp
- 67
- 3
0
votes
1 answer
Corfu only working with elisp
I have tried a couple auto-completions engines on emacs, I had been working with auto-complete because it was the only one that I got working. I simply added some modes to a list and it was done:
(add-to-list 'ac-modes 'asm-mode)
(add-to-list…

Peter Petigru
- 101
- 1
0
votes
0 answers
Any resources on implementing auto complete for a not well used language
I am working on a large ColdFusion project. I was using intellij since it had a linter and autocomplete for this language. I did find a ColdFusion mode but, that was only for syntax. Is there anyway I could form some type of dictionary and add…