Miles Bader <[EMAIL PROTECTED]> writes:

> David Kastrup <[EMAIL PROTECTED]> writes:
>> This assumes that most version numbers in the text can stay ("will be
>> available with version xxx" is a good candidate).  That will still
>> need to cater for "the current version is xxx", but maybe _those_ can
>> partly be autogenerated with CVS keywords, depending on the kind of
>> text?
>
> Certainly it would be better to use a variable than straight text where
> possible.  But, please, no [EMAIL PROTECTED] cvs keywords (which have 
> bugger-all
> connection to anything real anyway).
>
> Where do all these instances of release numbers occur anyway?  (Kim?)

M-x grep RET 21\.4 * RET


The majority comes from

(defcustom ...
:version "21.4")

which certainly need to use a string constant.

>
> Cases in lisp code obviously should refer to a lisp variable instead
> (emacs-version, emacs-next-major-release :-).

(defcustom ...
:version emacs-version)

Ah, yes, really obvious?

Oh you mean

(defcustom ...
:version emacs-version-21-4)

that would work nicely.

>
> Cases in help text or texinfo could possibly be addressed with some
> analogous mechanism.

I'm sure there are just as obvious solutions for this too.

-- 
Kim F. Storm <[EMAIL PROTECTED]> http://www.cua.dk



_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to