Somehow shift + m
is got bound to Meta
key in emacs. Now I cant type any words that start with M
like Mock
. I want to find why it is happening or which package is causing this.
There is one question regarding this issue but doesn't solve this problem.
I tried C h k m
which showed m runs command self-insert-command
But when when i try C h k M
it is activating Meta
key and is waiting for another key to input.
The same is happening with C h c M
.
Is there any way to find out what is causing this?
Update:
My emacs config https://github.com/ChillarAnand/.emacs.d
The problem is not occuring at OS level. If I start emacs with
emacs -Q
everything works fine.
meta-prefix-char
was set to the capital letter M? If that sounds possible, you could grep your customizations and third-party libraries for that variable. On my machine, a capital letter M is 77. You can usedescribe-variable
to check the value. – lawlist(define-key smartparens-mode-map (kbd "M up") nil)
, it's bindingM u p
tonil
. You really want(kbd "M-<up>")
– npostavsevent-apply-meta-modifier
, but it's hard to bind something to that by accident). – phils