[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] libraries: Abstract packages and categories.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] libraries: Abstract packages and categories. |
Date: |
Thu, 19 Nov 2015 21:37:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Mathieu Lirzin <address@hidden> skribis:
> Since the “libraries” page in the website will probably change regularly
> it is useful to have some abstractions to facilitate the maintenance.
Indeed.
> A second step would be to provide a way to sync the software entries
> with Guix package definitions.
Could help, indeed.
> From 7ad1e1bd620d48099013b276be2e89ea48a3ec1c Mon Sep 17 00:00:00 2001
> From: Mathieu Lirzin <address@hidden>
> Date: Sun, 8 Nov 2015 00:06:53 +0100
> Subject: [PATCH] libraries: Abstract packages and categories.
>
> This provides a distinction between the data and the SHTML
> representation.
>
> * website/apps/base/libraries-page.scm (texi->shtml, package)
> (package->shtml, category, category->shtml, %packages-core)
> (%packages-gui, %packages-file-formats, %packages-tools)
> (%packages-apps): New procedures.
> (<package>, <category>): New record types.
> (guile-lib, guile-lint, guile-reader, guile-syntaxe-parse)
> (guile-clutter, guile-gnome, guile-gtk, guile-ncurses, guile-sdl)
> (libruin, artanis, gnutls, guile-avahi, guile-rpc, scss, autogen, guix)
> (libchop, beast, geda, lilypond, skribilo, snd, texmacs, xchat-guile)
> (%categories): New variables.
[…]
> +;;; XXX: In order to allow a proper alignement of keywords in Emacs we need
> to
> +;;; enable the prefix keyword type ':NAME'.
> +(read-set! keywords 'prefix)
If you want to take that route, you need to make sure the reader change
is effective when the file is read, rather than at run time:
(eval-when (expand load eval)
(read-set! keywords 'prefix))
I would suggest fixing Emacs though, or ignoring the limitation for now.
WDYT?
Other than this minor issue, I find it very nice!
I’ve added you to the Savannah group so you can push changes to the web
site. Please restrict yourself to guile-web.git and post changes here
beforehand (and feel free to ping those lazy maintainers when it takes
too long!).
When you push a change to the web site’s source, can you please update
the CVS web repo at the same time? See
<https://savannah.gnu.org/cvs/?group=guile> for instructions. If in
doubt, don’t hesitate to ask. (Note that several parts of the web site,
such as the manuals, are in CVS but not in guile-web.git.)
Thanks!
Ludo’.
signature.asc
Description: PGP signature