[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: |
Wed, 19 Nov 2014 23:19:28 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
>>> +(defvar find-definition-identifier-function nil
>> I suggest you collapse those two function variables into one: if called
>> with a nil value (or without argument), then just find the definitions
>> of "thing at point" and if called with a string, then find the
>> definitions of that identifier.
> Keeping two variables puts that logic in the front-end, so all the
> backends don't have to implement it, and we can change it for everyone
> consistently.
I think both in the front-end and in many backends, the two cases will
share a lot of code, so using a single var will simplify code in the
front-end and in many backends as well.
Stefan
- Re: Generalizing find-definition, (continued)
- Re: Generalizing find-definition, Helmut Eller, 2014/11/18
- Re: Generalizing find-definition, Stefan Monnier, 2014/11/19
- Re: Generalizing find-definition, Ivan Shmakov, 2014/11/19
- Re: Generalizing find-definition, Stefan Monnier, 2014/11/19
- Re: Generalizing find-definition, Stephen Leake, 2014/11/19
- Re: Generalizing find-definition, Stefan Monnier, 2014/11/19
- Re: Generalizing find-definition, Stefan Monnier, 2014/11/18
- Re: Generalizing find-definition, Stephen Leake, 2014/11/19
- Re: Generalizing find-definition,
Stefan Monnier <=
- Re: Generalizing find-definition, Jorgen Schaefer, 2014/11/20
- Re: Generalizing find-definition, Helmut Eller, 2014/11/20
- Re: Generalizing find-definition, Jorgen Schaefer, 2014/11/20
- Re: Generalizing find-definition, Helmut Eller, 2014/11/20
- Re: Generalizing find-definition, Stefan Monnier, 2014/11/20
- Re: Generalizing find-definition, Jorgen Schaefer, 2014/11/20
- Re: Generalizing find-definition, Stefan Monnier, 2014/11/20
- Re: Generalizing find-definition, martin rudalics, 2014/11/21
- Re: Generalizing find-definition, Stefan Monnier, 2014/11/30
- Re: Generalizing find-definition, Johan Claesson, 2014/11/23