[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work
From: |
ng0 |
Subject: |
Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work as expected |
Date: |
Thu, 14 Mar 2019 08:49:26 +0000 |
Hartmut Goebel transcribed 1.8K bytes:
> Am 13.03.19 um 19:16 schrieb Schanzenbach, Martin:
> > In the end, please also check https://docs.gnunet.org/#Coding-style and
> > adjust your editor to it.
> > Currently, the file has mixed spaces and tabs which is quite unreadable
> > (for me).
>
> Thanks for pointing this out, I simply missed this. Coming form
> Python-land, there is basically a single coding style :-)
>
> Can somebody provide me with a emacs ".dir-locals.el" file, please?
> Generally, for emacs users adding a ".dir-locals.el" in to top level
> directories of each project could configure the emacs to our coding style.
Our idea seems to be to have as little
files as possible in the top folder. I used to have files for
flake8 and others in there until someone moved them to contrib.
I think something like this would be enough:
((nil . ((indent-tabs-mode . f)
(tab-width . 2)))
(c-mode . ((c-file-style . "gnu"))))
But I might be missing a style or gnu already
setting tab-width, etc..
>
> Am 13.03.19 um 22:29 schrieb Schanzenbach, Martin:
>
> > Either that or have a lint job in the pipeline in the CI.
>
> This but mess up the blame, too.
>
>
> Am 13.03.19 um 21:27 schrieb ng0:
> > Okay. Works for C, but not in intendation enforcing languages (Python),
> > where I've done it like this.
>
> Python already provides a moduel for this: tabnanny [1]
>
> python -m tabnanny file_or_directory ...
>
> [1] https://docs.python.org/3/library/tabnanny.html
>
>
>
> --
> Regards
> Hartmut Goebel
>
> | Hartmut Goebel | address@hidden |
> | www.crazy-compilers.com | compilers which you thought are impossible |
>
>
>
> _______________________________________________
> GNUnet-developers mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnunet-developers
- Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work as expected, (continued)
- Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work as expected, Christian Grothoff, 2019/03/13
- Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work as expected, ng0, 2019/03/13
- Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work as expected, Christian Grothoff, 2019/03/14
- Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work as expected, Hartmut Goebel, 2019/03/14
- Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work as expected, IC Rainbow, 2019/03/14
- Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work as expected, Christian Grothoff, 2019/03/15
- [GNUnet-developers] .dir-local.el for all/most repos, Hartmut Goebel, 2019/03/15
- Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work as expected, ng0, 2019/03/14
- Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work as expected, Schanzenbach, Martin, 2019/03/13
- Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work as expected, Hartmut Goebel, 2019/03/14
- Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work as expected,
ng0 <=
- Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work as expected, Schanzenbach, Martin, 2019/03/14
- Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work as expected, ng0, 2019/03/14
- Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work as expected, Christian Grothoff, 2019/03/15
- Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work as expected, Schanzenbach, Martin, 2019/03/15
- Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work as expected, Christian Grothoff, 2019/03/15
- Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work as expected, Schanzenbach, Martin, 2019/03/16
- Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work as expected, Christian Grothoff, 2019/03/16
- Re: [GNUnet-developers] GNUNET_PROGRAM* option evaluation does not work as expected, Christian Grothoff, 2019/03/15
Re: [GNUnet-developers] Please review: C implementation of gnunet-qr, ng0, 2019/03/04