From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Maciej Katafiasz Newsgroups: gmane.emacs.help Subject: Re: Emacs and C++ codesense Date: Sat, 5 May 2007 11:48:43 +0000 (UTC) Message-ID: 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=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1178365761 27628 80.91.229.12 (5 May 2007 11:49:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 May 2007 11:49:21 +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 13:49:20 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 1HkIlH-0003YQ-Rb for geh-help-gnu-emacs@m.gmane.org; Sat, 05 May 2007 13:49:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HkIs1-0000KC-Ii for geh-help-gnu-emacs@m.gmane.org; Sat, 05 May 2007 07:56:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HkIrn-0000I3-CU for help-gnu-emacs@gnu.org; Sat, 05 May 2007 07:55:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HkIrk-0000Hr-UF for help-gnu-emacs@gnu.org; Sat, 05 May 2007 07:55:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HkIrk-0000Ho-Ow for help-gnu-emacs@gnu.org; Sat, 05 May 2007 07:55:56 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HkIl0-0000qh-6x for help-gnu-emacs@gnu.org; Sat, 05 May 2007 07:48:58 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HkIkt-000808-Io for help-gnu-emacs@gnu.org; Sat, 05 May 2007 13:48:51 +0200 Original-Received: from users.kollegienet.dk ([130.226.173.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 May 2007 13:48:51 +0200 Original-Received: from mathrick by users.kollegienet.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 May 2007 13:48:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 50 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: users.kollegienet.dk User-Agent: pan 0.120 (Plate of Shrimp) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:43733 Archived-At: 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 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 >> 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, Maciej