forth-mode icon indicating copy to clipboard operation
forth-mode copied to clipboard

Interactive way to tell version of forth-mode

Open jpellegrini opened this issue 7 years ago • 3 comments

It would be nide to have a command that prints the version installed. I'm volunteering to do that.

The repo has no tags, so I'd say the version string could be like yyyy.mm.dd.hhhhhhh, where yyyy.mm.dd would be the data of last commit, and hhhhhhh the truncated hash of the last commit. The string would be determined during build. If the packageis build out of the git tree, then the string would be yyyy.mm.dd.unknown, where yyyy.mm.dd would be the date of compilation.

Any objections?

jpellegrini avatar Nov 24 '18 14:11 jpellegrini

This would require using $(shell ...) inside the Makefile. And creating a temporary version.el file, which would be concatenated with forth-mode.el. probably.

jpellegrini avatar Nov 24 '18 15:11 jpellegrini

Or -- now that I think of it, wouldn't an "about" pop-up window be better?

jpellegrini avatar Nov 24 '18 16:11 jpellegrini

See PR #80

jpellegrini avatar Nov 24 '18 20:11 jpellegrini