[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C-u prefix behavior of TAB broken
From: |
Miles Bader |
Subject: |
Re: C-u prefix behavior of TAB broken |
Date: |
Mon, 25 Feb 2008 11:56:42 +0900 |
Juri Linkov <address@hidden> writes:
> This is correct, but I thought this is not very useful.
>
>> (condition-case err (indent-for-tab-command t)
>> (error (indent-for-tab-command)))
>
> This is not a problem for me, but I doubted that displaying an error message
> would be useful for someone who types `C-u TAB' at the wrong place.
I dunno, I'd think if someone types C-u before TAB, they do so
intentionally, thinking there's a balanced expression following, and
would like to know if something's screwy.
In the example you gave it's really obvious what the problem is, but
what if there's actually a non-trivial unbalanced expresison following?
It seems useful to give an error that says it can't find a balanced
expression rather than silently ignoring the C-u in that case...
E.g.:
(hello [
world)
The error message could be a bit more friendly though...
-Miles
--
Love is a snowmobile racing across the tundra. Suddenly it flips over,
pinning you underneath. At night the ice weasels come. --Nietzsche