[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: format-mode-line function



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@rattlesnake.com                         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@cs.vassar.edu" with a
subject of "unsubscribe" or "help"


Emacspeak Files | Subscribe | Unsubscribe | Search