From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: org version check on start Date: Sun, 8 Jun 2014 19:38:16 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtnbO-0005Kp-T3 for emacs-orgmode@gnu.org; Sun, 08 Jun 2014 20:38:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtnbN-0004qc-OQ for emacs-orgmode@gnu.org; Sun, 08 Jun 2014 20:38:18 -0400 Received: from mail-oa0-x22a.google.com ([2607:f8b0:4003:c02::22a]:44590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtnbN-0004qY-JZ for emacs-orgmode@gnu.org; Sun, 08 Jun 2014 20:38:17 -0400 Received: by mail-oa0-f42.google.com with SMTP id eb12so2639099oac.29 for ; Sun, 08 Jun 2014 17:38:16 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" Good afternoon, Yesterday I was fiddling with getting tangling working in a Makefile. My humanity caught up with me and I wasn't super vigilant about the order of my command line arguments to Emacs. Basically, I asked it to do some work before the correct version of org-mode was loaded. Now, Emacs and org wouldn't complain, because 7.9 and 8.x are close enough, at least for my system. Still, that was a bad idea and not my intent. Knowing that I am human though, I had already added this code long ago: (when (not (string-equal (org-version) "8.2.6")) (display-warning 'org-mode (concat "Insufficient requirements. Expected 8.2.6. Found " (org-version)) :emergency)) Just wanted to share that. Everybody who wants to be using a particular version ought to paste that into their init somewhere... bound to prevent headaches and save some time. Kind regards, Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/ =E2=80=9CWisdom begins in wonder.=E2=80=9D --Socrates ((=CE=BB (x) (x x)) (=CE=BB (x) (x x))) =E2=80=9CLife has become immeasurably better since I have been forced to st= op taking it seriously.=E2=80=9D --Thompson