From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: GNU ELPA package for CC-mode Date: Sun, 19 Aug 2018 20:49:18 +0000 Message-ID: <20180819204918.GA3934@ACM> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1534712069 22296 195.159.176.226 (19 Aug 2018 20:54:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 19 Aug 2018 20:54:29 +0000 (UTC) User-Agent: Mutt/1.10.1 (2018-07-13) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 19 22:54:25 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1frUiO-0005gE-NX for ged-emacs-devel@m.gmane.org; Sun, 19 Aug 2018 22:54:24 +0200 Original-Received: from localhost ([::1]:44085 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1frUkS-00032T-Ud for ged-emacs-devel@m.gmane.org; Sun, 19 Aug 2018 16:56:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1frUkJ-00032D-Ls for emacs-devel@gnu.org; Sun, 19 Aug 2018 16:56:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1frUkE-0005H2-N9 for emacs-devel@gnu.org; Sun, 19 Aug 2018 16:56:23 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:54179 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1frUkE-0005GT-HK for emacs-devel@gnu.org; Sun, 19 Aug 2018 16:56:18 -0400 Original-Received: (qmail 45547 invoked by uid 3782); 19 Aug 2018 20:56:16 -0000 Original-Received: from acm.muc.de (p5B1467F3.dip0.t-ipconnect.de [91.20.103.243]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 19 Aug 2018 22:56:15 +0200 Original-Received: (qmail 4689 invoked by uid 1000); 19 Aug 2018 20:49:18 -0000 Content-Disposition: inline In-Reply-To: X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:228698 Archived-At: Hello, Stefan. On Sun, Aug 19, 2018 at 09:24:24 -0400, Stefan Monnier wrote: > Hi Alan, > I just tested the construction of a GNU ELPA package for CC-mode using > the :core thingy of elpa.git and everything looks good. Who's going to be testing this? I've a slight suspicion that sometimes people add things to CC Mode that depend on things in master. That would be subotimal for ELPA. > So I'm thinking of adding the patch below to elpa.git, which will cause > elpa.gnu.org to automatically construct a GNU ELPA package of CC-mode (from > the lisp/progmode/cc-*.el files in emacs.git). If we do that, then > a new CC-mode ELPA package will be automatically constructed when the > "Version:" header of cc-mode.el is modified. This will need some new scheme for version numbers. > I just pushed to trunk a commit which added a "Version: 5.33.1" header > to cc-mode.el. What sort of "header"? How does this header get associated with cc-mode.el? The actual version number is in cc-defs.el. There may be possibilities for confusion here. > We may want to update this version number before pushing the patch > below to elpa.git since I'm not sure 5.33.1 is right (AFAICT 5.33 is > the last released version, but it was a while ago, so maybe 5.34 is a > better choice). No, 5.34 will be for the next standalone version (which hopefully won't be too far away). I think the right thing to do will be to generate the "header" version number from the actual version number, and append some suffix characterising the ELPA version, which would be automatically incremented as commits are made to CC Mode. Maybe. Somehow. > Stefan -- Alan Mackenzie (Nuremberg, Germany).