[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fill for // style comments in C
From: |
Miles Bader |
Subject: |
Re: Fill for // style comments in C |
Date: |
Mon, 27 Nov 2006 15:34:28 +0900 |
Stefan Monnier <address@hidden> writes:
>> C mode does support // comments in other ways, so if it doesn't
>> enable filling of them, I think that is a bug.
>
> I still haven't seen any clear report that it doesn't work (just some vague
> remarks about whether or not it works).
Consider the following in c-mode (with indentation removed):
// this is a test
// foo bar
int a ()
{
}
If you position the point on the word "test", and hit M-q (bound to
`c-fill-paragraph'), nothing happens.
If you then do `M-x c++-mode', and hit M-q again, the comment is filled
as you might expect.
_However_ if you use `M-x fill-paragraph' instead of M-q
(c-fill-paragraph), then it works correctly in both modes -- so it
appears that the bug is with c-fill-paragraph.
-Miles
--
I'm beginning to think that life is just one long Yoko Ono album; no rhyme
or reason, just a lot of incoherent shrieks and then it's over. --Ian Wolff
- Fill for // style comments in C, Lennart Borgman, 2006/11/17
- Re: Fill for // style comments in C, Miles Bader, 2006/11/18
- Re: Fill for // style comments in C, Richard Stallman, 2006/11/19
- Re: Fill for // style comments in C, Richard Stallman, 2006/11/26
- Re: Fill for // style comments in C, Stefan Monnier, 2006/11/27
- Re: Fill for // style comments in C,
Miles Bader <=
- Re: Fill for // style comments in C, Herbert Euler, 2006/11/27
- Re: Fill for // style comments in C, martin rudalics, 2006/11/27
- Re: Fill for // style comments in C, Herbert Euler, 2006/11/27
- Re: Fill for // style comments in C, Miles Bader, 2006/11/27
- Re: Fill for // style comments in C, Herbert Euler, 2006/11/28
- Re: Fill for // style comments in C, Miles Bader, 2006/11/28
- Re: Fill for // style comments in C, Herbert Euler, 2006/11/28
- Re: Fill for // style comments in C, martin rudalics, 2006/11/28
- Re: Fill for // style comments in C, Richard Stallman, 2006/11/29
- Re: Fill for // style comments in C, Stefan Monnier, 2006/11/29