From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Francesco Potorti` Newsgroups: gmane.emacs.devel Subject: Re: etags and functions that return structures! Date: Wed, 25 Apr 2007 17:45:00 +0200 Message-ID: References: <9683763.282391177419359599.JavaMail.www@wwinf4106> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1177515932 16205 80.91.229.12 (25 Apr 2007 15:45:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 25 Apr 2007 15:45:32 +0000 (UTC) Cc: "Emacs Dev \[emacs-devel\]" To: alinsoar@voila.fr Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 25 17:45:26 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HgjgA-0008Hw-0d for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2007 17:45:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hgjlm-0007DH-9s for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2007 11:51:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hgjli-0007D2-Q4 for emacs-devel@gnu.org; Wed, 25 Apr 2007 11:50:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hgjlg-0007Cp-Dw for emacs-devel@gnu.org; Wed, 25 Apr 2007 11:50:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hgjlg-0007Cm-7C for emacs-devel@gnu.org; Wed, 25 Apr 2007 11:50:56 -0400 Original-Received: from mx1.isti.cnr.it ([194.119.192.3]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hgjg2-0000UE-7N for emacs-devel@gnu.org; Wed, 25 Apr 2007 11:45:06 -0400 Original-Received: from conversionlocal.isti.cnr.it by mx.isti.cnr.it (PMDF V6.3-x3 #31251) id <01MFUIGZCSTC96Y8I7@mx.isti.cnr.it> for emacs-devel@gnu.org; Wed, 25 Apr 2007 17:45:01 +0200 Original-Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by mx.isti.cnr.it (PMDF V6.3-x3 #31251) with ESMTPS id <01MFUIGZ1W5E986WMW@mx.isti.cnr.it>; Wed, 25 Apr 2007 17:45:01 +0200 Original-Received: from pot by tucano.isti.cnr.it with local (Exim 4.63) (envelope-from ) id 1Hgjfw-0002Yg-SB; Wed, 25 Apr 2007 17:45:00 +0200 In-reply-to: <9683763.282391177419359599.JavaMail.www@wwinf4106> X-INSM-ip-source: 146.48.81.102 Auth Optional-NoAuth X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 X-detected-kernel: OpenVMS 7.2 (Multinet 4.3-4.4 stack) 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: news.gmane.org gmane.emacs.devel:70112 Archived-At: >When we have a function that returns a structure with a name S, by >searching the name of that structure (S), find-tag does not jump in all >cases to structure's definiton, but to a function's definition that >returns that structure. This should not happen. >I do not give here examples. Just to be sure, I just tried with some examples, and I was not able to reproduce the problem you describe. The range of possible combinations is infinite, but the code is written so that what you describe does not happen. Eli Zaretskii: >I think this depends on the order in which etags sees the struct and >the functions. No, it should not and, as far as I can see, it does not. Unfortunately, I don't think that we can do anything without a test case so, if someone is able to reproduce the problem, please report a test case.