GNU bug report logs - #38545
comment-multi-line doesn't work in c-mode

Previous Next

Package: emacs;

Reported by: Christophe TROESTLER <Christophe.TROESTLER <at> umons.ac.be>

Date: Mon, 9 Dec 2019 12:29:02 UTC

Severity: normal

Found in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Christophe TROESTLER <Christophe.TROESTLER <at> umons.ac.be>
Cc: 38545 <at> debbugs.gnu.org
Subject: bug#38545: 26.1; comment-multi-line doesn't work
Date: Fri, 30 Oct 2020 17:17:35 +0100
On Dez 09 2019, Christophe TROESTLER wrote:

> Setting comment-multi-line to `t', commenting a region should “inserts no new terminator or starter.”  However, it is not the case.  For example, selecting two lines in
>
>     int main() 
>     {
>       int a;
>       int b;
>       return(0);
>     }
>     
>     /* Local Variables: */
>     /* comment-style: multi-line */
>     /* comment-multi-line: t */
>     /* End: */
>
> yields
>
>       /* int a;
>        * int b; */
>
> while it should be
>
>       /* int a;
>          int b; */

What's your value of comment-continue?

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




This bug report was last modified 3 years and 273 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.