[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 <none@example.invalid> 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
- forward-comment doesn't (quite) match its documentation, Alan Mackenzie, 2001/11/24
- Re: forward-comment doesn't (quite) match its documentation, Miles Bader, 2001/11/24
- Re: forward-comment doesn't (quite) match its documentation, Alan Mackenzie, 2001/11/25
- Re: forward-comment doesn't (quite) match its documentation,
Stefan Monnier <=
- Re: forward-comment doesn't (quite) match its documentation, Alan Mackenzie, 2001/11/27
- Re: forward-comment doesn't (quite) match its documentation, Stefan Monnier, 2001/11/27
- Re: forward-comment doesn't (quite) match its documentation, Alan Mackenzie, 2001/11/27
- Re: forward-comment doesn't (quite) match its documentation, Stefan Monnier, 2001/11/27
- Re: forward-comment doesn't (quite) match its documentation, Alan Mackenzie, 2001/11/29
- Re: forward-comment doesn't (quite) match its documentation, Eli Zaretskii, 2001/11/29
- Re: forward-comment doesn't (quite) match its documentation, Alan Mackenzie, 2001/11/29
- Re: forward-comment doesn't (quite) match its documentation, Stefan Monnier, 2001/11/29
- Re: forward-comment doesn't (quite) match its documentation, Alan Mackenzie, 2001/11/29
- Re: forward-comment doesn't (quite) match its documentation, Eli Zaretskii, 2001/11/29