[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs contributions, C and Lisp
From: |
Eli Zaretskii |
Subject: |
Re: Emacs contributions, C and Lisp |
Date: |
Wed, 07 Jan 2015 21:38:08 +0200 |
> Date: Wed, 07 Jan 2015 14:25:01 -0500
> From: Richard Stallman <address@hidden>
> CC: address@hidden, address@hidden, address@hidden,
> address@hidden
>
> It certainly can be done with less. For instance, if the code says
>
> foo.x + bar.y
>
> or
>
> foo.x - bar.y
>
> it makes no difference for completion what that operator is.
In an object-oriented language that supports operator overloading, the
+ or - can do anything, and accept only specific data types under
certain constraints. For example, if foo.x is of a certain data type,
the candidates for the right-hand operand might be restricted to a
small subset of what a + or a - can generally support. If you
complete to a large list of candidates here disregarding the
constraints, you'd leave a lot of users unhappy.
How do you know that kind of information without parsing the whole
program yourself?
- Re: Emacs contributions, C and Lisp, (continued)
- Re: Emacs contributions, C and Lisp, Richard Stallman, 2015/01/03
- Re: Emacs contributions, C and Lisp, David Engster, 2015/01/03
- Re: Emacs contributions, C and Lisp, Richard Stallman, 2015/01/05
- Re: Emacs contributions, C and Lisp, Eli Zaretskii, 2015/01/05
- Re: Emacs contributions, C and Lisp, Richard Stallman, 2015/01/06
- Re: Emacs contributions, C and Lisp, Perry E. Metzger, 2015/01/06
- Re: Emacs contributions, C and Lisp, Eli Zaretskii, 2015/01/06
- Re: Emacs contributions, C and Lisp, Perry E. Metzger, 2015/01/06
- Re: Emacs contributions, C and Lisp, Eli Zaretskii, 2015/01/06
- Re: Emacs contributions, C and Lisp, Richard Stallman, 2015/01/07
- Re: Emacs contributions, C and Lisp,
Eli Zaretskii <=
- Re: Emacs contributions, C and Lisp, David Kastrup, 2015/01/07
- Re: Emacs contributions, C and Lisp, Richard Stallman, 2015/01/07
- Re: Emacs contributions, C and Lisp, Óscar Fuentes, 2015/01/07
- Re: Emacs contributions, C and Lisp, Richard Stallman, 2015/01/08
- Re: Emacs contributions, C and Lisp, Óscar Fuentes, 2015/01/08
- Re: Emacs contributions, C and Lisp, Eli Zaretskii, 2015/01/09
- Re: Emacs contributions, C and Lisp, Richard Stallman, 2015/01/09
- Re: Emacs contributions, C and Lisp, Perry E. Metzger, 2015/01/09
- Re: Emacs contributions, C and Lisp, Perry E. Metzger, 2015/01/08
- Re: Emacs contributions, C and Lisp, Eli Zaretskii, 2015/01/09