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: Tue, 25 Jan 2005 13:05:43 +0000 (UTC) Message-ID: References: <87is5ln5pd.fsf@robotron.ath.cx> 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 1106659403 32738 80.91.229.6 (25 Jan 2005 13:23:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Jan 2005 13:23:23 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 25 14:23:14 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 1CtQf3-00068T-00 for ; Tue, 25 Jan 2005 14:23:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CtQrJ-0007Ij-Ap for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Jan 2005 08:35:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CtQpv-0006we-9y for help-gnu-emacs@gnu.org; Tue, 25 Jan 2005 08:34:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CtQps-0006vL-Rx for help-gnu-emacs@gnu.org; Tue, 25 Jan 2005 08:34:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CtQps-0006jG-10 for help-gnu-emacs@gnu.org; Tue, 25 Jan 2005 08:34:24 -0500 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CtQOF-0007dD-1e for help-gnu-emacs@gnu.org; Tue, 25 Jan 2005 08:05:51 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CtQOD-0006IY-00 for ; Tue, 25 Jan 2005 14:05:50 +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 ; Tue, 25 Jan 2005 14:05:49 +0100 Original-Received: from ytrewq1 by 211.216.21.13 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Jan 2005 14:05:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 13 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:23620 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23620 David Hansen writes: > Just set `header-line-format', e.g: > > (setq header-line-format (concat (or header-line-format "") " test")) > > will append " test" to the header line of the current buffer. I was under the impression that the header-line-format variable can hold a template like the one that mode-line-format uses. If that's the case, wouldn't the code snippet above not work for non-string templates?