guile-cvs
[Top][All Lists]
Advanced

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

guile/guile-core/doc intro.texi


From: Thien-Thi Nguyen
Subject: guile/guile-core/doc intro.texi
Date: Sat, 05 May 2001 18:49:56 -0700

CVSROOT:        /cvs
Module name:    guile
Changes by:     Thien-Thi Nguyen <address@hidden>       01/05/05 18:49:56

Modified files:
        guile-core/doc : intro.texi 

Log message:
        (Using Guile Modules): Review; remove reviewme comment.
        Expand `GUILE_LOAD_PATH' blurb; add small example.
        (Reporting Bugs): Review; remove reviewme comment.
        Reword some phrases; add texi markup.
        Add suggestion to include `guile-config info' output.
        Update gdb invocation; add fixme question.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-core/doc/intro.texi.diff?cvsroot=OldCVS&tr1=1.6&tr2=1.7&r1=text&r2=text

Patches:
Index: guile/guile-core/doc/intro.texi
diff -u guile/guile-core/doc/intro.texi:1.6 guile/guile-core/doc/intro.texi:1.7
--- guile/guile-core/doc/intro.texi:1.6 Fri Apr 20 00:31:25 2001
+++ guile/guile-core/doc/intro.texi     Sat May  5 18:49:56 2001
@@ -1,4 +1,4 @@
address@hidden $Id: intro.texi,v 1.6 2001/04/20 07:31:25 mgrabmue Exp $
address@hidden $Id: intro.texi,v 1.7 2001/05/06 01:49:56 ttn Exp $
 
 @page
 @node What is Guile?
@@ -59,11 +59,11 @@
 used.
 
 @menu
-* Running Guile Interactively::  
-* Guile Scripts::               
-* Linking Programs With Guile::  
-* Writing Extensions for Guile::  
-* Guile Modules::               
+* Running Guile Interactively::
+* Guile Scripts::
+* Linking Programs With Guile::
+* Writing Extensions for Guile::
+* Guile Modules::
 @end menu
 
 
@@ -186,7 +186,7 @@
 ("./foo")
 $ ./foo bar baz
 ("./foo" "bar" "baz")
-$ 
+$
 @end example
 
 As another example, here is a simple replacement for the POSIX
@@ -580,7 +580,7 @@
 #("jimb" "83Z7d75W2tyJQ" 4008 10 "Jim Blandy" "/u/jimb"
   "/usr/local/bin/bash")
 guile> (exit)
-$ 
+$
 @end example
 
 @node Writing Extensions for Guile
@@ -622,7 +622,7 @@
 by Guile.
 
 @menu
-* A Sample Guile Extension::    
+* A Sample Guile Extension::
 @end menu
 
 @node A Sample Guile Extension
@@ -700,27 +700,29 @@
 provide reasonable backwards compatability.)
 
 @menu
-* Using Guile Modules::         
-* Writing New Modules::         
-* Modules and Extensions::      
+* Using Guile Modules::
+* Writing New Modules::
+* Modules and Extensions::
 @end menu
 
 @node Using Guile Modules
 @subsection Using Existing Modules
 
address@hidden FIXME::martin: Review me!
-
address@hidden FIXME::martin: More?  Or leave the rest to the module chapter?
-
 Guile comes with a lot of useful modules, for example for string
 processing or command line parsing.  Additionally, there exist many
 Guile modules written by other Guile hackers, but which have to be
 installed manually.
 
 Existing modules have to be placed in places where Guile looks for them
-by default or in directories in the environment variable
address@hidden
+by default or in colon-separated directories in the environment variable
address@hidden  When this variable is set, those directories
+are searched first, then the the default.  The following command
+shows the complete list of directories searched:
 
address@hidden
+guile -c '(for-each write-line %load-path)'
address@hidden smallexample
+
 Suppose you want to use the procedures and variables exported by the
 module @code{(ice-9 popen)}, which provides the means for communicating
 with other processes over pipes.  Add the following line to your
@@ -831,18 +833,13 @@
 @node Reporting Bugs
 @chapter Reporting Bugs
 
address@hidden FIXME::martin: Review me!
-
address@hidden FIXME::martin: A lot of this was taken from the Emacs reference 
address@hidden   manual and adapted.  I guess that is okay?
-
 Any problems with the installation should be reported to
 @email{bug-guile@@gnu.org}.
 
 Whenever you have found a bug in Guile you are encouraged to report it
-to the Guile developers, so they can fix it.  They may probably have
-also advice what to do to work around a bug when it is not possible for
-you to apply the bugfix or install a new version of Guile yourself.
+to the Guile developers, so they can fix it.  They may also be able to
+suggest workarounds when it is not possible for you to apply the bugfix
+or install a new version of Guile yourself.
 
 Before sending in bug reports, please check with the following list that
 you really have found a bug.
@@ -865,7 +862,6 @@
 When Guile signals an error for valid Scheme programs, it is a bug.
 
 @item
address@hidden FIXME::martin: Too strict?
 When Guile does not signal an error for invalid Scheme programs, it may
 be a bug, unless this is explicitly documented.
 
@@ -877,7 +873,7 @@
 When you write a bug report, please make sure to include as much of the
 information described below in the report.  If you can't figure out some
 of the items, it is not a problem, but the more information we get, the
-better are chances we can diagnose and fix the bug.
+more likely we can diagnose and fix the bug.
 
 @itemize @bullet
 @item
@@ -907,7 +903,8 @@
 
 @item
 The operands given to the @file{configure} command when Guile was
-installed.
+installed.  It's often useful to augment this with the output of the
+command @code{guile-config info}.
 
 @item
 A complete list of any modifications you have made to the Guile source.
@@ -953,12 +950,13 @@
 
 @item
 Check whether any programs you have loaded into Guile, including your
-`.guile' file, set any variables that may affect the functioning of
address@hidden file, set any variables that may affect the functioning of
 Guile.  Also, see whether the problem happens in a freshly started Guile
-without loading your `.guile file (start Guile with the `-q' switch to
-prevent loading the init file).  If the problem does _not_ occur then,
-you must report the precise contents of any programs that you must load
-into Guile in order to cause the problem to occur.
+without loading your @file{.guile} file (start Guile with the @code{-q}
+switch to prevent loading the init file).  If the problem does
address@hidden occur then, you must report the precise contents of any
+programs that you must load into Guile in order to cause the problem to
+occur.
 
 @item
 If the problem does depend on an init file or other Lisp programs that
@@ -983,8 +981,9 @@
 very long, and using GDB is easy.  You can find the GDB distribution,
 including the GDB manual in online form, in most of the same places you
 can find the Guile distribution.  To run Guile under GDB, you should
-switch to the `libguile' subdirectory in which Guile was compiled, then
-do `gdb guile'.
+switch to the @file{libguile} subdirectory in which Guile was compiled, then
+do @code{gdb .libs/guile}.
address@hidden fixme: libguile/.libs is for libtool-enabled systems -- what 
about rest?
 
 However, you need to think when you collect the additional information
 if you want it to show what causes the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]