GNU bug report logs - #6688
23.2; Auto-fill broken in C/C++ modes.

Previous Next

Packages: emacs, cc-mode;

Reported by: Matthieu Moy <Matthieu.Moy <at> imag.fr>

Date: Wed, 21 Jul 2010 15:05:02 UTC

Severity: normal

Found in version 23.2

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Matthieu Moy <Matthieu.Moy <at> grenoble-inp.fr>
To: 6688 <at> debbugs.gnu.org
Subject: bug#6688: Acknowledgement (23.2; Auto-fill broken in C/C++ modes.)
Date: Wed, 21 Jul 2010 19:27:37 +0200
Digging a bit further, I found out in this example:

/*
  Test

*/

* The problems seems to be that the last */ is at the beginning of
  line. If I add a space before, the problem disapears. It seems to be
  a problem with `c-mask-paragraph', around this

		(let* ((ender-start (save-excursion
				      (goto-char (cdr c-lit-limits))
				      (skip-syntax-backward "^w ")
				      (point)))

  since the skip-syntax-backward will skip the newline and move out of
  the line of the */.

* If I download version 5.31.3 of cc-mode and install it, the problem
  goes away.

Hope this helps,

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/




This bug report was last modified 14 years and 291 days ago.

Previous Next


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