From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lute Kamstra Newsgroups: gmane.emacs.devel Subject: Spaces in pretty names of major modes. Date: Fri, 01 Apr 2005 16:22:10 +0200 Message-ID: <87r7hur2zx.fsf@xs4all.nl> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1112366131 13371 80.91.229.2 (1 Apr 2005 14:35:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Apr 2005 14:35:31 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 01 16:35:29 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DHNE1-0005oV-Tp for ged-emacs-devel@m.gmane.org; Fri, 01 Apr 2005 16:34:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DHNUv-0003PP-Lz for ged-emacs-devel@m.gmane.org; Fri, 01 Apr 2005 09:51:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DHNRr-0000Zx-2k for emacs-devel@gnu.org; Fri, 01 Apr 2005 09:48:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DHNRh-0000Vv-QF for emacs-devel@gnu.org; Fri, 01 Apr 2005 09:48:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DHNRh-0000Rz-Oq for emacs-devel@gnu.org; Fri, 01 Apr 2005 09:48:25 -0500 Original-Received: from [194.109.24.25] (helo=smtp-vbr5.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DHN2J-0002nW-R2 for emacs-devel@gnu.org; Fri, 01 Apr 2005 09:22:12 -0500 Original-Received: from pijl (a80-127-67-124.adsl.xs4all.nl [80.127.67.124]) by smtp-vbr5.xs4all.nl (8.12.11/8.12.11) with ESMTP id j31EMBI8037976 for ; Fri, 1 Apr 2005 16:22:11 +0200 (CEST) (envelope-from Lute.Kamstra@xs4all.nl) Original-Received: from lute by pijl with local (Exim 3.36 #1 (Debian)) id 1DHN2I-0004MY-00 for ; Fri, 01 Apr 2005 16:22:10 +0200 Original-To: emacs-devel@gnu.org User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Original-Lines: 31 X-Virus-Scanned: by XS4ALL Virus Scanner X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:35476 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35476 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