- To: tcross@xxxxxxxxxxx
- Subject: Re: format-mode-line function
- From: "Robert J. Chassell" <bob@xxxxxxxxxxx>
- Date: Wed, 6 Sep 2006 13:11:00 +0000 (UTC)
- Delivered-To: emacspeak@xxxxxxxxxxx
- In-reply-to: <17662.19601.506431.752674@xxxxxxxxxxx>(tcross@xxxxxxxxxxx)
- List-Help: <mailto:emacspeak-request@xxxxxxxxxxx?subject=help>
- List-Post: <mailto:emacspeak@xxxxxxxxxxx>
- List-Subscribe: <mailto:emacspeak-request@xxxxxxxxxxx?subject=subscribe>
- List-Unsubscribe: <mailto:emacspeak-request@xxxxxxxxxxx?subject=unsubscribe>
- Old-Return-Path: <bob@xxxxxxxxxxx>
- Reply-To: bob@xxxxxxxxxxx
- Resent-Date: Wed, 6 Sep 2006 09:11:03 -0400 (EDT)
- Resent-From: emacspeak@xxxxxxxxxxx
- Resent-Message-ID: <Oi9oE.A.Iz.njs_EB@xxxxxxxxxxx>
- Resent-Sender: emacspeak-request@xxxxxxxxxxx
A query:
Would it be possible for others who are running emacs 21 to see if
the function is defined and report on the emacs version.
"format-mode-line" exists in today's CVS as a function. It does not
exist as a function in GNU Emacs 21.4, but it does exist as a symbol.
In
GNU Emacs 21.4.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2005-10-03 on trouble, modified by Debian
started with /usr/bin/emacs21 -q
(functionp 'format-mode-line)
nil
even though
(symbolp 'format-mode-line)
t
But in today's CVS snapshot, Wed, 2006 Sep 6 10:37 UTC
GNU Emacs 22.0.50.25 (i686-pc-linux-gnu, GTK+ Version 2.8.18)
of 2006-09-06 on benthic
started with /usr/local/src/emacs/src/emacs -q
(functionp 'format-mode-line)
t
and
(symbolp 'format-mode-line)
t
Perhaps the claim that "format-mode-line" became part of Emacs 21 is a
typo.
GNU Emacs version 21.1 was released on 20 October 2001.
CVS claims the C code in /usr/local/src/emacs/src/emacs/src/xdisp.c
says the function was first written eight months later in 2002:
1.754 (kfstorm 11-Jun-02): DEFUN ("format-mode-line" ...
However, although I do not know when 21.4 was released, the date for
building GNU Emacs version 21.4 on trouble, modified by Debian, is
more than three years after the first writing of "format-mode-line".
Moreover, its most recent modification as recorded in CVS was on
2 June 2005, which is four months before the build.
--
Robert J. Chassell
bob@xxxxxxxxxxx GnuPG Key ID: 004B4AC8
http://www.rattlesnake.com http://www.teak.cc
-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"