From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vagn Johansen Newsgroups: gmane.emacs.help Subject: Re: IDE versus emacs Date: Sat, 06 Oct 2012 14:09:27 +0200 Organization: SunSITE.dk - Supporting Open source Message-ID: <86d30vn6o8.fsf@hotmail.com> References: <83d30y87yi.fsf@gnu.org> <83626q7zvk.fsf@gnu.org> <87y5jl243r.fsf@gmail.com> <87pq4xbqup.fsf@wanadoo.es> <87d30xatgo.fsf@wanadoo.es> <20121006041754.GA30224@hysteria.proulx.com> <86lifkm3t1.fsf@hotmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1349525417 25670 80.91.229.3 (6 Oct 2012 12:10:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Oct 2012 12:10:17 +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 Oct 06 14:10:23 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TKTD2-0006nA-8w for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Oct 2012 14:10:20 +0200 Original-Received: from localhost ([::1]:32851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKTCv-00009p-Qb for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Oct 2012 08:10:13 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (windows-nt) Cancel-Lock: sha1:wl26iyp/7C1U2p73JkXSQX9fKdw= Original-Lines: 38 Original-NNTP-Posting-Host: 188.179.127.211 Original-X-Trace: news.sunsite.dk DXC=2jUS87eHZ2kCf4eYcI3F5hYSB=nbEKnkk`QdWPbPcKXocXa`SU1m]jdR]EXLP^hknk0IWLhee3eg>Z8H`9jLWPI`8VIm Original-X-Complaints-To: staff@sunsite.dk Original-Xref: usenet.stanford.edu gnu.emacs.help:194775 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87109 Archived-At: Eli Zaretskii writes: >> It would useful if the identifiers were tagged (pun intended) with the >> the "type": class, method, static function, constant etc. >> >> For example find-tag could then support a customized >> find-first/find-next order (eg. class first). >> >> You could also use it to make the function guess-class-name-at-point. I >> have previously needed this for my tempo expansions for C++ member >> functions. > > If you are talking about C++, Emacs already comes with a program > called 'ebrowse' and a matching set of Emacs commands, which I think > are supposed to support all that already. I suggest to read the > ebrowse manual (bundled with Emacs) and see if you can put that to > good use. > I triede ebrowse when it came out. It is a flop and no one uses/talks about it anymore. It might as well be removed from Emacs. CEDET/Semantic is the new hotness. I try it every 2 years for a short while. It always ends up slowing down my Emacs with various lockups because of all the parsing it does. Perhaps it works better in 24.3? I am not specifically talking about C++, that what just an example. I would like see the TAGS file extended with a "type" field so that my imagined guess-class-name-at-point function would work for *all* programming languages. It would be nice if Emacs had a generic API(*) for semantic information so that for example auto completion system could be written without specific knowledge of the major-mode (~ programming language). *) guess-class-name-at-point, find-class-for-identifier-at-point, etc. -- Vagn Johansen