John E. Davis wrote:
Sorry to be so late replying. This works fine if I remove the C_Class_Offset line and the two lines after it. My jed identifies itself as 0.99.18U. I'm running on Fedora Core 6.David Gressett <jdgressett@xxxxxxxxxxxxxxx> wrote:How do I create my own c-mode indentation style?Put something like this in your .jedrc file:define c_set_style_hook (style){ switch (style) { case "gressett": C_INDENT = 3; C_BRACE = 2; C_BRA_NEWLINE = 1; C_CONTINUED_OFFSET = 2; C_Colon_Offset = 1; C_Class_Offset = 3; C_Namespace_Offset = 3; C_Macro_Indent = 3; } { % default c_set_style ("jed"); } } c_set_style ("gressett"); Good luck, --John
-------------------------- To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with the word "unsubscribe" in the message body. Need help? Email <jed-users-owner@xxxxxxxxxxx>.