Questions tagged [version-compatibilty]

20 questions
15
votes
1 answer

How to run multiple versions of emacs for package development?

Is there a set of tools to enable testing a package on multiple Emacs versions. For example 24.4 is almost released. Can I install it and still safely test my package in 24.1? How would I deal with a conflicting .emacs.d/? I came across a repo on…
Gambo
  • 929
  • 5
  • 14
8
votes
1 answer

How to test for specific Emacs version or newer?

Emacs 24.4 made an incompatible change to interpreter-mode-alist, treating its members now as regular expressions and no longer as simple strings (http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=1af4c2203ce7954c089133234ba80e6272ce9458). I…
Tim Landscheidt
  • 467
  • 3
  • 8
8
votes
4 answers

How can I find which version of a particular mode I am using?

For example, I want to use a library that requires I am on org-mode version 8 or above. I don't know what version of org-mode I have. Running M-x version only gives me the emacs version. Is there a command where I can get the org-mode…
modulitos
  • 2,482
  • 1
  • 22
  • 37
0
votes
0 answers

How can I ensure that the minimum version of Emacs used with some code is 28.2?

I'm using this. What other ways are there? (let ((minver "28.2")) (when (version< emacs-version minver) (error "This config requires Emacs v%s or higher." minver))) ;; Load the Emacs Lisp code blocks embedded in the…
Zoli
  • 421
  • 2
  • 7