From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAG4c-0004Yj-Ih for guix-patches@gnu.org; Mon, 15 May 2017 09:30:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dAG4Z-0002qN-Eb for guix-patches@gnu.org; Mon, 15 May 2017 09:30:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42962) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dAG4Z-0002qF-5f for guix-patches@gnu.org; Mon, 15 May 2017 09:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dAG4Y-00061A-Py for guix-patches@gnu.org; Mon, 15 May 2017 09:30:02 -0400 Subject: bug#26802: Single source file emacs packages get a ".el.el" extension Resent-Message-ID: Message-Id: MIME-Version: 1.0 From: Arun Isaac Date: Mon, 15 May 2017 18:58:29 +0530 In-reply-to: <8737c7fjgn.fsf@gmail.com> References: <05a79dd0.AEAAJ6TpV0QAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZDccC@mailjet.com> <87wp9pbz2b.fsf@gmail.com> <19fd8da9.AEMAKMfGZKsAAAAAAAAAAAO9aM4AAAACwQwAAAAAAAW9WABZFLlP@mailjet.com> <87vap5xhks.fsf@gmail.com> <9b375d38.AEAAKIA9bmkAAAAAAAAAAAO9aM4AAAACwQwAAAAAAAW9WABZFzYx@mailjet.com> <8737c7fjgn.fsf@gmail.com> 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: Alex Kost Cc: 26802@debbugs.gnu.org > I'm not sure, I think: > > - it's too much for all the sources, as the upstream source may not > contain a version in the file name at all. Do we really want to raise a > warning in this case? > - and it's not enough for ".el" sources, I mean "something-version.el" > is not enough, as the file name must exactly be "name-version.el" (as it > is with ELPA single-filed sources), so the emacs-build-system will > output "name.el" file which will correspond to 'name' feature provided > by this file. You have a point, but... If all packages cannot be expected to have "name-version", then it is unreasonable and arbitrary to only expect single source file emacs packages to have a filename of this format. Instead, the emacs build system should be made more robust so that it can tolerate a souce file name like "web-mode.el" and still produce the correct installation path. =