Key sequence C-c M-g starts with non-prefix key C-c ESC - but i have not added any extra key sequences that start with C-c ESC
- Dominant language
- Emacs Lisp
- Stars
- 22.7k
- Forks
- 3.1k
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 4
Description
### I confirm that...
- [X] I have searched the [issue tracker](https://github.com/doomemacs/doomemacs/issues), [documentation](https://docs.doomemacs.org), [FAQ](https://docs.doomemacs.org/-/faq), [Discourse](https://discourse.doomemacs.org), and [Google](https://google.com), in case this issue has already been reported/resolved.
- [X] I have read "[How to Debug Issues](https://doomemacs.org/d/how2debug)", and will use it to provide as much information about this issue as possible.
- [X] The issue can be reproduced on the **latest** available commit of Doom.
- [X] The issue can be reproduced on a stable release of Emacs, such as 27 or 28. *(Doom does not support development builds like 29+ or any version ending in .50 or .9x)*
### Expected behavior
After installing doom on Mac OSX 12.3 and opening an iTerm window in any directory, I expect that upon typing ```emacs``` and pressing return, doom emacs should start and I should see the doom startup window. I also expect that running ```doom doctor``` there should be no errors.
### Current behavior
After installing doom on Mac OSX 12.3, I receive the following error upon running doom doctor (because just running emacs fails to start doom at all. iTerm just hangs indefinitely):
```
Checking for problematic git global settings...
> Checking Doom Emacs...
x There was an unexpected runtime error
Message: Key sequence C-c M-g starts with non-prefix key C-c ESC
Backtrace:
(# (keymap #^[nil nil keymap
#^^[3 0 set-mark-command move-beginning-of-line backward-char mode-specific-command-prefix delete-char move-end-of-line fo...
(funcall # (keymap #^[nil nil keymap
#^^[3 0 set-mark-command move-beginning-of-line backward-char mode-specific-command-prefix delete-char move-end-of...
(general-unbind-non-prefix-key # (keymap #^[nil nil keymap
#^^[3 0 set-mark-command move-beginning-of-line backward-char mode-specific-command-prefix d...
(apply general-unbind-non-prefix-key # ((keymap #^[nil nil keymap
#^^[3 0 set-mark-command move-beginning-of-line backward-char mode-specific-command-p...
(define-key (keymap #^[nil nil keymap
#^^[3 0 set-mark-command move-beginning-of-line backward-char mode-specific-command-prefix delete-char move-end-of-line forward-ch...
(if (or (lookup-key map key) (where-is-internal def (make-sparse-keymap) t)) nil (define-key map key def))
(let ((key (kbd (car elt))) (def (cdr elt))) (if (or (lookup-key map key) (where-is-internal def (make-sparse-keymap) t)) nil (define-key map key def)))
(let ((elt (car --dolist-tail--))) (let ((key (kbd (car elt))) (def (cdr elt))) (if (or (lookup-key map key) (where-is-internal def (make-sparse-keymap) t)) nil (define...
(while --dolist-tail-- (let ((elt (car --dolist-tail--))) (let ((key (kbd (car elt))) (def (cdr elt))) (if (or (lookup-key map key) (where-is-internal def (make-sparse-...
(let ((--dolist-tail-- '(("C-x g" . magit-status) ("C-x M-g" . magit-dispatch) ("C-c M-g" . magit-file-dispatch)))) (while --dolist-tail-- (let ((elt (car --dolist-tail...
(let ((map (current-global-map))) (let ((--dolist-tail-- '(("C-x g" . magit-status) ("C-x M-g" . magit-dispatch) ("C-c M-g" . magit-file-dispatch)))) (while --dolist-ta...
(progn (let ((map (current-global-map))) (let ((--dolist-tail-- '(("C-x g" . magit-status) ("C-x M-g" . magit-dispatch) ("C-c M-g" . magit-file-dispatch)))) (while --do..
```
Full debug text is below:
[debug.txt](https://github.com/doomemacs/doomemacs/files/11728206/debug.txt)
If I try to open emacs with the default Terminal editor that comes with OSX, Doom DOES start up- meaning it DOES open DOOM in a new window, but selecting that window and typing anything doesn't issue commands to doom- it issues them to the terminal window still... so if i type C-c, it closes doom.
### Steps to reproduce
1. Open terminal
2. $: emacs
3. (it hangs and nothing happens)
Then,
1. $: doom doctor
2. receive the stack trace above
### System Information
https://pastebin.com/Magsq6dK
Contributor guide
Assessment
This issue has not been assessed yet.