emacs-devel
[Top][All Lists]
Advanced

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

Re: C++-mode, wrong indentation


From: Alan Mackenzie
Subject: Re: C++-mode, wrong indentation
Date: Thu, 4 Feb 2010 21:24:52 +0000
User-agent: Mutt/1.5.9i

Hi, Keven,

On Wed, Jul 02, 2008 at 12:59:36PM +0800, Kevin Yu wrote:
> Hi,

> ====code====
> if (x < 0 || y < 0 || x >= 9) {
>                        // c++-mode will indent this line with
> 2*c-basic-offset when editing.
>             } // and this line with c-basic-offset
> ====code====

> If you copy the above code into a c++-mode buffer, the indentation is
> right.  But when you reenter the ">=" of first line, the indentation
> goes wrong again.

I've just committed a fix to this into the Emacs bzr repository.  Also
into the CC Mode cvs repository at SourceForge.  Don't tell me you forgot
about this?  ;-)

> Best regards
>    Thanks.

Sincerely,

-- 
Alan Mackenzie (Nuremberg, Germany).




reply via email to

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