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: Sat, 05 May 2007 13:54:43 +0200 Message-ID: <87irb7zdrw.fsf@gmail.com> References: <1177512998.732034.286160@s33g2000prh.googlegroups.com> <877irueq2c.fsf@gmail.com> <87vefaw78q.fsf@gmail.com> <87r6pwlq9h.fsf@gmail.com> <87odl0sjqc.fsf@gmail.com> <87odl0po00.fsf@pdrechsler.de> <87hcqseev3.fsf@gmail.com> <87vef8l2qe.fsf@gmail.com> <87y7k33759.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 1178368424 2846 80.91.229.12 (5 May 2007 12:33:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 May 2007 12:33:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 05 14:33:42 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 1HkJSB-00026Q-Aa for geh-help-gnu-emacs@m.gmane.org; Sat, 05 May 2007 14:33:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HkJYv-0008Id-5N for geh-help-gnu-emacs@m.gmane.org; Sat, 05 May 2007 08:40:33 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 78 Original-X-Trace: individual.net He9izhxl1xWs10U8MqH6VAXh1mBLmbWGHtLZe9Rk74I1Zy5/ny 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:/LDF9l8qSYErwHdXdD6UqlFuwcA= Original-Xref: shelby.stanford.edu gnu.emacs.help:148135 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:43734 Archived-At: Maciej Katafiasz writes: > Den Sat, 05 May 2007 12:18:58 +0200 skrev Hadron: > >>>> ok, so it wasn't a demo of what semantic can do. It was a mish mash of >>>> different things not likely to be reproduced by anyone but yourself :-; >>> >>> But of course, large parts of it were due to semantic usage. You asked how >>> it can fit C coding, this is my answer. >> >> But which bits? I have no idea which bits were semantic and which others >> were part of your "mish mash of other packages". > > Semantic shines through whenever you can see emacs visibly having an idea > about the code's meaning. In this demo, it means 1) the suggestion popus > 2) the second time I use `fwritex' template, in which FILE *STREAM formal > parameter is replaced by a choice of all currently visible variables of > type FILE* > >>>> Why did you do your own completion? What was wrong with intellisense? >>>> Have you used intellisense? >>> >>> Uhh, this *is* intellisense. At least as long as you regard >>> "intellisense" >> >> Well, when you say your wrote your own completion package, how is one >> supposed to know the difference? > > "intellisense" is either 1) IntelliSense, a trademarked name for MSVS Why would I be talking about Intellisense from MS? What sense would that make when discussing semantic in an emacs NG? > context-sensitive completion, in which case none of the above is > intellisense 2) a generic name for a class of similarly-working packages, > in which case both are implementations of intellisense. If you want to > know the difference, download the package and read the description Are really do not know why you appear to be so determined to make this difficult. Do you really think I mean anything other than the Intellisense which is part of the semantic package? And is called "Intellisense" by cedet package itself? Here: http://cedet.sourceforge.net/intellisense.shtml > >>> as a generic description and not trademarked name by MSFT. I wrote it >>> because the existing completion popups for semantic were not close >>> enonugh to the original IntelliSense, or rather, diverged in ways that >>> seriously hindered their usefulness. >> >> I turn the pop ups off and use tab cycle completion - works quite >> nicely. >> >> But again, could U request some sort of explanation of the demo gif? >> Just looking at it tells me nothing whatsoever about how you used >> semantic to do a job of work. > > Not really, I don't have the time for that now. I intend to turn it into a > properly integrated and easy to install and setup package, but it hasn't > happened yet. Cheers. Basically all you have said is "look at this gif which is made by a mash of packages only I know about". How that is supposed to help in any way understand semantic is beyond me. It does look impressive though and my basic frustration is simply being unable to get it (semantic) to work anything like you have demonstrated :-( > > Cheers, > Maciej > > > --