[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#3416: down-list
From: |
Andreas Röhler |
Subject: |
bug#3416: down-list |
Date: |
Fri, 29 May 2009 22:20:50 +0200 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20081227) |
Stefan Monnier wrote:
>> you are right. Nonetheless, as strings are common
>> elements of lists, not just in Python, its such an
>> inconvenience, it qualifies as bug in my eyes.
>>
>
> Agreed. As it stands `down-list' does what it is documented to do, but
> it is not always the best thing to do. Same holds for `forward-sexp'
> and several other friends.
>
> I think these need to be split into functions (that keep the current
> name and behavior) and commands (with new names), where the commands can
> then be modified to be more clever about guessing the start state
> (presumably using syntax-ppss) and doing something useful with it.
>
>
> Stefan
>
>
IMHO `down-list' it simply may work as the name says. Limitation
mentioned in doku may
be removed.
Behavior of `forward-sexp' is erratic for me, so I didn't use it.
Probably it pays to reflect what it should do.
Thanks all
Andreas