From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hadron Newsgroups: gmane.emacs.help Subject: Re: Emacs and C++ codesense Date: Thu, 03 May 2007 12:07:17 +0200 Message-ID: <87vefaw78q.fsf@gmail.com> References: <1177512998.732034.286160@s33g2000prh.googlegroups.com> <877irueq2c.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1178188452 25898 80.91.229.12 (3 May 2007 10:34:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 May 2007 10:34:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 03 12:34:09 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HjYdV-0004R9-2j for geh-help-gnu-emacs@m.gmane.org; Thu, 03 May 2007 12:34:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HjYk0-0005pO-H8 for geh-help-gnu-emacs@m.gmane.org; Thu, 03 May 2007 06:40:52 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 72 Original-X-Trace: individual.net wThlYelIfCCf3HX8Qe6IawAApRKMFEPTdpQwLr1IxTqTXv8GK0 X-Orig-Path: news.individual.net!news X-Face: 2h#||Cd#d%F*NCm59[_6/{1a@jy%; |j>{D~4^gKg(^i%7j0IK?+,/GmW&:CD5fEKb_! User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.99 (gnu/linux) Cancel-Lock: sha1:8LcZbaBrtSjaR9dPggeID8hfrg4= Original-Xref: shelby.stanford.edu gnu.emacs.help:147986 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:43584 Archived-At: Klaus Berndl writes: > On Mon, 30 Apr 2007, hadronquark@gmail.com wrote: > >> "spamfilteraccount@gmail.com" writes: >> >> > I'm looking for solutions for working with C++ code in Emacs. >> > >> > I'd like the following: >> > >> > - Jumping to the definition of the symbol I'm standing on when I press >> > a key. I know tags is useful for that, but they don''t seem to work >> > properly in every case, only in most of the cases and I'd like a >> > proper solution. >> >> cscope is the best for this IMO. Well, it is for C ..... >> >> > >> > - Show the documentation of the current symbol in a tooltip when >> > pressing a key. The tooltip is not a big deal. I can do it if I can >> > get the documentation somehow. >> > >> > - Inteligent completion of the current symbol when I press a key. >> > >> > I don't want ECB, because I don't want separate windows within the >> > frame showing information. I like to work in a single frame and get >> > information only if I press a key explicitly. >> >> yes. ECB is a bit in your face I agree. > > Thanks a lot ;-) No insult intended - but it takes a lot of configuring and learning to get familiar with it. Even the very first design issue you hit - why doesn't "switch to other buffer" include the ecb windows? After a while I appreciated this touch. But not when I started :-; I find that the overhead of the ascii character window splits takes too much real estate from the editor - yes I know you can expand it .... Also, I never got speedbar working properly with it. In fact, I intend to be trying ecb out again soon - it will be interesting to see how well the issues with winman integration are now. It is still confusing, btw, on what ecb to use. The "best" way seems to be from cedet, but cedet seems to be ancient. Could you maybe post a "how to get up and running" update so someone can get the latest all working and integrated in a few easy steps? > >> >> > >> > I suspect semantic can do some or all of the above. Is it true? Is >> > there a solution out of the box which works like described above or I >> > have to learn how the semantic api works and implement my own >> > solution? How good is semantic's C++ parsing/support? >> > >> > Are there other alternatives? >> > >> > xref seems nice, but I'd like to evaluate free software first. >> > >> > I'm also checking out kdevelop which I hear has good support for C++, >> > but I really don't want to leave emacs (iswitchb!) if I can find a >> > satisfactory solution. >> >> I used hippy-expand for the expansion! No tooltips, but cscope worked >> for me. I never used it for c++, but I believe it works ok. >> >> > >> > Thanks. >> > --