From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Javier GARCIA Newsgroups: gmane.emacs.help Subject: Re: Trying to go to the definition of a function Date: Tue, 23 Feb 2010 12:11:58 +0100 Message-ID: <5e24392b1002230311y6519d811r58cc209107154211@mail.gmail.com> References: <87r5oe46sb.fsf@lion.rapttech.com.au> <4B82889D.5050306@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000325557b5a4e3df20480429ec7 X-Trace: dough.gmane.org 1266923577 28170 80.91.229.12 (23 Feb 2010 11:12:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Feb 2010 11:12:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 23 12:12:54 2010 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.69) (envelope-from ) id 1Njsgw-0005ty-Hy for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Feb 2010 12:12:38 +0100 Original-Received: from localhost ([127.0.0.1]:56181 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Njsgv-00070f-ST for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Feb 2010 06:12:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NjsgN-00070C-4M for help-gnu-emacs@gnu.org; Tue, 23 Feb 2010 06:12:03 -0500 Original-Received: from [140.186.70.92] (port=57925 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjsgL-0006zf-Jx for help-gnu-emacs@gnu.org; Tue, 23 Feb 2010 06:12:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NjsgK-0003Gs-LY for help-gnu-emacs@gnu.org; Tue, 23 Feb 2010 06:12:01 -0500 Original-Received: from mail-bw0-f219.google.com ([209.85.218.219]:53582) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjsgK-0003Gi-Gl for help-gnu-emacs@gnu.org; Tue, 23 Feb 2010 06:12:00 -0500 Original-Received: by bwz19 with SMTP id 19so2587598bwz.26 for ; Tue, 23 Feb 2010 03:11:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=z3IrciXtXqJMBHQtieeykzd0BMktRzB6kNQuXMHv8wY=; b=BBbsvRdN3j8CaQa7EO/uVBL4O3NHRZtbNCeOIwqQzhCvq/FmO6BwgFZcCMWMXFNCcw ILoTs1F8rYIVeLYUWJYJYqsnDZF6m5MC31iDNjgnA2b50r7TypJy+1TQnsvIuqmb9rna gdVIrblXjPMsGGE/6NpCOE6S8wTmHubLB7wOw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=u+rbLqjom09hc9AfmEnbxbwycnZ2SswKjG48MN9ccy+3plhNX3SLlawRDx7DjT37e8 oiMHnhIS0kMUdBzvA1YITaTH2oVPi9QqrwsPpDrPBfpRR5EUE8ZChCG5W/IAZCUOxgON WaR43M6UlQnHK/UOQ+z0WwiKBPIulH4Mb50PU= Original-Received: by 10.204.34.208 with SMTP id m16mr3510974bkd.180.1266923518966; Tue, 23 Feb 2010 03:11:58 -0800 (PST) In-Reply-To: <4B82889D.5050306@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:72065 Archived-At: --000325557b5a4e3df20480429ec7 Content-Type: text/plain; charset=ISO-8859-1 Hi again, i have found out is possible generate tags that take PHP5 in consideration with ctags and option "-e" (emacs). But i dont know yet if it is possible going directly to a function in case you have a function with the same name in several class. Here you have an example: Imagine i have tagged several classes (class1, class2, class3, etc) that have the method foo(). If i have this code: $class3_object = new class3(); $class3_object->foo(); I'd like to go *directly* to the foo() definition in the class3, because it is the class of the object "class3_object". Javi --000325557b5a4e3df20480429ec7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi again,

i have found out is possible generate tags that take PHP5 = in consideration with ctags and option "-e" (emacs).

But i= dont know yet if it is possible going directly to a function in case you h= ave a function with the same name in several class.

Here you have an example:

Imagine i have tagged several classes = (class1, class2, class3, etc) that have the method foo().

If i have this code:

$class3_object =3D new class3();
$cl= ass3_object->foo();

I'd like to go directly to the foo= () definition in the class3,=20 because it is the class of the object "class3_object".

Jav= i



--000325557b5a4e3df20480429ec7--