tonini / alchemist.el

Elixir Tooling Integration Into Emacs
http://www.alchemist-elixir.org
906 stars 102 forks source link

cannot type capital "T" in the beginning of IEx as it is binded #258

Closed johnmedina1010 closed 8 years ago

johnmedina1010 commented 8 years ago

capital "T" is binded to evil-find-char-to-backward as shown in bindings.

Is there any way to edit this binding?

gaydenko commented 8 years ago

At my case T is just the next command prefix (no spacemacs in use). It is interesting, prefix T results in prefix A, and the last one results in prefix B. Do you see TAB? :) It seems somewhere a key name is treated as a string.

Emacs 25.1 under Linux is in use.

walter commented 8 years ago

I'm experiencing this as well (example is trying to type Ecto.DateTime in *Alchemist-IEx* buffer).

Using Aquamacs 3.3 GNU Emacs 25.1.1 and alchemist package 20160921.832. I'm haven't set up evil-mode that I'm aware of.

walter commented 8 years ago

Updated alchemist package to 20160926.2346 and still experiencing it.

walter commented 8 years ago

anli in Slack pointed me to which-key package and the use of the corresponding mode to track down key mapping options. That led me to discover the following:

Looks like T-A-B (i.e. shift-t, shift-a, shift-b) maps to company-complete. T and A are prefixes.

Which is, of course, what the tab key is mapped to as well judging by the behavior. So I imagine somewhere in the code (may be another package, of course), the string TAB is swapped for the what was meant to be the tab character representation.

asummers commented 8 years ago

I am unable to reproduce on an earlier version. Looks like this commit added the TAB binding. Perhaps it should be <tab>?

https://github.com/tonini/alchemist.el/commit/f7b0959105abbb27936577f9427310c1c14417be

tonini commented 8 years ago

It's fixed on master thanks to @syohex and @walter 💛