Hi, I’m new to emacs and trying to get my way through the cc-mode for editing c/c++ files in the manual, it says to activate h cc-mode using the ``c-mode`` symbol and use ``C-M-a`` keybinding to move to beginning of the function, but when I do it, it says ``M-a undefined`` in the mini-buffer. How do I fix it. I have tried look in the manual and net but could get any lead…

  • 7890yuiop@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    M-a undefined
    M-ā is undefined

    which is it?

    If it’s the latter, it sounds like your Ctrl key is acting like a Compose key of some kind, such that C-a produces ā. That sounds super-weird to me (I wouldn’t expect any OS to take over the Ctrl modifier in this way), but it would be happening outside of Emacs and anything is possible.

    If it’s the former then it seems that the Ctrl key hasn’t registered, which would also be a problem which is external to Emacs.