What about demanding that pretty names of major modes should not
contain spaces?  A user could mistake the part after a space for the
name of a minor mode.

Lute.


Index: lispref/modes.texi
===================================================================
RCS file: /cvsroot/emacs/emacs/lispref/modes.texi,v
retrieving revision 1.93
diff -c -r1.93 modes.texi
*** lispref/modes.texi  28 Mar 2005 02:41:36 -0000      1.93
--- lispref/modes.texi  1 Apr 2005 14:14:47 -0000
***************
*** 152,158 ****
  @item
  The major mode command should set the variable @code{mode-name} to the
  ``pretty'' name of the mode, as a string.  This string appears in the
! mode line.
  
  @item
  @cindex functions in modes
--- 152,158 ----
  @item
  The major mode command should set the variable @code{mode-name} to the
  ``pretty'' name of the mode, as a string.  This string appears in the
! mode line.  It should not contain spaces.
  
  @item
  @cindex functions in modes


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to