indent quirks

Ian Romanick idr at freedesktop.org
Wed Apr 4 15:24:22 PDT 2012


On 03/23/2012 02:44 AM, Jeremy Huddleston wrote:
> Is there a way we can tweak indent to not mess up blocks like this:
>

Blocks like this can be surrounded with /* *INDENT-OFF* */ and /* 
*INDENT-ON* */ to disable (and re-enable) automatic indentation.

>   } known_numeric_keys[] = {
> -    {65, XK_period, XK_KP_Decimal},
> -    {67, XK_asterisk, XK_KP_Multiply},
> -    {69, XK_plus, XK_KP_Add},
> -    {75, XK_slash, XK_KP_Divide},
> -    {76, 0x01000003, XK_KP_Enter},
> -    {78, XK_minus, XK_KP_Subtract},
> -    {81, XK_equal, XK_KP_Equal},
> -    {82, XK_0, XK_KP_0},
> -    {83, XK_1, XK_KP_1},
> -    {84, XK_2, XK_KP_2},
> -    {85, XK_3, XK_KP_3},
> -    {86, XK_4, XK_KP_4},
> -    {87, XK_5, XK_KP_5},
> -    {88, XK_6, XK_KP_6},
> -    {89, XK_7, XK_KP_7},
> -    {91, XK_8, XK_KP_8},
> -    {92, XK_9, XK_KP_9},
> -};
> +    {
> +    65, XK_period, XK_KP_Decimal}, {
> +    67, XK_asterisk, XK_KP_Multiply}, {
> +    69, XK_plus, XK_KP_Add}, {
> +    75, XK_slash, XK_KP_Divide}, {
> +    76, 0x01000003, XK_KP_Enter}, {
> +    78, XK_minus, XK_KP_Subtract}, {
> +    81, XK_equal, XK_KP_Equal}, {
> +    82, XK_0, XK_KP_0}, {
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>



More information about the xorg-devel mailing list