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: Mon, 30 Apr 2007 01:08:59 +0200 Message-ID: <877irueq2c.fsf@gmail.com> References: <1177512998.732034.286160@s33g2000prh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1177889776 12051 80.91.229.12 (29 Apr 2007 23:36:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 29 Apr 2007 23:36:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 30 01:36:06 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 1HiIw1-0000xq-Dy for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Apr 2007 01:36:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HiJ28-0001W4-O0 for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Apr 2007 19:42:24 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 48 Original-X-Trace: individual.net lueTs4ZyNctS7eGnVVQo5QIvc9OG7ndSY2d6ZzEuT05euMsuUB 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:1l5pciA+BM+v6j7yGRKUxr9M9PU= Original-Xref: shelby.stanford.edu gnu.emacs.help:147773 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:43376 Archived-At: "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. > > 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. > --