From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0kML-0002Wd-SQ for guix-patches@gnu.org; Wed, 19 Apr 2017 03:49:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0kMI-0002wZ-Pw for guix-patches@gnu.org; Wed, 19 Apr 2017 03:49:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:57268) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d0kMI-0002wF-Mw for guix-patches@gnu.org; Wed, 19 Apr 2017 03:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d0kMI-0004fU-EB for guix-patches@gnu.org; Wed, 19 Apr 2017 03:49:02 -0400 Subject: bug#26560: [PATCH] build: emacs: Install only a subset of files. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0kM2-0002WP-IZ for guix-patches@gnu.org; Wed, 19 Apr 2017 03:48:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0kLz-0002st-Eu for guix-patches@gnu.org; Wed, 19 Apr 2017 03:48:46 -0400 Received: from o165.p9.mailjet.com ([87.253.234.165]:54874) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d0kLz-0002sh-5m for guix-patches@gnu.org; Wed, 19 Apr 2017 03:48:43 -0400 Message-Id: MIME-Version: 1.0 From: Arun Isaac Date: Wed, 19 Apr 2017 13:18:35 +0530 In-reply-to: <20170419073525.2357-1-arunisaac@systemreboot.net> References: <20170419073525.2357-1-arunisaac@systemreboot.net> Content-Type: text/plain Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26560@debbugs.gnu.org This is a work in progress patch for the discussion at https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00274.html All feedback welcome! Arun Isaac writes: > + (include ''(".*.el$" ".*.el.in$" "^dir$" > + ".*.info$" ".*.texi$" ".*.texinfo$" > + "doc/dir" "doc/*.info$" "doc/*.texi$" "= doc/*.texinfo$")) > + (exclude ''("^.dir-locals.el$" "^test.el$" "^tests= .el$" ".*-test.el$" ".*-tests.el$")) I've copied all this from MELPA's default :files property described at https://github.com/melpa/melpa . I have no idea what the rationale for some of these regexes are. Currently, include and exclude are a list of regexes that file names are matched against. Should this be combined into one big regex? Would it be a good idea to add a third keyword argument, say #:documentation, that will select info documentation files and install them separately in some other directory? =