From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: Andy Wingo <wingo@pobox.com>
Cc: guile-devel@gnu.org
Subject: Re: [PATCHES] various commenting, whitespace changes
Date: Fri, 27 Aug 2010 10:29:02 +0200 [thread overview]
Message-ID: <8762yw8nn5.fsf@ambire.localdomain> (raw)
In-Reply-To: m3y6dzxodl.fsf@unquote.localdomain
() Andy Wingo <wingo@pobox.com>
() Mon, 28 Jun 2010 15:44:54 +0200
Sorry for the long delay in response.
What does NFC mean?
See LibreDWG HACKING (and build-aux/create-changelog), for more info:
git://git.sv.gnu.org/libredwg.git
It's useful to distinguish between "important" and "unimportant"
changes, especially if recording changes (ChangeLog maintenance) is
mechanical. A simple tag like this gives you the flexibility to make
unimportant changes without the worry that such will end up as noise in
the published ChangeLog.
In general I'm a little uneasy with this kind of change, as it is
unnecessary.
No worries, lots of aesthetic/readability munging that i do falls into
that category -- you'll get used to it. I think if you cut me some
slack on this matter (and perhaps implement "nfc" (or similar) filtering
as per LibreDWG create-changelog), you may find yourself not only more
accepting of these kinds of changes but also doing them yourself.
But, OK, I guess. Please feel free to make files more closely follow
GNU conventions, when you are working on those files; but do avoid a
general cleanup. I think it would drive me crazy ;) Perhaps Ludovic
will chime in later with more general feedback.
I will avoid general cleanup, but i don't intend to avoid cleanup on
files i wish to hack on (for now, this set includes makefiles, build
scripts and documentation).
I hope this targeted approach will not drive you crazy. Rather, it
would be ideal if you were to say "hey, thanks janitor ttn for handling
that grunge -- keep up the good work!", after observing that these
changes can coincide peacefully with your own hacking sphere (if you let
that sphere become more transparent :-).
> --- a/libguile/guile-func-name-check
> +++ b/libguile/guile-func-name-check
[...]
> BEGIN {
> - filename = ARGV[1];
> - in_a_func = 0;
> + filename = ARGV[1];
> + in_a_func = 0;
> }
There is no need to change the indentation amount here; 2-space should
be fine.
[...]
> +# guile-func-name-check ends here
I would rather not have these markers. It's an extra point of bitrot.
If you really want the end-of-file markers I would want some
confirmation from Ludovic; otherwise, I am OK with you pushing these
patches without the EOF markers and without changing the awk script
indentation.
I sidestepped these issues, by rewriting in Scheme (and using Emacs'
‘indent-sexp’). Unfortunately, it looks like hydra is not liking it:
http://hydra.nixos.org/build/606792
Perhaps a workaround would be to use ‘--no-autocompile’ in the
invocation command (libguile/guile-snarf-docs.in:55), but that seems
ugly and throws away a bug-{hunt,squash}ing opportunity. WDYT?
Another related idea: Since Guile supports many languages, why not AWK?
next prev parent reply other threads:[~2010-08-27 8:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-25 12:16 [PATCHES] various commenting, whitespace changes Thien-Thi Nguyen
2010-06-28 13:44 ` Andy Wingo
2010-07-02 13:14 ` Ludovic Courtès
2010-08-27 8:29 ` Thien-Thi Nguyen [this message]
2010-08-27 15:16 ` Andy Wingo
2010-08-27 20:15 ` Andy Wingo
2010-08-27 21:42 ` Thien-Thi Nguyen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8762yw8nn5.fsf@ambire.localdomain \
--to=ttn@gnuvola.org \
--cc=guile-devel@gnu.org \
--cc=wingo@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).