[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C++ mode and c-beginning-of-current-token
From: |
Stefan Monnier |
Subject: |
Re: C++ mode and c-beginning-of-current-token |
Date: |
Wed, 16 May 2007 12:15:45 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) |
>> > If `parse-sexp-lookup-properties' is t, `skip-syntax-backward' would
>> > not return -1, but signaling an error in some cases.
>>
>> Sounds like a bug in skip-syntax-backward.
> Is it Ok of signaling error if point is at beginning of buffer when calling
> `skip-syntax-backward'?
No, it's not.
It might conceptually be OK to change it so as to signal
a `beginning-of-buffer' error (although it'd most likely introduce
compatiblity bugs), but it has no reason to ever signal not "Point before
start of properties".
Stefan
- RE: C++ mode and c-beginning-of-current-token, (continued)
- Re: C++ mode and c-beginning-of-current-token, Stefan Monnier, 2007/05/14
- Re: C++ mode and c-beginning-of-current-token, Herbert Euler, 2007/05/14
- Re: C++ mode and c-beginning-of-current-token, Herbert Euler, 2007/05/15
- Re: C++ mode and c-beginning-of-current-token, Herbert Euler, 2007/05/16
- Re: C++ mode and c-beginning-of-current-token, Herbert Euler, 2007/05/16
- Re: C++ mode and c-beginning-of-current-token, Kenichi Handa, 2007/05/16
- Re: C++ mode and c-beginning-of-current-token, martin rudalics, 2007/05/17
- Re: C++ mode and c-beginning-of-current-token, Herbert Euler, 2007/05/17
- Re: C++ mode and c-beginning-of-current-token, martin rudalics, 2007/05/17
- Re: C++ mode and c-beginning-of-current-token, martin rudalics, 2007/05/17
- Re: C++ mode and c-beginning-of-current-token, Stefan Monnier, 2007/05/17
- Re: C++ mode and c-beginning-of-current-token, martin rudalics, 2007/05/17