Re: Texinfo in descriptions?

2015-09-07 Thread Alex Kost
Ludovic Courtès (2015-09-07 00:31 +0300) wrote: > Alex Kost skribis: > >> Ludovic Courtès (2015-09-06 16:51 +0300) wrote: >> >>> Alex: We should maybe disable the paragraph filling code in guix.el so >>> that it doesn’t mess up with formatting? >> >> I don't mind (if you

Re: Texinfo in descriptions?

2015-09-07 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2015-09-07 00:31 +0300) wrote: > >> Alex Kost skribis: >> >>> Ludovic Courtès (2015-09-06 16:51 +0300) wrote: >>> Alex: We should maybe disable the paragraph filling code in guix.el so that it doesn’t mess up

Re: Texinfo in descriptions?

2015-09-06 Thread Alex Kost
Ludovic Courtès (2015-09-06 16:51 +0300) wrote: > Alex: We should maybe disable the paragraph filling code in guix.el so > that it doesn’t mess up with formatting? I don't mind (if you remember I didn't actually like such filling¹, and I've never used it). So we can change the default value of

Re: Texinfo in descriptions?

2015-09-06 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2015-09-06 16:51 +0300) wrote: > >> Alex: We should maybe disable the paragraph filling code in guix.el so >> that it doesn’t mess up with formatting? > > I don't mind (if you remember I didn't actually like such filling¹, and > I've never

Re: Texinfo in descriptions?

2015-09-06 Thread Ludovic Courtès
Mathieu Lirzin skribis: > l...@gnu.org (Ludovic Courtès) writes: [...] >>> +++ b/gnu/packages/databases.scm >>> @@ -578,7 +578,7 @@ columns, primary keys, unique constraints and >>> relationships.") >>> ("postgresql" ,postgresql))) >>> (home-page

Re: Texinfo in descriptions?

2015-09-04 Thread Mathieu Lirzin
l...@gnu.org (Ludovic Courtès) writes: > Mathieu Lirzin skribis: > >> From e691c2080929dd1390184ab4669de8b2695a237f Mon Sep 17 00:00:00 2001 >> From: Mathieu Lirzin >> Date: Fri, 7 Aug 2015 00:10:43 +0200 >> Subject: [PATCH] ui: Add

Re: Texinfo in descriptions?

2015-09-03 Thread Ludovic Courtès
Mathieu Lirzin skribis: > From e691c2080929dd1390184ab4669de8b2695a237f Mon Sep 17 00:00:00 2001 > From: Mathieu Lirzin > Date: Fri, 7 Aug 2015 00:10:43 +0200 > Subject: [PATCH] ui: Add package-description-string. > > Provide support for Texinfo's

Re: Texinfo in descriptions?

2015-09-02 Thread Mathieu Lirzin
l...@gnu.org (Ludovic Courtès) writes: > One last thing (I swear!). > > AFAICS ‘stexi->plain-text’ already does paragraph filling, so the call > above is redundant (and could break the rendering.) > > However, the width of the rendered text is fixed, unlike what > ‘string->recutils’ did so far.

Re: Texinfo in descriptions?

2015-09-01 Thread Mathieu Lirzin
l...@gnu.org (Ludovic Courtès) writes: > AFAICS ‘stexi->plain-text’ already does paragraph filling, so the call > above is redundant (and could break the rendering.) > > However, the width of the rendered text is fixed, unlike what > ‘string->recutils’ did so far. To work around that, we’ll have

Re: Texinfo in descriptions?

2015-08-31 Thread Ludovic Courtès
Mathieu Lirzin skribis: >> Any performance figures? For instance, time of ‘guix package -s’ before >> and after? > > With the updated patch I have obtained the following results for command > > time ./pre-inst-env guix package -s e > > - without patch: > real 0m25.381s

Re: Texinfo in descriptions?

2015-08-30 Thread Alex Kost
Mathieu Lirzin (2015-08-28 00:04 +0300) wrote: l...@gnu.org (Ludovic Courtès) writes: With Benno being OK, we should start looking at implementing the change. The various parts that I can think of are: • Having a ‘package-description-string’ procedure that would return the

Re: Texinfo in descriptions?

2015-08-30 Thread Alex Kost
Ludovic Courtès (2015-08-30 20:23 +0300) wrote: Mathieu Lirzin m...@openmailbox.org skribis: From e98c0ec3b609c077bf471cf838f12f54a89a0226 Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin m...@openmailbox.org Date: Fri, 7 Aug 2015 00:10:43 +0200 Subject: [PATCH] packages: Add

Re: Texinfo in descriptions?

2015-08-30 Thread Mathieu Lirzin
Here is an updated patch. l...@gnu.org (Ludovic Courtès) writes: Mathieu Lirzin m...@openmailbox.org skribis: From e98c0ec3b609c077bf471cf838f12f54a89a0226 Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin m...@openmailbox.org Date: Fri, 7 Aug 2015 00:10:43 +0200 Subject: [PATCH] packages: Add

Re: Texinfo in descriptions?

2015-08-30 Thread Ludovic Courtès
Mathieu Lirzin m...@openmailbox.org skribis: From e98c0ec3b609c077bf471cf838f12f54a89a0226 Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin m...@openmailbox.org Date: Fri, 7 Aug 2015 00:10:43 +0200 Subject: [PATCH] packages: Add package-description-string. * guix/packages.scm

