Re: meson ground rules!

2016-11-23 Thread Patrick Griffis via desktop-devel-list
On Wed, 2016-11-23 at 14:35 +0530, Nirbheek Chauhan wrote: > From what I can understand, this is done specifically because distros > such as Ubuntu and F23 do not ship a new-enough version of Meson > quickly? Please correct me if I'm wrong. In particular, Ubuntu, yes. Fedora ships meson updates

Re: Script to format the functions in a C header?

2016-11-23 Thread Christian Hergert
On 11/23/2016 05:03 AM, Sébastien Wilmet wrote: Also, in the GNOME convention there is something that I don't like and that I would prefer not to do: aligning all the parameter names on the same column (the third column). I prefer aligning the parameter names for each function separately, IMHO

Re: Script to format the functions in a C header?

2016-11-23 Thread Christian Hergert
On 11/23/2016 05:38 AM, Leslie S Satenstein via desktop-devel-list wrote: Can someone tell me what is wrong with using the *indent* program? indent does not fully support our style, nor does it align groups of functions to add space so functions are aligned as a group.

Re: meson ground rules!

2016-11-23 Thread Michael Catanzaro
On Wed, 2016-11-23 at 14:35 +0530, Nirbheek Chauhan wrote: > From what I can understand, this is done specifically because distros > such as Ubuntu and F23 do not ship a new-enough version of Meson > quickly? Please correct me if I'm wrong. In particular, Ubuntu, yes. Fedora ships meson updates

Re: Script to format the functions in a C header?

2016-11-23 Thread Leslie S Satenstein via desktop-devel-list
Can someone tell me what is wrong with using the indent program?man indent for detailsSummary The indent program can be used to make code easier to read.  It can also convert from one style of writing C to another.    indent understands a substantial amount about the syntax of C, but it

Re: Script to format the functions in a C header?

2016-11-23 Thread Sébastien Wilmet
On Tue, Nov 22, 2016 at 07:03:02PM +0100, Daiki Ueno wrote: > For what it's worth, I wrote such elisp some time ago: > http://elpa.gnu.org/packages/gnome-c-style.html Cool, added to: https://wiki.gnome.org/Newcomers/Tools-C-language > If anyone is trying to implement the feature somewhere, I