bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11841: 24.1; emacs hangs when opening cpp file with mixed eol styles


From: Eli Zaretskii
Subject: bug#11841: 24.1; emacs hangs when opening cpp file with mixed eol styles
Date: Sun, 08 Jul 2012 05:58:43 +0300

> From: Stefan Monnier <monnier@IRO.UMontreal.CA>
> Cc: Eli Zaretskii <eliz@gnu.org>, 11841@debbugs.gnu.org,
>         Vadim K <vadimsks@gmail.com>
> Date: Sat, 07 Jul 2012 17:53:47 -0400
> 
> > Just as an observation, (forward-comment -1) doesn't move back over a ^M.
> 
> Why should it?  It's not a whitespace, and while it has "comment end"
> syntax, it does not have a matching comment-start.
> 
> I think you should give it whitespace syntax.
> Currently "foo // bar ^M baz ^J" is treated in CC-mode as "foo <comment>
> baz", which I think is wrong.

Perhaps so, but in the file in question you have ^M^J with northing
between them.  So a lone ^M is not an issue here.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]