By the way, there is a common format for basic formatting:
https://editorconfig.org/
That may help people without emacs at hand to have correct formatting
before git hooks kick in.

On Thu, Mar 14, 2019 at 3:15 PM Hartmut Goebel
<[email protected]> wrote:
>
> Hi
> > I'd say no tabs at all (in C code or texinfo), no trailing whitespace
> > (also not in C, Makefile.am, ChangeLog, texinfo, etc.).
>
> This is my proposed .dir-locals.el, setting some more variables being
> handy (like spell-checker directory):
>
> ((nil
>   . ((fill-column . 78)
>      (tab-width   .  4)
>      (indent-tabs-mode . nil)
>      (show-trailing-whitespace . t)
>      (c-basic-offset . 2)
>      (ispell-check-comments . exclusive)
>      (ispell-local-dictionary . "american")
>      (safe-local-variable-values
>       '((c-default-style . "gnu")
>         (sentence-end-double-space . f)
>         (eval add-hook 'prog-mode-hook #'flyspell-prog-mode)
>         (flyspell-issue-message-flag . f) ; avoid messages for every word
>         )))))
>
> --
> Regards
> Hartmut Goebel
>
> | Hartmut Goebel          | [email protected]               |
> | www.crazy-compilers.com | compilers which you thought are impossible |
>
>
> _______________________________________________
> GNUnet-developers mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/gnunet-developers

_______________________________________________
GNUnet-developers mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnunet-developers

Reply via email to