On 05/01/2014 10:26 PM, Daniel Colascione wrote: > cc-mode has trouble with parsing dialects of C that use the preprocessor > heavily. Consider this example from the Linux kernel: > > static int perf_event_period(struct perf_event *event, u64 __user *arg) > > __user is defined to some GCC static analysis nonsense, but since > cc-mode doesn't know that, we see __user fontified in > font-lock-variable-name-face and *arg untouched. This example is fairly > benign (if ugly), but there are other cases where variations in > pre-processor C dialect confuse cc-mode in larger regions, leading to > odd fontification and indentation. > > The patch below adds customizable options for additional C-family > language "keywords". Ping. CC Alan.