From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nic Ferrier Newsgroups: gmane.emacs.devel Subject: java and tag completion Date: 04 Nov 2004 01:24:40 +0000 Message-ID: <87fz3qe78n.fsf_-_@tapsellferrier.co.uk> References: <200407051206.i65C6cRq032724@projectile.siege-engine.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099531633 21419 80.91.229.6 (4 Nov 2004 01:27:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Nov 2004 01:27:13 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 04 02:27:05 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CPWP2-000213-00 for ; Thu, 04 Nov 2004 02:27:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPWX9-0002so-PK for ged-emacs-devel@m.gmane.org; Wed, 03 Nov 2004 20:35:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CPWX1-0002sK-3l for emacs-devel@gnu.org; Wed, 03 Nov 2004 20:35:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CPWX0-0002rr-91 for emacs-devel@gnu.org; Wed, 03 Nov 2004 20:35:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPWX0-0002rh-4x for emacs-devel@gnu.org; Wed, 03 Nov 2004 20:35:18 -0500 Original-Received: from [80.168.156.78] (helo=owls-tree.tapsellferrier.co.uk) by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34) id 1CPWOh-0007s8-Dl for emacs-devel@gnu.org; Wed, 03 Nov 2004 20:26:43 -0500 Original-Received: from [80.168.156.71] (helo=kanga ident=Debian-exim) by owls-tree.tapsellferrier.co.uk with esmtp (Exim 4.30 #1 (Debian)) id 1CPWKF-0008EE-6M for ; Thu, 04 Nov 2004 01:22:07 +0000 Original-Received: from nferrier by kanga with local (Exim 4.30 #1 (Debian)) id 1CPWMi-0000m3-SW for ; Thu, 04 Nov 2004 01:24:40 +0000 Original-To: emacs-devel@gnu.org In-Reply-To: <200407051206.i65C6cRq032724@projectile.siege-engine.com> Original-Lines: 29 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29414 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29414 Can anyone tell me if tag completion works properly for Java source files? I've built a tags table in the correct way and I can find tags in the source tree (which is useful) but what I really want is 'proper' completion, ie: I type an instance variable "." half a method name and Emacs works out what method I am using. For example, in the following code: com.nic.Xyz x = new com.nic.Xyz("hello"); x.foo If I do tag completion now I would expect Emacs to complete the code thusly: x.fooBar( It doesn't. It does work sometimes... Is it expected to work? Or is Java a bit too odd to do traditional tag completion? (I am sketching out an alternative using a similar system to tags). -- Nic Ferrier http://www.tapsellferrier.co.uk