[Dune] [#2] Common code-formatting

Dune flyspray at dune-project.org
Mon Sep 5 23:38:58 CEST 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#2 - Common code-formatting
User who did this - Elias Pipping (pipping)

----------
Setting indent-tabs-mode to nil globally doesn't play nice with make.

show-trailing-whitespace could be controlled through .dir-locals.el as well -- at first it would be set to nil (there is currently a lot of trailing whitespace so that highlighting it would be nothing but annoying) and then to t once that's been cleaned up to keep it that way.

The result would be

((c++-mode . ((c-basic-offset . 2)
              (c-file-style . "gnu")
              (indent-tabs-mode . nil)
              (show-trailing-whitespace . nil))))

Something similar appears to be possible with vim: http://vim.wikia.com/wiki/Highlight_unwanted_spaces
----------

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=2#comment2660

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list