Re: Tool to rename a GObject written in C?

I vaguely remember Owen saying he had some emacs lisp that correctly
reindents the fields. I just do it manually, though.

On Thu, Sep 10, 2015 at 10:41 AM, Germán Poo-Caamaño <gpoo gnome org> wrote:
On Thu, 2015-09-10 at 19:22 +0200, Sébastien Wilmet wrote:

Renaming a GObject written in C can be done with some sed substitutions,
but after that the indentation is broken.

Do you know a tool to rename a GObject while still keeping a good
indentation and coding style?


In any case, it should be scriptable, to re-indent a list of files in
one command, for example after changing the namespace of a group of

For function definitions, I've already written a script:

It seems you are re-inventing the good old indent(1) utility.

Germán Poo-Caamaño

desktop-devel-list mailing list
desktop-devel-list gnome org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]