[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: c-indent-command misindents?
From: |
Ralovich, Kristóf |
Subject: |
Fwd: c-indent-command misindents? |
Date: |
Wed, 18 Jun 2008 13:09:39 +0200 |
Hi,
a few weeks ago I have submitted a bug report, now at:
http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=341
Would someone please have a look at it?
Thanks,
Kristof
---------- Forwarded message ----------
From: Ralovich, Kristóf <address@hidden>
Date: Sat, May 31, 2008 at 5:13 PM
Subject: c-indent-command misindents?
To: address@hidden, address@hidden
Hi,
I hope this letter ends up at the right maintainers!
My problem is when running c-indent-command (by pressing TAB or
calling it directly) on the 4th line of the following small snippet
(same as attached file):
1: #ifdef A
2: int foo(int a, int b)
3: #else
4: int bar(int a, int b)
5: #endif
6: {
7: return a+b;
8: }
the line is getting indented falsely:
1: #ifdef A
2: int foo(int a, int b)
3: #else
4: int bar(int a, int b)
5: #endif
6: {
7: return a+b;
8: }
I think, it should not get indented, please correct me if I am wrong!
I am using emacs 22.2 with it's default cc-mode.
Looking forward to hearing from you!
Kristóf
cc-mode-bug.c
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Fwd: c-indent-command misindents?,
Ralovich, Kristóf <=