[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: indentation style
From: |
Kan-Ru Chen |
Subject: |
Re: indentation style |
Date: |
Mon, 04 Jul 2011 22:35:34 +0800 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
Andrea Crotti <address@hidden> writes:
> Andrea Crotti <address@hidden> writes:
>
>> In .dir-locals there are settings for the style in C-mode, and the
>> variable c-indentation-style gets actually set correctly.
>>
>> BUT if I try to do an reindent everything gets messed up (for example on
>> emacs.c or dired.c) so the style set there is wrong or some files are
>> not written in this style, or maybe the style has changed...
>>
>> Any idea of the reason?
>> Thanks,
>> Andrea
>
> I tried a bit more and still don't get it.
> If I do M-x c-set-style gnu RET
> everything works fine, but the variable is set to the same thing as if I
> don't do anything.
>
> So I think this hook is not working correctly on this machine...
> (c-mode . ((c-file-style . "GNU")))
>
> Any other explanation?
Probably the same issue that I had encountered:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7570
--
Kanru
- Re: indentation style,
Kan-Ru Chen <=