From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: ytrewq1 Newsgroups: gmane.emacs.help Subject: Re: header-line-format hacking Date: Wed, 26 Jan 2005 13:09:45 +0000 (UTC) Message-ID: References: <87is5ln5pd.fsf@robotron.ath.cx> <35nimiF4q87bsU1@individual.net> <7emzuw4fka.fsf@ada2.unipv.it> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1106745586 11708 80.91.229.6 (26 Jan 2005 13:19:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Jan 2005 13:19:46 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 26 14:19:38 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ctn58-0004Zy-00 for ; Wed, 26 Jan 2005 14:19:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CtnHR-0003HU-F2 for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Jan 2005 08:32:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CtnET-0002kd-7B for help-gnu-emacs@gnu.org; Wed, 26 Jan 2005 08:29:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CtnEF-0002d8-4F for help-gnu-emacs@gnu.org; Wed, 26 Jan 2005 08:29:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CtnED-0002av-T6 for help-gnu-emacs@gnu.org; Wed, 26 Jan 2005 08:29:01 -0500 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ctmvp-0005eI-5a for help-gnu-emacs@gnu.org; Wed, 26 Jan 2005 08:10:01 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Ctmvg-0006Bu-00 for ; Wed, 26 Jan 2005 14:09:52 +0100 Original-Received: from 211.216.21.13 ([211.216.21.13]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Jan 2005 14:09:51 +0100 Original-Received: from ytrewq1 by 211.216.21.13 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Jan 2005 14:09:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 12 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 211.216.21.13 (Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:23646 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23646 Thien-Thi Nguyen writes: > more idiomatic is to have the minor mode define a variable > that has value nil when the minor mode is inactive. then, > you add the variable to the formatting tree unconditionally, > and the display engine takes care of things automatically. I don't think I quite follow you. Do you mean that the minor mode code should not be modifying header-line-format? If it's not supposed to, does that mean each user should add something to their .emacs to define header-line-format?