na frederic <[EMAIL PROTECTED]> wrote on Tue, 17 May 2005 13:49:20 +0200 (CEST): > is anyone have a sample of code using c-special-indent-hook to > customize indentation of a derived C-mode.
CC Mode itself does. In "gnu" style, the function on c-special-indent-hook (that's c-gnu-impose-minimum) checks that certain lines of code are indented _at least_ one space. c-gnu-impose-minimum is in cc-align.el, and the setting of the hook is in cc-styles.el. Is there anything in particular which is causing problems? -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROTECTED]; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a"). _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs