this post was submitted on 24 Oct 2023
1 points (100.0% liked)

Emacs

310 readers
1 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

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...

you are viewing a single comment's thread
view the rest of the comments
[–] sleekelite@alien.top 1 points 11 months ago (3 children)

C-M-a means “hold control and meta at the same time and then press a”.

C-h k (hold control, press h, let go of h and control, press k) followed by key presses will tell you what emacs saw and what function it will run.

[–] rantdubey@alien.top 1 points 11 months ago (2 children)

yea bruv did that but getting the message, ``M-ā is undefined``. Do I require to make changes to my init file?

[–] mmaug@alien.top 1 points 11 months ago

What OS, keyboard layout, and Emacs version?

load more comments (1 replies)
load more comments (1 replies)