From: Andy Wingo <wingo@pobox.com>
To: Mark Harig <idirectscm@aim.com>
Cc: guile-devel@gnu.org
Subject: Re: Patch: New section "Invoking Guile" for chapter "Programming in Scheme"
Date: Mon, 25 Apr 2011 10:01:39 +0200 [thread overview]
Message-ID: <m3vcy2ahek.fsf@unquote.localdomain> (raw)
In-Reply-To: <8CDD0E1EF6EF23A-1820-110A6@webmail-m029.sysops.aol.com> (Mark Harig's message of "Sun, 24 Apr 2011 17:58:53 -0400")
Hi Mark,
On Sun 24 Apr 2011 23:58, Mark Harig <idirectscm@aim.com> writes:
> On Sun, Apr 24, 2011 at 11:00:16PM +0200, Andy Wingo wrote:
>>
>> Right, at the end of applying all of your patches, I'm sure that's the
>> case; however the first patch adds an @include without adding the
>> appropriate file, so applying just the first patch without the following
>> two would yield a project that doesn't compile. I just meant that you
>> need to squish the first two or three of them together. I can do that
>> when I apply them, though.
>>
>
> What do guile developers normally do when generating the
> patches? ('git format-patch origin' is generating three
> separate files. Do you concatenate the patch files that
> 'git' emits?) Please let me know if there is a documented
> recipe that guile-devel uses that I can follow for future
> changes.
We use git-format-patch, yes. The separate files that it generates
correspond to the separate git commits that you made. In order to
generate an atomic commit, you will need to squash your patches
together. To do this, do an interactive rebase in git.
Interactive rebase is described here:
http://book.git-scm.com/4_interactive_rebasing.html
You would "pick" the first patch, then "squash" the next two. That
would yield one atomic commit, which would then be written by
git-format-patch into one atomic patch.
I highly recommend reading more, experimenting, making backups, etc;
rebase is wonderful once you get the hang of it, but it is a sharp
tool. Good luck!
>> > +For compatibility with some versions of Guile 1.4, you can also use the
>> > +form @code{(symbol ...)} (that is, a list of only symbols that doesn't
>> > +start with @code{@@}), which is equivalent to @code{(@@ (symbol ...)
>> > +main)}, or @code{(symbol ...) symbol} (that is, a list of only symbols
>> > +followed by a symbol), which is equivalent to @code{(@@ (symbol ...)
>> > +symbol)}. We recommend to use the equivalent forms directly since they
>> > +correspond to the @code{(@@ ...)} read syntax that can be used in
>> > +normal code. See @ref{Using Guile Modules} and @ref{Scripting
>> > +Examples}.
>>
>> Again, probably worth eliding the deprecated 1.4 stuff...
>>
>
> It's not clear to me what you mean here. Please provide the
> text that you would like. (I did not review the
> "command-line options" section for content because my
> original proposal was to keep that section and add a missing
> "environment variables" section.)
I recommend removing this paragraph, or removing mentions of Guile 1.4.
But as you note, that could be a separate atomic commit, and you don't
have to take care of that now.
>> > +@item --auto-compile
>> > +Compile source files automatically (default behavior).
>> > +
>> > +@vnew{2.0}
>> > +
>> > +@item --no-auto-compile
>> > +Disable automatic source file compilation.
>> > +
>> > +@vnew{2.0}
>>
>> Need --fresh-auto-compile here too
>>
>> > +@item GUILE_AUTO_COMPILE
>> > +@vindex GUILE_AUTO_COMPILE
>>
>> Need to note GUILE_AUTO_COMPILE=fresh, and @ref to Compilation
>>
>
> I do not know what that option does (other than a guess).
> There has been no update to the Guile manual page or the
> reference manual mentioning it.
Are you working off of the "stable-2.0" branch? There are updates there
for --fresh-auto-compile and GUILE_AUTO_COMPILE=fresh.
To rebase your work onto that branch, you would do a "git rebase
origin/stable-2.0".
Regards,
Andy
--
http://wingolog.org/
next prev parent reply other threads:[~2011-04-25 8:01 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-23 19:46 Patch: New section "Invoking Guile" for chapter "Programming in Scheme" Mark Harig
2011-04-24 14:33 ` Andy Wingo
2011-04-24 20:36 ` Mark Harig
2011-04-24 21:00 ` Andy Wingo
2011-04-24 21:58 ` Mark Harig
2011-04-25 8:01 ` Andy Wingo [this message]
2011-04-24 22:09 ` David Pirotte
2011-04-24 22:43 ` Indexing Scheme and C identifiers separately Mark Harig
2011-04-25 1:18 ` Noah Lavine
2011-04-25 16:16 ` David Pirotte
2011-05-20 22:53 ` Neil Jerram
2011-04-25 19:49 ` Patch: New section "Invoking Guile" for chapter "Programming in Scheme" Mark Harig
2011-04-26 18:07 ` Neil Jerram
2011-04-26 21:01 ` Ludovic Courtès
2011-04-27 9:40 ` Andy Wingo
2011-04-27 10:23 ` Ludovic Courtès
2011-04-27 19:29 ` Neil Jerram
2011-04-27 16:54 ` Mark Harig
2011-04-27 19:40 ` Neil Jerram
2011-06-30 11:23 ` Andy Wingo
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=m3vcy2ahek.fsf@unquote.localdomain \
--to=wingo@pobox.com \
--cc=guile-devel@gnu.org \
--cc=idirectscm@aim.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).