From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] profiles: Generate database file for manpages Date: Wed, 05 Apr 2017 23:00:01 +0200 Message-ID: <87a87umuy6.fsf@gnu.org> References: <87fuhvw4a8.fsf@gmail.com> <87a882wykx.fsf@gnu.org> <87tw69538i.fsf@gmail.com> <8737dtjcbh.fsf@gnu.org> <8760il4iie.fsf@gmail.com> <87efx8s6dq.fsf@gnu.org> <87wpb02r0t.fsf@gmail.com> <87lgrfmh3e.fsf@gnu.org> <87vaqje0nh.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvs2C-0001FO-En for guix-devel@gnu.org; Wed, 05 Apr 2017 17:00:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cvs29-0000eS-BL for guix-devel@gnu.org; Wed, 05 Apr 2017 17:00:08 -0400 In-Reply-To: <87vaqje0nh.fsf@gmail.com> (Maxim Cournoyer's message of "Wed, 05 Apr 2017 01:09:22 -0700") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Maxim Cournoyer Cc: guix-devel Maxim Cournoyer skribis: > From b6aff9b364f09e77e07109578128f3be383231e0 Mon Sep 17 00:00:00 2001 > From: Maxim Cournoyer > Date: Tue, 28 Mar 2017 09:25:21 -0700 > Subject: [PATCH] profiles: Generate database file for manpages > MIME-Version: 1.0 > Content-Type: text/plain; charset=3DUTF-8 > Content-Transfer-Encoding: 8bit > > The mandb database file (index.db) is used by the "apropos" (whatis) or > "man -k" commands. This change introduces a profile hook to generate > such database file. > > Co-authored by Ludovic Court=C3=A8s > > * guix/profiles.scm (manual-database): New procedure. > (%default-profile-hooks): Add it. Finally applied as a0b87ef8ec7735aa42cf35d380e9cff04f3236f3! \o/ I added a =E2=80=98format=E2=80=99 call in the hook itself so that people u= nderstand what=E2=80=99s going on if it takes too long, and tweaked the commit log. While at it, I added in commit 31f1f593fb835978085566e50d3d8c576d55fe99 a section on searching for and reading Info and man documentation. Something that may be obvious for some of us but less so for other (notably younger) users. Feel free to extend it! Thanks, Ludo=E2=80=99.