[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".


reply via email to

[Prev in Thread] Current Thread [Next in Thread]