[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: auto-fill in c-mode messes up incomplete comments]
From: |
Toby Allsopp |
Subject: |
Re: address@hidden: auto-fill in c-mode messes up incomplete comments] |
Date: |
Tue, 26 Dec 2006 13:13:02 +1300 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) |
The following message is a courtesy copy of an article
that has been posted to gmane.emacs.cc-mode.general,gmane.emacs.devel as well.
address@hidden (Michaël Cadilhac) writes:
> Richard Stallman <address@hidden> writes:
>
>> From: Toby Allsopp <address@hidden>
>> Subject: auto-fill in c-mode messes up incomplete comments
>> To: address@hidden
>> Cc: address@hidden
>> Date: Tue, 28 Nov 2006 11:48:39 +1300
>>
>>>From a shell prompt:
>>
>> emacs -q /tmp/tmp.c
>> M-x auto-fill-mode
>> /*
>> *
>>
>> (That's / * <return> * SPC).
>>
>> When typing the final space, the second line gets deleted. Pressing
>> return instead messes it up differently. This seems to be a problem
>> with c-mask-paragraph.
>
> Toby, does the following fix your problem?
It fixes it for the SPC case, but not for the RET case (/ * <return> *
<return>).
Toby (at home).