LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-02-2003, 06:45 PM   #1
digitized_funk
Member
 
Registered: Sep 2002
Location: Australia
Distribution: Suse 8.0
Posts: 50

Rep: Reputation: 15
Couple of questions on Emacs for C++ development.


I'm just setting up my programming environment and have decided to use emacs.

I have a couple of questions:

1. Is there a key combination to cycle to the next buffer and previous buffers?

2. Please suggest any additional tools and modules that you recommend for emacs to ease c++ development?

Thankyou very much.

Rich
 
Old 11-02-2003, 07:40 PM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
1. No. Do something of the following
  • Use ctrl+left mouse button to have a buffer menu
  • Use 'C-x b' to swich to buffer.
  • Define your own key for cyclebuffer-forward and cyclebuffer-backward (I have declared C-. and C-, because they were free). Press 'C-h F' to open emacs FAQ and see the key bindings section.
  • Learn to use emacs speedbar. It is quite good for navigating in the code.

2.
The basic stuff is good to have: c-compiler (of course), gdb, cvs and make.

If you are not familiar with make, learning how to do makefiles is worth the effort; it saves time later. Same applies to gdb and cvs (other version management system you prefer).

cscope is nice, etags (exuberant-ctags) is also usefull. Also if your project grows huge, I would recommend using some external documentation software like doxygen (not only for documentation, but also for navigation and for figuring out internal dependencies and references).

Other software of interest (I use them) might be devtodo, indent and cgdb.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Couple of questions qmon2002 Solaris / OpenSolaris 3 04-08-2004 02:30 AM
couple of questions ph0n1x Linux - Software 7 03-19-2004 12:58 PM
Couple of questions... p3ngu!n Linux - Newbie 2 11-11-2003 05:41 AM
couple O' questions pathogenik Slackware 10 04-22-2002 01:42 AM
A couple questions aceman817 Linux - Networking 2 04-25-2001 06:02 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration