kazu-yamamoto / Mew

Messaging in the Emacs World
http://www.mew.org/
Other
191 stars 51 forks source link

Check emacs-build-number and emacs-version for mew-x-mailer #148

Closed tats closed 3 years ago

tats commented 3 years ago

Currently, mew-x-mailer includes "Emacs 27.1", "Emacs 28.0" for Emacs 27.1.90, 28.0.50.

Expected results are "Emacs 27.1.90", "Emacs 28.0.50".

Note that emacs-version no longer includes the build number since Emacs 26, so emacs-build-number should be checked for Emacs 24 and 25 to use emacs-version.

cf. https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS.26#n300

** The variable 'emacs-version' no longer includes the build number. This is now stored separately in a new variable, 'emacs-build-number'.

tats commented 3 years ago

I agree, supporting recent two major releases of Emacs may be enough for the next release.

Rebased and updated to simply use emacs-version.

kazu-yamamoto commented 3 years ago

Merged. Thank you for your contribution. 00readme is also updated.