bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: forward-comment doesn't (quite) match its documentation


From: Stefan Monnier
Subject: Re: forward-comment doesn't (quite) match its documentation
Date: 25 Nov 2001 15:16:29 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50

>>>>> "Alan" == Alan Mackenzie <address@hidden> writes:
> When I read "this function moves point forward across COUNT comments" I
> expected just that.  I.e. across things which _are_ comments, not things
> which look like comments but aren't.  Font lock, for example, seems to
> make this distinction.

I guess what's missing from the doc is that forward-comment assumes
that the starting point is outside of any comment or string.
But that's a common assumption in Emacs, shared with forward-sexp.

Now, I'd be interested to know in what context you wanted to
"move over half a comment" (i.e. skip the end of the current comment).


        Stefan



reply via email to

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