[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is this a bug of cc-mode?
From: |
Alan Mackenzie |
Subject: |
Re: Is this a bug of cc-mode? |
Date: |
Fri, 24 May 2013 15:01:10 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hello, Jun.
On Fri, May 24, 2013 at 06:14:23PM +0000, Jun wrote:
> emacs -Q
> C-x C-f /tmp/tmp.c (should be in c-mode)
> Copy the following c code and paste it to the new buffer, then emacs
> freezes.
> -------------xxxx-----------------
> LONG Rounding(
> IN PRTMP_ADAPTER pAd,
> IN LONG Integer,
> IN LONG Fraction,
> IN LONG DenominatorOfTssiRatio)
> -------------xxxx---------------
Yes, this is a bug. There is a failure setting case-folding somewhere,
with the result that "LONG" is almost, but not quite, interpreted as the
keyword "long".
Thanks for taking the trouble to report it. I'll get a fix out soon.
--
Alan Mackenzie (Nuremberg, Germany).