Search code examples
c++cemacsemacs23

Emacs tutorial for large projects


can someone be kind enough to direct me to emacs tutorials for large C++ project using gdb as debugger, the project does contain make file.

I did search for emacs tutorials but some are too advanced for beginners and some only target one single file tutorial. I did read the previous posts too but did not find an answer suitable for large projects. Also I am not used to using 'git', one of the answers in previous posts.


Solution

  • Actually, learning Emacs is a thing that just can't be easy. You'll have to learn the basics before you will be able to read "advanced" tutorials.

    The first thing you should do is to work through the builtin tutorial (C-h t). It's really good.

    Then you should try to familiarize yourself with Emacs configuration basics. The easy way suggested by many users is to get a ready-for-use configuration (such as Emacs Starter Kit) and try to understand it and then tailor to your own needs and preferences. The advantages of using a ready-made configuration kit are:

    • It's a working code useful for learning the basics of Elisp. This learning path is way faster than reading Elisp manuals and gathering configuration code one small piece at a time.
    • It demonstrates a lot of useful Emacs features which otherwise might require you long time (sometimes years) to discover.
    • It offers a framework which you can base on writing your own configuration.

    Still you should undoubtedly get rid of whatever parts of configuration you don't need.

    Then (or along with the previous step) read some tutorial about using Emacs as a development platform. You can easily find a lot of tutorials via "emacs for [c] development" queries to Google. Here is one of many.

    Then install Cedet (Alex Ott has written a great tutorial about it) and start feeling the power.

    After that you'll know what to do next.

    By the way, there is a great collection of Emacs resources maintained by Bozhidar Batsov.