emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU ELPA package for CC-mode


From: Alan Mackenzie
Subject: Re: GNU ELPA package for CC-mode
Date: Sun, 19 Aug 2018 20:49:18 +0000
User-agent: Mutt/1.10.1 (2018-07-13)

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).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]