From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.help Subject: Re: Determine what version and make settings accordingly Date: Sun, 16 Nov 2014 19:51:49 -0500 Organization: Still searching... Message-ID: <87mw7q4pju.fsf@reader.local.lan> References: <871tpg8log.fsf@dv.local.lan> <878ujowgwk.fsf@vsl28t2g.ww011> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1416185555 18239 80.91.229.3 (17 Nov 2014 00:52:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2014 00:52:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 17 01:52:28 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XqAYN-0003rx-Ar for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Nov 2014 01:52:27 +0100 Original-Received: from localhost ([::1]:45555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqAYM-0008Nc-Ve for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Nov 2014 19:52:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqAY6-0008NW-3y for help-gnu-emacs@gnu.org; Sun, 16 Nov 2014 19:52:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqAY0-0004Jb-Q8 for help-gnu-emacs@gnu.org; Sun, 16 Nov 2014 19:52:10 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:50908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqAY0-0004JT-JP for help-gnu-emacs@gnu.org; Sun, 16 Nov 2014 19:52:04 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XqAXx-0003hs-7P for help-gnu-emacs@gnu.org; Mon, 17 Nov 2014 01:52:01 +0100 Original-Received: from c-76-97-127-193.hsd1.ga.comcast.net ([76.97.127.193]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Nov 2014 01:52:01 +0100 Original-Received: from reader by c-76-97-127-193.hsd1.ga.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Nov 2014 01:52:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-76-97-127-193.hsd1.ga.comcast.net User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:VqsWeKVLL0Y57f8ITrNsMkklvew= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:100975 Archived-At: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes: > Harry Putnam writes: > >> Probably kind of basic... but not to me. >> >> I'm running emacs24 (installed from debian pkg system) and now want to >> also run emacs-25... (installed from bzr repo). > > (if (>= emacs-major-version 25) ; this is the test, the "if" > (message "You are running Emacs 25! Lucky you.") ; This is the "then" > (ding) ; From here on is the "else" > (message "Time to upgrade, don't you think?")) > > emacs-version > emacs-minor-version > > Is that what you are looking for? Yes it is... thanks much.