While trying to edit an awk file with emacs 28.2 its not self-inserting all charcaters, but trying to evaluate certain keystrokes! For example if I press 3
emacs sees C-u 3-
! Pressing a
causes it to query me for Cscope Initial Directory
! Clearly some mode has been enabled that I didn't ask for and don't want!
Looking at modes (C-h m
) I see:
Enabled minor modes: Abbrev Auto-Composition Auto-Compression
Auto-Encryption Blink-Cursor Column-Number Cscope
Display-Fill-Column-Indicator Electric-Indent Engine File-Name-Shadow
Font-Lock Global-Auto-Revert Global-Edit-Server-Edit Global-Eldoc
Global-Font-Lock Global-Undo-Tree Hs Indent-Tabs Line-Number
Mac-Mouse-Wheel Menu-Bar Override-Global Ruler Shell-Dirtrack
Show-Paren Tooltip Transient-Mark Undo-Tree Which-Function Winner
(Information about these minor modes follows the major mode info.)
AWK//l mode defined in ‘cc-mode.el’:
Major mode for editing AWK code.
To submit a problem report, enter ‘M-x c-submit-bug-report’ from an
‘awk-mode’ buffer. This automatically sets up a mail buffer with version
information already added. You just need to add a description of the
problem, including a reproducible test case, and send the message.
But what enabled AWK//l
mode? It's not in auto-mode-alist!
For the moment my workaround is to use find-file-literally
.
M-x c-submit-bug-report
is also failing - possibly I need to update org-mode - TBC.