Commit Graph

6 Commits

Author SHA1 Message Date
uwe ac97beab45 Add c-backslash-max-column - its default value of 72 is less than what
we set for c-backslash-column, so macros with lines longer than 72
would be formatted icorrectly.

Fix brace-list-entry - it doesn't need extra indentation.  Pointed out
by roy@.  While here use '+ instead of 8 to express "full indentation
step".

XXX: Do we really want brace-list-open indented one step?  It might
work for one-liners, but we have lots of longer init lists that are
formatted with brace-list-open of 0.
2009-02-16 21:37:12 +00:00
christos e179d264f0 Add code to support whitespace checking/cleanup. This disabled by
default.  To enable it, set netbsd-knf-whitespace-check to 't'. See
the help message for this variable for related knobs and issues. This
was tested on emacs 21.4 and 22.1. (From Anon Ymous)
2007-09-24 15:38:11 +00:00
christos 7547d04a0a - revert previous patch; anon ymous does not like it!
- add NetBSD id.
2007-09-22 16:17:52 +00:00
christos cd990eacdf - deal with saving empty buffers
- document the knobs in whitespace.el so that people who want to preserve
  the <space><tab> in config files can.
2007-09-22 15:29:04 +00:00
christos 0d73c1262a Add whitespace-cleanup when saving to "NetBSD KNF" style. From Anon Ymous 2007-09-19 23:30:08 +00:00
wiz 78c9a76781 Add NetBSD.el containing some settings for emacs' c-mode to better
match NetBSD's KNF (kernel normal form).
2006-08-08 18:41:11 +00:00