From 68c795772d6234e2c370348bf469ac47c450cef7 Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 4 Apr 2021 02:41:05 +0100 Subject: user manual and web pages updates --- doc/geiser.texi | 6 +-- doc/install.texi | 127 ++++++++++++++++++++++--------------------------------- doc/macros.texi | 41 ++---------------- doc/parens.texi | 2 +- doc/thanks.texi | 8 +--- doc/web.texi | 5 +-- 6 files changed, 60 insertions(+), 129 deletions(-) (limited to 'doc') diff --git a/doc/geiser.texi b/doc/geiser.texi index afd8882..74525be 100644 --- a/doc/geiser.texi +++ b/doc/geiser.texi @@ -9,7 +9,7 @@ @copying This manual documents Geiser, an Emacs environment to hack in Scheme. -Copyright @copyright{} 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2018, 2020 Jose Antonio Ortega Ruiz +Copyright @copyright{} 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2018, 2020, 2021 Jose Antonio Ortega Ruiz @quotation Permission is granted to copy, distribute and/or modify this document @@ -68,10 +68,8 @@ Introduction Installation * Must needs:: -* The easy and quick way:: +* The quick and easy way:: * From the source's mouth:: -* Chicken installation:: -* Gambit installation:: * Friends:: The REPL diff --git a/doc/install.texi b/doc/install.texi index 4d38578..8e4249e 100644 --- a/doc/install.texi +++ b/doc/install.texi @@ -3,12 +3,12 @@ @menu * Must needs:: -* The easy and quick way:: +* The quick and easy way:: * From the source's mouth:: * Friends:: @end menu -@node Must needs, The easy and quick way, Installation, Installation +@node Must needs, The quick and easy way, Installation, Installation @section Must needs @cindex supported versions @@ -18,37 +18,36 @@ GNU Emacs @value{EMACS_VERSION} (or better: i regularly use it with a recent Emacs snapshot) and at least one of the supported Schemes, namely: -@itemize @bullet -@item -@uref{http://www.gnu.org/software/guile, Guile} @value{GUILE_VERSION} or -better -@item -@uref{http://call-cc.org, Chicken} @value{CHICKEN_VERSION} or better -@item -@uref{https://www.gnu.org/software/mit-scheme/, MIT/GNU Scheme} -@value{MIT_VERSION} or better -@item -@uref{http://synthcode.com/scheme/chibi/, Chibi Scheme} -@value{CHIBI_VERSION} or better -@item -@uref{http://www.scheme.com, Chez Scheme} @value{CHEZ_VERSION} or better -@item -@uref{http://gambitscheme.org/wiki/index.php/Main_Page, Gambit} -@value{GAMBIT_VERSION} or better +@set GITLAB https://gitlab.com/emacs-geiser/ + +@macro supimpl{NAME,URL,VERS,NM} @item -@uref{http://www.racket-lang.org, Racket} @value{RACKET_VERSION} or better +@uref{\VERS\, \NAME\} \VERS\ or better, via @uref{@value{GITLAB}\NM\, geiser-\NM\} +@end macro + + +@itemize @bullet +@supimpl{Chez, http://www.scheme.com, 9.4,chez} +@supimpl{Chibi, http://synthcode.com/scheme/chibi, 0.7.3,chez} +@supimpl{Chicken, http://call-cc.org, 4.8.0, chicken} +@supimpl{Gambit, http://gambitscheme.org/wiki/index.php/Main_Page, 4.9.3, gambit} +@supimpl{Gauche, http://practical-scheme.net/gauche/, 0.9.6, gauche} +@supimpl{Guile, http://www.gnu.org/software/guile, 2.2, guile} +@supimpl{GNU Kawa, http://www.gnu.org/software/kawa/index.html, 3.1, kawa} +@supimpl{MIT/GNU Scheme, https://www.gnu.org/software/mit-scheme, 9.0, mit} +@supimpl{Racket, http://www.racket-lang.org, 7.0, racket} +@supimpl{Stklos, https://stklos.net/, 1.50, stklos} @end itemize Since Geiser supports multiple REPLs, having all of them will just add to the fun. -You'll also need Geiser itself. The quickest installation is via its -ELPA package, as described in the next section. If you prefer to use -the source code directly, it's not that difficult either: just keep on -reading. +You'll also need Geiser itself. The quickest installation is via your +favourite implementation's ELPA packages (as of this writing, they're +all available in MELPA). -@node The easy and quick way, Chicken installation, Must needs, Installation -@section The easy and quick way +@node The quick and easy way, From the source's mouth, Must needs, Installation +@section The quick and easy way @cindex quick install @cindex ELPA @@ -78,16 +77,20 @@ repo). To tell Emacs that an ELPA repo exists, you add it to (package-initialize) @end example -And then installing Geiser is as easy as: +And then installing your favourite Geiser is as easy as (if, say, you're +a MIT aficionado): @example -M-x package-install RET geiser RET +M-x package-install RET geiser-mit RET @end example -Unless you are using Gambit or Chicken, with that, you are pretty much -all set up. See @ref{The REPL} to start using Geiser. If you plan to -use Chicken or Gambit, just keep reading below for a few additional -instructions to set up your environment. +Rinse and repeat for each of the scheme implementations that you would +like to use. Some of them (e.g. Gambit or Chicken) have a bit of +additional setup, specific to them, so make sure you also check their +respective package documentation. + +With that, you are pretty much all set up. See @ref{The REPL} to start +using Geiser. @ifnotinfo And, by the way, if you prefer to keep reading this manual within Emacs, @@ -95,59 +98,28 @@ And, by the way, if you prefer to keep reading this manual within Emacs, you just installed! @end ifnotinfo -@node From the source's mouth, Friends, Gambit installation, Installation +@node From the source's mouth, Friends, The quick and easy way, Installation @section Installing from source -@subsubheading Downloading Geiser - -@cindex use the source, Luke -The latest release tarballs can be found @releasesref{here}. - -If you feel like living on the bleeding edge, just grab Geiser from its -Git repository @uref{http://git.savannah.nongnu.org/cgit/geiser.git/, over -at Savannah}, either with the following incantation: - -@example -git clone git://git.sv.gnu.org/geiser.git -@end example - -@noindent or, if you happen to live behind a firewall, with the alternative: +All Geiser packages are ready to be used out of the box without much +more ado. For the sake of concreteness, let's assume you put its source +in the directory @file{~/lisp/geiser}. All you need to do is to add the +following line to your Emacs initialisation file (be it @file{~/.emacs}, +@file{~/.emacs.d/init.el} or any of its moral equivalents): @example -git clone http://git.sv.gnu.org/r/geiser.git +(add-to-list 'load-path "~/lisp/geiser/elisp") @end example -@noindent -You can also follow Geiser's development in -@uref{https://gitlab.com/jaor/geiser, one} -@uref{http://repo.or.cz/w/geiser.git, or} -@uref{http://gitorious.org/geiser, three} mirrors that are kept -synchronized with the one at Savannah. - -Either way, you'll now be in possession of a copy of Geiser's libre -code. I'll follow you into its directory and the next section. - -@subsubheading Setting it up - -Geiser is ready to be used out of the box without much more ado. For the -sake of concreteness, let's assume you put its source in the directory -@file{~/lisp/geiser}. All you need to do is to add the following -line to your Emacs initialisation file (be it @file{~/.emacs}, -@file{~/.emacs.d/init.el} or any of its moral equivalents): +and, if your, say, @code{geiser-gambit} checkout lives in +@file{~/lisp/geiser-mit} add to that: @example -(load-file "~/lisp/geiser/elisp/geiser.el") +(add-to-list 'load-path "~/lisp/geiser-gambit") @end example -@noindent -or simply evaluate that form inside Emacs (you wouldn't kill a friend -just to start using Geiser, would you?). That's it: you're ready to -@ifhtml -@ref{quick-start,,go}. -@end ifhtml -@ifnothtml -go (@pxref{The REPL}). -@end ifnothtml +The autoloads defined in those packages should be enough to start +scheming. @node Friends, , From the source's mouth, Installation @section Friends @@ -159,7 +131,7 @@ by) the following Emacs packages: @cindex autocomplete @cindex paredit @cindex company -@cindex quack +@cindex macrostep @itemize @bullet @item @uref{http://www.emacswiki.org/emacs/ParEdit, Paredit}. @anchor{paredit} @@ -170,6 +142,9 @@ editing mode. Nikolaj Schumacher's and Dmitry Gutov's @code{company-mode} provides a generic front-end for completion engines (such as Geiser's), with pretty and automatic completion lists. +@item @uref{https://github.com/nbfalcon/macrostep-geiser, macrostep-geiser} +provides support for in-buffer macro expansion, using the +@uref{https://github.com/joddie/macrostep, macrostep} package. @item @uref{https://github.com/xiaohanyu/ac-geiser/, ac-geiser} If you prefer @code{auto-complete-mode} to @code{company-mode}, Xiao Hanyu's @code{ac-geiser}, which provides a Geiser plugin for the diff --git a/doc/macros.texi b/doc/macros.texi index 256075a..974bce9 100644 --- a/doc/macros.texi +++ b/doc/macros.texi @@ -1,42 +1,7 @@ -@set VERSION 0.12 +@set VERSION 0.13 @set VERSION_NICK -@set RELEASE_DATE February 2020 -@set GUILE_VERSION 2.2 -@set RACKET_VERSION 6.0 -@set CHICKEN_VERSION 4.8.0 -@set MIT_VERSION 9.1 -@set CHIBI_VERSION 0.7 -@set CHEZ_VERSION 9.4 -@set GAMBIT_VERSION 4.9 -@set EMACS_VERSION 24 -@set RELEASES https://gitlab.com/jaor/geiser/-/releases -@set DOWN_BASE http://download-mirror.savannah.gnu.org/@/releases/@/geiser -@set PACKAGE_REPO @value{DOWN_BASE}/@/packages -@set PACKAGE @value{PACKAGE_REPO}/@/geiser-@value{VERSION}.tar -@set TARBALL geiser-@value{VERSION}.tar.gz - -@macro downfile{FILE, CAPT} -@uref{@value{DOWN_BASE}/@/@value{VERSION}/@/\FILE\, \CAPT\} -@end macro - - -@macro releasesref{CAPT} -@uref{@value{RELEASES}, \CAPT\} -@end macro - -@macro vblurb{} -@html -
-@end html -@uref{@value{RELEASES}, Version @value{VERSION} @value{VERSION_NICK} -(@value{RELEASE_DATE}) for Guile @value{GUILE_VERSION} Chicken -@value{CHICKEN_VERSION} GNU/MIT @value{MIT_VERSION} Chez -@value{CHEZ_VERSION} Chibi @value{CHIBI_VERSION} Gambit -@value{GAMBIT_VERSION} and Racket @value{RACKET_VERSION}} -@html -
-@end html -@end macro +@set RELEASE_DATE April 2021 +@set EMACS_VERSION 24.4 @macro altr{LINK, TXT, TLINK, TRAIL} @ifhtml diff --git a/doc/parens.texi b/doc/parens.texi index 1207761..ee4f0a8 100644 --- a/doc/parens.texi +++ b/doc/parens.texi @@ -35,7 +35,7 @@ process giving you the REPL, make those Scheme buffers come to life. @cindex geiser-mode @img{geiser-mode, right} With Geiser installed following any of the -procedures described in @ref{The easy and quick way} or @ref{From the +procedures described in @ref{The quick and easy way} or @ref{From the source's mouth}, Emacs will automatically activate @i{geiser-mode} when opening a Scheme buffer. Geiser also instructs Emacs to consider files with the extension @file{rkt} part of the family, so that, in principle, diff --git a/doc/thanks.texi b/doc/thanks.texi index d262a41..9a1da64 100644 --- a/doc/thanks.texi +++ b/doc/thanks.texi @@ -70,15 +70,9 @@ gmane.lisp.scheme.geiser}. @item @cindex bug tracker You can submit bug reports either to the mailing list or to -@uref{https://gitlab.com/@/jaor/geiser/issues, our bug tracker} over at +@uref{https://gitlab.com/groups/emacs-geiser/-/issues, our bug tracker} over at Gitlab. @item -@cindex news feed -If you only need to hear about Geiser on new releases, -@uref{http://savannah.nongnu.org/@/news/?group=geiser, the News page} and -its @uref{https://savannah.nongnu.org/@/news/atom.php?group=geiser, Atom -feed} are probably what you're looking for. -@item @cindex IRC channel The Freenode IRC channel @i{#geiser} is the Geiserati's meeting point in cyberspace. diff --git a/doc/web.texi b/doc/web.texi index 5ec902e..6761db5 100644 --- a/doc/web.texi +++ b/doc/web.texi @@ -7,7 +7,6 @@ @node Top, Introduction, (dir), (dir) @include top.texi -@vblurb{} @menu * Introduction:: @@ -22,8 +21,8 @@ @html
@end html -- cgit v1.2.3