Re: Texinfo in descriptions?

2015-08-30 Thread Mathieu Lirzin
Alex Kost alez...@gmail.com writes: Mathieu Lirzin (2015-08-28 00:04 +0300) wrote: Here is a first attempt. It doesn't feel right to me but fornow I don't know what to do without duplicating code or reorganizing the world. The problem is that translations are handle in (guix ui) so we need

Re: Texinfo in descriptions?

2015-08-28 Thread Mathieu Lirzin
Mathieu Lirzin m...@openmailbox.org writes: From 665c92dc5e9976719ac7a6e427253b6ee65c78d8 Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin m...@openmailbox.org Date: Fri, 7 Aug 2015 00:10:43 +0200 Subject: [PATCH] packages: Add package-description-string. * guix/packages.scm

Re: Texinfo in descriptions?

2015-08-27 Thread Mathieu Lirzin
Andy Wingo wi...@igalia.com writes: Will all docstrings be parsed as texinfo? To me this is the proper solution, since plain text is mostly a subset of texinfo. Yes, that's the idea. It could be that all descriptions are already texinfo. You just have to be careful about @ { and } when

Re: Texinfo in descriptions?

2015-08-27 Thread Mathieu Lirzin
l...@gnu.org (Ludovic Courtès) writes: With Benno being OK, we should start looking at implementing the change. The various parts that I can think of are: • Having a ‘package-description-string’ procedure that would return the description rendered as a string, using the (stexi)

Re: Texinfo in descriptions?

2015-08-26 Thread Andy Wingo
solution, since plain text is mostly a subset of texinfo. It could be that all descriptions are already texinfo. You just have to be careful about @ { and } when used literally -- they need replacing with @@ @{ and @}. In Guile I've had a hack that tries to render docstrings as texinfo, falling back

Re: Texinfo in descriptions?

2015-08-25 Thread Mathieu Lirzin
l...@gnu.org (Ludovic Courtès) writes: Mathieu Lirzin m...@openmailbox.org skribis: Andreas Enge andr...@enge.fr writes: On Wed, Jul 22, 2015 at 11:24:10PM +0200, Ludovic Courtès wrote: With Benno being OK, we should start looking at implementing the change. Good news! I'm interested in

Re: Texinfo in descriptions?

2015-07-23 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: On Wed, Jul 22, 2015 at 11:24:10PM +0200, Ludovic Courtès wrote: With Benno being OK, we should start looking at implementing the change. Is there a consensus on the usefulness of the change? So far (but this may be a classical case of confirmation bias)

Re: Texinfo in descriptions?

2015-07-23 Thread Ludovic Courtès
Mathieu Lirzin m...@openmailbox.org skribis: Andreas Enge andr...@enge.fr writes: On Wed, Jul 22, 2015 at 11:24:10PM +0200, Ludovic Courtès wrote: With Benno being OK, we should start looking at implementing the change. Good news! I'm interested in implementing this change. I can't

Re: Texinfo in descriptions?

2015-07-23 Thread Daniel Pimentel
On 2015-07-23 10:57, l...@gnu.org wrote: Mathieu Lirzin m...@openmailbox.org skribis: Andreas Enge andr...@enge.fr writes: On Wed, Jul 22, 2015 at 11:24:10PM +0200, Ludovic Courtès wrote: With Benno being OK, we should start looking at implementing the change. Good news! I'm interested in

Re: Texinfo in descriptions?

2015-07-23 Thread Andreas Enge
So there actually seems to be quite a bit of enthusiasm for this feature, which proves me wrong! :-) Andreas

Re: Texinfo in descriptions?

2015-07-23 Thread Mathieu Lirzin
Andreas Enge andr...@enge.fr writes: On Wed, Jul 22, 2015 at 11:24:10PM +0200, Ludovic Courtès wrote: With Benno being OK, we should start looking at implementing the change. Good news! I'm interested in implementing this change. I can't dedicate my time to do this right now, but I can do it

Re: Texinfo in descriptions?

2015-07-22 Thread Ludovic Courtès
Mathieu Lirzin m...@openmailbox.org skribis: l...@gnu.org (Ludovic Courtès) writes: [...] As much as I would appreciate texinfo markup in that context, I think it will still confuse our translator friends. In (info (gettext)Preparing Strings) we can found this: [...] Sure HTML markup

Re: Texinfo in descriptions?

2015-07-22 Thread Andreas Enge
On Wed, Jul 22, 2015 at 11:24:10PM +0200, Ludovic Courtès wrote: With Benno being OK, we should start looking at implementing the change. Is there a consensus on the usefulness of the change? So far (but this may be a classical case of confirmation bias) I noticed mainly voices against the use

Texinfo in descriptions?

2015-07-17 Thread Ludovic Courtès
Mathieu Lirzin m...@openmailbox.org skribis: l...@gnu.org (Ludovic Courtès) writes: What are your concerns and what would you prefer? (I was left with the impression that there was a rough consensus in the other thread, but surely there’s a bias.) In Emacs it’s quite easily typed (C-x 8