Re: How to update emacs-version?

Liste des GroupesRevenir à ce xemacs 
Sujet : Re: How to update emacs-version?
De : kehoea (at) *nospam* parhasard.net (Aidan Kehoe)
Groupes : comp.emacs.xemacs
Date : 17. May 2025, 13:25:53
Autres entêtes
Message-ID : <6828.8051.81053.9e03a@parhasard.net>
References : 1 2
User-Agent : Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b35 (linux)

 Ar an fichiú lá de mí Márta, scríobh Henry S. Thompson:

 > Aidan Kehoe writes:
 >
 > >  Ar an fichiú lá de mí Márta, scríobh Henry S. Thompson:
 > >
 > >  > After doing a pull -u  that doesn't change much, and a make that
 > >  > succeeds, the result doesn't have an up-to-date value for
 > >  > emacs-version.
 > >  >
 > >  > The only way I've found to reliably get that updated is to do 
 > >  >  > make distclean
 > >  >  > make
 > >  > which feels like using a sledgehammer to swat a fly.
 > >  >
 > >  > Surely there's a simpler/quicker way?
 > >
 > > The following should do it:
 > >
 > > rm lisp/version.elc
 > > make
 >
 > I don't _think_ that will do what we need.  version.el appeals to
 > emacs-extra-name, which is defined in emacs.c, appealing to
 > XEMACS_EXTRA_NAME, which is defined in [src/config.h], which is not rebuilt
 > by the above...

Looking into this a bit more (after a year ...), XEMACS_EXTRA_NAME is updated
by ./configure, and after a pull -u and a make that isn’t run. Re-running that
explicitly does it.

We could add rules to the Makefiles to call hg id at the same time we
re-generate dump-id.c, and have a separate include file that defines
XEMACS_EXTRA_NAME.

Is this impacting your workflow significantly?

--
‘As I sat looking up at the Guinness ad, I could never figure out / How your
man stayed up on the surfboard after fourteen pints of stout’ (C. Moore)

Date Sujet#  Auteur
17 May 25 o Re: How to update emacs-version?1Aidan Kehoe

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal