From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: (emacs-version) in the Elisp reference Date: Wed, 21 Jun 2017 21:56:25 -0400 Message-ID: References: <20EE9F2C-6F30-4A9C-BF0E-E17D4FC7F8FC@gmail.com> <838tkmwude.fsf@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1498096620 5844 195.159.176.226 (22 Jun 2017 01:57:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 22 Jun 2017 01:57:00 +0000 (UTC) Cc: eliz@gnu.org, emacs-devel@gnu.org To: Jean-Christophe Helary Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 22 03:56:57 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNrMe-0001I0-Bc for ged-emacs-devel@m.gmane.org; Thu, 22 Jun 2017 03:56:56 +0200 Original-Received: from localhost ([::1]:56641 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNrMj-0005nf-7Y for ged-emacs-devel@m.gmane.org; Wed, 21 Jun 2017 21:57:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNrMY-0005m8-1R for emacs-devel@gnu.org; Wed, 21 Jun 2017 21:56:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNrMX-0004wi-EL for emacs-devel@gnu.org; Wed, 21 Jun 2017 21:56:50 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37190) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNrMA-0004qX-7w; Wed, 21 Jun 2017 21:56:26 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1dNrM9-0001Jz-KP; Wed, 21 Jun 2017 21:56:25 -0400 In-reply-to: (message from Jean-Christophe Helary on Wed, 21 Jun 2017 04:56:38 +0900) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215871 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > @defvar emacs-major-version > The major version number of Emacs, as an integer. For Emacs version > 23.1, the value is 23. > @end defvar > @defvar emacs-minor-version > The minor version number of Emacs, as an integer. For Emacs version > 23.1, the value is 1. > @end defvar > (why hardcode values that do not correspond to the current manual?) It is just an example. It is meant to illustrate how these variables relate to the version number. It might be better to choose an obviously fictitious example, since that way we will never have to change it. -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html.