From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: francois.fleuret@noos.fr (=?iso-8859-1?q?Fran=E7ois?= Fleuret) Newsgroups: gmane.emacs.help Subject: Style in elisp: how to show a flag value in the modeline? Date: 20 Feb 2003 10:50:43 +0100 Organization: Noos Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87of579t70.fsf@noos.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045735794 19737 80.91.224.249 (20 Feb 2003 10:09:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Feb 2003 10:09:54 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18lneL-00058B-00 for ; Thu, 20 Feb 2003 11:09:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18lnb3-0007Xr-06 for gnu-help-gnu-emacs@m.gmane.org; Thu, 20 Feb 2003 05:06:29 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.usenet-edu.net!usenet-edu.net!proxad.net!proxad.net!noos.fr!not-for-mail Original-Newsgroups: gnu.emacs.help X-Attribution: FF User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Lines: 10 Original-NNTP-Posting-Date: 20 Feb 2003 10:03:34 GMT Original-NNTP-Posting-Host: 81.67.17.162 Original-X-Trace: 1045735414 news.noos.fr 23347 81.67.17.162 Original-X-Complaints-To: abuse@noos.fr Original-Xref: shelby.stanford.edu gnu.emacs.help:110421 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6923 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6923 Hi, What is the good way to show in the modeline the value of a boolean of a flag associated to a major-mode ? The current solution I came with is to change the value of `mode-name'. But I have the feeling that should be done another way. Any advice ? Regards, FF