From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Auto-completion and code browsing Date: Fri, 18 May 2007 14:54:49 +1000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87fy5ug292.fsf@lion.rapttech.com.au> References: <1179457344.306288.16090@h2g2000hsg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1179466337 4441 80.91.229.12 (18 May 2007 05:32:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 18 May 2007 05:32: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 Fri May 18 07:32:16 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 1Hov4Z-00006r-0O for geh-help-gnu-emacs@m.gmane.org; Fri, 18 May 2007 07:32:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HovCi-0006wR-MH for geh-help-gnu-emacs@m.gmane.org; Fri, 18 May 2007 01:40:40 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!sn-xt-sjc-02!sn-xt-sjc-07!sn-xt-sjc-01!sn-post-sjc-02!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (gnu/linux) Cancel-Lock: sha1:bpx0T91guWH+M17agcZLgRL8nEk= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 62 Original-Xref: shelby.stanford.edu gnu.emacs.help:148531 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:44124 Archived-At: Bo Yang writes: > Subject: Auto-completion and code browsing > > Hi, > I am intending to use Emacs as my default editor > in this summer's coding. After struggling for two > days to configure it, I am very disappoint now. > I make the auto-completion work, but it works very > fooly. Its completion results are stupid. As to the > code browsing module, it even can't jump to the definition > of the funtion I am visiting. > How disappointing this is! Is there any better way to make > Emacs work more excellent in the this two area? > > I would say yes, but you give no details that I can use to even guess at a) in what ways do you find the completions 'stupid' b) how you would expect completion to work c) what code browsing module you are using d) what version of emacs your running e) what sort of development/language are you planning to work with f) what you have tried so far Emacs is very powerful, but with this power comes complexity. Therefore, it is essential for you to provide specific information if you hope to get help. As emacs is so flexible and used by such a wide variety of users, its not easy to have a 'default' configuration that satisfies everyone. It can take some time to both understand and configure emacs to meet an individual's specific requirements. some cannot bother to do this and would prefer to just use something like eclipse and adapt their mode of working to fit best with their tools. Emacs is possibly best addressed from a different direction - find out how it works by default, read about the various features available and then work out which ones best suit the way you like to work. Once you get to this point, start customizing things to fit even more precisely with your preferred way of working. Unlike many other editors which require you to adapt to their view of the world, emacs offers the ability to adapt the editor to your view of the world. This isn't for everyone and it sometimes means it will take longer to get up to speed, but I think in the long term, its more beneficial. Some things you may find useful - - tags - imenu - speedbar, semantic and the cedet tools - ecb and ede modes - abbrev mode - dynamic abbrevs - tempo and skeleton modes - jdee (for java) also, check out the emacs wiki, which as some good pointers and tips on add-on packages or configuration options etc. See http://www.emacswiki.org Tim -- tcross (at) rapttech dot com dot au