emacs-devel
[Top][All Lists]
Advanced

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

Re: The indentation of `enum' in the default `gnu' CC Mode style is wron


From: Paul Eggert
Subject: Re: The indentation of `enum' in the default `gnu' CC Mode style is wrong.
Date: Mon, 03 Mar 2014 14:30:32 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

This bug has bothered me on occasion, and I'd like it if it were fixed. The unnecessary indentation sometimes causes extra lines, e.g.,

 enum
   {
      SYSTEM_BITS = (FOO_BIT | BAR_BIT
                     | BAZ_BIT),
      USER_BITS = ~ SYSTEM_BITS
   };

where the SYSTEM_BITS definition would fit on one line were it not for the unnecessary indentation.



reply via email to

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