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

on Windows: magit-commit-popup returns error. Buffer is read-only #16

Open
sudurais opened this issue Apr 26, 2016 · 1 comment
Open

Comments

@sudurais
Copy link

When key 'c' is pressed from magit-status window, it takes to magit-commit-popup buffer and another key 'c' press, it returns error saying
call-interactively: Buffer is read-only: # [6 times]

Magit 20160425.430, Git 2.8.1.windows.1, Emacs 24.5.1, windows-nt

C-h b points to below data. It seems that, c isn't working in popup mode. Is there any workaround for this?.

1 mykie:global-map:1:self-insert-command
2 mykie:global-map:2:self-insert-command
c mykie:global-map:c:self-insert-command
i mykie:global-map:i:self-insert-command
j self-insert-command
k mykie:global-map:k:self-insert-command
n mykie:global-map:n:self-insert-command
o self-insert-command
p mykie:global-map:p:self-insert-command
w mykie:global-map:w:self-insert-command
z mykie:global-map:z:self-insert-command

@yuutayamada
Copy link
Owner

seems magit doesn't allow user defined functions in global-map's a-z key...

I made sure following code (without mykie package):

(global-set-key "c" (lambda () (interactive) (call-interactively 'self-insert-command)))

though not sure how to solve

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