all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Eric M. Ludlam" <eric@siege-engine.com>
Subject: Re: `make' written in elisp
Date: Tue, 4 Jan 2005 11:10:07 -0500	[thread overview]
Message-ID: <200501041610.j04GA7a2011824@projectile.siege-engine.com> (raw)
In-Reply-To: <E1CloEh-0004Sl-Hg@monty-python.gnu.org> (emacs-devel-request@gnu.org)

  [ ... ]
>>     Besides writing values to init files the configuration process is used
>>     to check if external tools required for building or running the
>>     package are present and provide necessary features.  A special case
>>     might be preview-latex which has a TeX part besides the Elisp part.
>>
>> Why is it necessary to do this?
>> It seems to me that it would be just fine
>> to look for these things when the user tries to use them.
>>
>> to try to use the command when the user asks to do
>
>I don't think it is feasible to check for program versions every time
>a program is called.  And instead of letting the user alone with error
>messages which don't give him a hint that the program is too old, I
>consider it better practice to tell him when he tries to install the
>software which relies on the external program.

Hi,

  On the topic of checking version numbers at runtime, I wrote a tool
to do this for me which is in the CEDET stuff I maintain.  Many tools
have a variable, for example, foo.el, might have foo-version be a
string that is the version number.

  This tool can scan for that, and make sure the version you want is
compatible via various settings.  I also use it to manager save file
version numbers so that upgrades can occur among various tools that
are not a part of Emacs.

  The one dilemma is that a package author has to explicitly specify
when a version is no longer compatible with older versions.  ie,
current version is 2.4, but tools depending on 1.5 won't work with
2.4, this needs to be specified for inversion to handle all cases.

  Here is a CVS link:

http://cvs.sourceforge.net/viewcvs.py/cedet/cedet/common/inversion.el?rev=1.20&view=log

Enjoy
Eric

-- 
          Eric Ludlam:                 zappo@gnu.org, eric@siege-engine.com
   Home: http://www.ludlam.net            Siege: www.siege-engine.com
Emacs: http://cedet.sourceforge.net               GNU: www.gnu.org

       reply	other threads:[~2005-01-04 16:10 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1CloEh-0004Sl-Hg@monty-python.gnu.org>
2005-01-04 16:10 ` Eric M. Ludlam [this message]
2003-12-30 19:31 `make' written in elisp Michael Schierl
2003-12-31 22:57 ` Richard Stallman
2003-12-31 23:14   ` Michael Schierl
2004-01-01 21:10     ` Richard Stallman
2004-01-01 21:37       ` Michael Schierl
2004-01-04 23:25 ` Stefan Monnier
2005-01-02 16:06   ` Richard Stallman
2005-01-02 23:22     ` David Kastrup
2005-01-02 23:55       ` Ralf Angeli
2005-01-03  0:07         ` David Kastrup
2005-01-03  0:25           ` Ralf Angeli
2005-01-03  4:32             ` Richard Stallman
2005-01-03  8:02               ` David Kastrup
2005-01-03  9:36                 ` Eli Zaretskii
2005-01-03 16:45                   ` Stefan Monnier
2005-01-03  9:10               ` Ralf Angeli
2005-01-03 18:29                 ` Richard Stallman
2005-01-03 19:28                   ` Ralf Angeli
2005-01-03 23:10                     ` David Kastrup
2005-01-04  3:38                     ` Richard Stallman
2005-01-04 11:17                       ` Ralf Angeli
2005-01-03  0:26       ` Stefan
2005-01-03 11:05         ` Stephen J. Turnbull
2005-01-03 17:16           ` Stefan Monnier
2005-01-04 12:00             ` Stephen J. Turnbull
2005-01-04 13:59               ` Stefan
2005-01-04 14:07                 ` Miles Bader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200501041610.j04GA7a2011824@projectile.siege-engine.com \
    --to=eric@siege-engine.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.