Category Archives: Emacs

Debugging with Emacs

Compile (say, files f1.cpp and f2.cpp) with the following command from Emacs: M-x compile <return> Compile command: g++ -o myprogram -g f1.cpp f2.cpp The presence of ‘-g’ flag tells the compiler to generate the debug symbols in the generated executable … Continue reading

Posted in Emacs | Comments Off

Quick Emacs Reference

M = Alt or Esc key C = Control key The usage of – in the command description implies combination. E.g. M C-s means pressing Esc once followed by pressing Control and s together. For Meta-key-based (M) commands, the Alt … Continue reading

Posted in Emacs | Tagged | Comments Off