all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: Andreas Enge <andreas@enge.fr>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add quvi.
Date: Fri, 06 Mar 2015 18:32:54 -0500	[thread overview]
Message-ID: <87385hln15.fsf@netris.org> (raw)
In-Reply-To: <20150306230539.GA30428@debian> (Andreas Enge's message of "Sat, 7 Mar 2015 00:05:39 +0100")

Andreas Enge <andreas@enge.fr> writes:

> On Fri, Mar 06, 2015 at 05:47:26PM -0500, Mark H Weaver wrote:
>> I'm familiar with these packages, and I tend to agree that they are so
>> closely tied that it's reasonable to commit them together.
>
> That is not common practice so far, no? I do not see what would be
> the problem when committing them separately.

I don't feel strongly either way.

>> > Your indentation (here and further down) is not quite consistens, sometimes
>> > it it one, sometimes two spaces.
>> He's using the auto-indenter of Emacs Scheme Mode, which faithfully
>> follows the rules in our .dir-locals.el file.
>
> Curious. Why does it use sometimes one, sometimes two spaces? Can this be
> explained so that non-emacs users follow the same style?

I think we're trying to be tolerant of some inconsistency in
indentation, but the usual rule is that continuation lines within a
parenthesized list are lined up with the first argument (second list
item) on the first line, or if the first line only contains one list
item, then they are all lined up.  However, if there's an entry in
.dir-locals.el, then it is considered a special form and is indented two
spaces.

>> >> +          (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
>> > These are two flags and should be two entries in the list.
>> What Taylan wrote above looks right to me.  The -L[...] and -llua are
>> two flags, but the variable setting "liblua_LIBS=-L[...]/libs -llua"
>> needs to be one argument to configure.
>
> I do not get this. Why should two flags be one argument? Do you mean that
> on the command line, one would write:
>   ./configure "liblua_LIBS=-L/gnu/store/.../libs -llua"

Yes.

> and that the call of system* adds these quotation marks implicitly?

It doesn't add quotation marks implicitly, but it does the same thing
that the shell would do if quotation marks were added, namely that the
entire quoted item is passed as a single argument to ./configure.

If they were instead passed as two arguments, as would be done with the
command

  ./configure liblua_LIBS=-L/gnu/store/.../libs -llua

Then the 'liblua_LIBS' variable would be "-L/gnu/store/.../libs" and
"-llua" would be passed as a separate argument to configure, which
certainly wouldn't do what we want and might raise an error.

      Mark

  reply	other threads:[~2015-03-06 23:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-04 22:00 [PATCH] gnu: Add quvi Taylan Ulrich Bayırlı/Kammer
2015-03-06 21:54 ` Andreas Enge
2015-03-06 22:47   ` Mark H Weaver
2015-03-06 23:05     ` Andreas Enge
2015-03-06 23:32       ` Mark H Weaver [this message]
2015-03-06 23:48         ` Andreas Enge

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87385hln15.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=andreas@enge.fr \
    --cc=guix-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.