[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: smie-next-sexp vs associative operators
From: |
Stephen Leake |
Subject: |
Re: smie-next-sexp vs associative operators |
Date: |
Thu, 25 Oct 2012 15:17:06 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (windows-nt) |
Stefan Monnier <address@hidden> writes:
>> I don't understand. The language implementor can set it to nil by
>> default, to get the above properties. Then during indentation, it can
>> be let-bound to t.
>
> That would bring back some of the benefits, but not those for
> indentation and I still haven't seen a concrete case where such
> a setting in indentation would be useful (I'm not saying your case isn't
> one such example, but I still haven't seen your concrete case).
I started this thread with a specific example. Your solution is to
abandon the generic "find the statement start" solution, and put in
special cases for keywords that happen to be associative.
> but still I don't think you need it.
Of course there are other ways to solve any particular problem; I was
looking for a more general solution.
>> But it means spending time optimizing the grammar so it has these
>> properties. As I've said, I've got way to much work to do, so keeping it
>> simple is more important at the moment.
>
> Fine.
I will continue using my patched version of smie-backward-sexp until
I've got a functioning ada-mode; then I think about how to move forward
on this.
--
-- Stephe
- Re: smie-next-sexp vs associative operators, (continued)
- Re: smie-next-sexp vs associative operators, Stephen Leake, 2012/10/14
- Re: smie-next-sexp vs associative operators, Stefan Monnier, 2012/10/14
- Re: smie-next-sexp vs associative operators, Stephen Leake, 2012/10/15
- Re: smie-next-sexp vs associative operators, Stephen Leake, 2012/10/20
- Re: smie-next-sexp vs associative operators, Stephen Leake, 2012/10/21
- Re: smie-next-sexp vs associative operators, Stefan Monnier, 2012/10/23
- Re: smie-next-sexp vs associative operators, Stephen Leake, 2012/10/23
- Re: smie-next-sexp vs associative operators, Stefan Monnier, 2012/10/24
- Re: smie-next-sexp vs associative operators, Stephen Leake, 2012/10/24
- Re: smie-next-sexp vs associative operators, Stefan Monnier, 2012/10/24
- Re: smie-next-sexp vs associative operators,
Stephen Leake <=
- Re: smie-next-sexp vs associative operators, Stefan Monnier, 2012/10/25
- Re: smie-next-sexp vs associative operators, Stefan Monnier, 2012/10/23
- Re: smie-next-sexp vs associative operators, Stephen Leake, 2012/10/23
- Re: smie-next-sexp vs associative operators, Stefan Monnier, 2012/10/24
- Re: smie-next-sexp vs associative operators, Stephen Leake, 2012/10/24