Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default tab-complete does not work #3005

Closed
manuel-uberti opened this issue Apr 18, 2021 · 5 comments
Closed

Default tab-complete does not work #3005

manuel-uberti opened this issue Apr 18, 2021 · 5 comments

Comments

@manuel-uberti
Copy link
Contributor

manuel-uberti commented Apr 18, 2021

Expected behavior

TAB-complete works as described in the docs.

Actual behavior

Nothing happens when I press TAB.

Steps to reproduce the problem

  • emacs -Q
  • M-x package-initialize
  • visit a Clojure file (e.g., I used my utils.clj)
  • Jack-in with C-c C-x j j (I had to press RET on clojure-cli for that specific file)
  • C-c C-k
  • Try to tab-complete (e.g., in that file at line 17 I typed (jf/ and pressed TAB)

Environment & Version information

CIDER version information

;; CIDER 1.1.0snapshot (package: 20210416.1915), nREPL 0.8.3
;; Clojure 1.10.3, Java 11.0.10

Lein/Boot version

I am using clj with deps.edn.

Emacs version

GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.18, cairo version 1.16.0) of 2021-04-18 (commit 2822246b5d8154d0166e17ffd28a1d85b57d68aa)

Operating system

Ubuntu 20.04

@manuel-uberti
Copy link
Contributor Author

FTR, I bumped into this when testing Corfu, see minad/corfu#8

@bbatsov
Copy link
Member

bbatsov commented Apr 18, 2021

Without special configuration it's M-TAB, not TAB (but this doesn't work in many window managers). If this doesn't work - I assume something related to completion got changed in Emacs 28.

@manuel-uberti
Copy link
Contributor Author

M-TAB switch windows here on GNOME, you're right.

@manuel-uberti
Copy link
Contributor Author

With (setq tab-always-indent 'complete) everything works. Sorry for the noise.

@bbatsov
Copy link
Member

bbatsov commented Apr 18, 2021

No worries. I've updated the docs with more details in case someone else gets confused by this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants