[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Generalizing find-definition

From: Dmitry Gutov
Subject: Re: Generalizing find-definition
Date: Thu, 06 Nov 2014 17:33:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.51 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> The only single string that reliably would allow to find the correct
>> definition would be "foo.Foo.baz", but I do not think that anyone
>> would consider that to be "the identifier at point" here.
> I would.

I think it should return "baz" here, if we want to go this way at all.
And then that value could be passed to a "search-definition-function",
which will perform a full non-precise scan.

It apparent that we won't be able to do precise searches for identifiers
in most cases, so having a separate variable and function for this seems
to be the way to go, considering that the implementations are likely to
be fairly different anyway.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]