[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Generalizing find-definition
From: |
Stefan Monnier |
Subject: |
Re: Generalizing find-definition |
Date: |
Mon, 03 Nov 2014 17:38:05 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> 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.
>> Note that such completion tables are clearly not lists of strings, but
>> they're functions (actually, they're objects represented as functions,
>> for lack of an object system).
> What is the advantage of having the backend define a function that
> returns a completion table as opposed to a function that prompts the
> user for a symbol? The saved code seems minimal, and it means the
> backend can not set the prompt, for example.
It means the UI can use it for various kinds of completion (e.g. for
completion-at-point-function).
Stefan
- Re: Generalizing find-definition, (continued)
- Re: Generalizing find-definition, Stefan Monnier, 2014/11/02
- Re: Generalizing find-definition, Helmut Eller, 2014/11/03
- Re: Generalizing find-definition, Jorgen Schaefer, 2014/11/03
- Re: Generalizing find-definition, Stephen Leake, 2014/11/03
- Re: Generalizing find-definition, Stefan Monnier, 2014/11/03
- Re: Generalizing find-definition, Jorgen Schaefer, 2014/11/03
- Re: Generalizing find-definition, Stefan Monnier, 2014/11/03
- Re: Generalizing find-definition, Jorgen Schaefer, 2014/11/03
- Re: Generalizing find-definition,
Stefan Monnier <=
- Re: Generalizing find-definition, Stephen Leake, 2014/11/04
- Re: Generalizing find-definition, Stefan Monnier, 2014/11/04
- Re: Generalizing find-definition, Stephen Leake, 2014/11/04
- Re: Generalizing find-definition, Stefan Monnier, 2014/11/04
- Re: Generalizing find-definition, Dmitry Gutov, 2014/11/06
- Re: Generalizing find-definition, Stephen Leake, 2014/11/06
- Re: Generalizing find-definition, Yuri Khan, 2014/11/06
- Re: Generalizing find-definition, Dmitry Gutov, 2014/11/07
- Re: Generalizing find-definition, Stefan Monnier, 2014/11/03
- Re: Generalizing find-definition, Stephen Leake, 2014/11/04