[PATCH] tracedump: Add tri-state --color option (auto, always, or never)

Zack Rusin zack at kde.org
Tue Oct 25 18:53:35 PDT 2011


On Tuesday, October 25, 2011 08:36:06 PM Carl Worth wrote:
> ; emacs local configuration settings for apitrace source
> 
> ((nil
>   (indent-tabs-mode . nil)
>   (tab-width . 8)
>   (c-basic-offset . 4))
> )

That's almost there. We still do need to change the innamespace to 0 and 
inline-open to 0, otherwise all of the inline funcs and all of our namespace 
headers get wrong indention. 
((nil
   (indent-tabs-mode . nil)
   (tab-width . 8)
   (c-basic-offset . 4))
   (eval . (progn
		(c-set-offset 'innamespace '0)
		(c-set-offset 'inline-open '0)))
 ))
does it but now emacs warns on startup that the file contains unsecure 
variables. That's very inconvenient, I know there's some safe-local-variables 
or such to deal with it, but I haven't had the time to figure out how to deal 
with. If we can figure that out then we'll be good.


More information about the apitrace mailing list