GNU bug report logs - #22431
25.0.50; incorrect jsdoc comment wrapping in js mode

Previous Next

Package: emacs;

Reported by: Tom Tromey <tom <at> tromey.com>

Date: Fri, 22 Jan 2016 15:48:01 UTC

Severity: minor

Found in version 25.0.50

Done: Tom Tromey <tom <at> tromey.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 22431 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Tom Tromey <tom <at> tromey.com>, 22431 <at> debbugs.gnu.org
Subject: Re: bug#22431: 25.0.50; incorrect jsdoc comment wrapping in js mode
Date: Sat, 23 Jan 2016 08:20:06 +0300
On 01/22/2016 06:46 PM, Tom Tromey wrote:

> Now move point to the end of the comment line and type " open the".
> This causes wrapping for me, but the result looks like:
>
> /**
>   * Load the inspector's shared head.js for use by tests that need to
> /**open the

Indeed, I also see the problem. But it's not in js2-mode, because it 
defines its own comment-line-break-function, instead of inheriting one 
from cc-engine.

We should probably copy it over.




This bug report was last modified 8 years and 130 days ago.

Previous Next


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