[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: up-list gives error inside strings
From: |
Nikolaj Schumacher |
Subject: |
Re: up-list gives error inside strings |
Date: |
Tue, 24 Apr 2007 23:15:29 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.98 (darwin) |
Stefan Monnier <address@hidden> writes:
>> I can't tell if the failure to move out of the parentheses is by design,
>> but the error message is misleading.
>
> One of the design constraints we've imposed on ourselves is that operations
> like up-list and friends should ideally work "locally" without having to
> parse the buffer from the very beginning
>
> Now you're going to say "but it's highlighted as a string, so Emacs knows
> it's a string". Well, yes, kind of. But now users have found advantages to
> the misfeature, and font-lock highlighting is not guaranteed to be
> available and even less guaranteed to be correct, and ....
>
> So let's call it a known misfeature. It should be improved in the future.
Well, I didn't even expect it to be fixable, as I suspected that it was
a design limitation. However I'd like this to be documented in either
the doc string or the error message. That would make it a _known_
misfeature, in my opinion. :)
regards,
Nikolaj Schumacher