From mboxrd@z Thu Jan 1 00:00:00 1970
Path: main.gmane.org!not-for-mail
From: Phillip Lord
Newsgroups: gmane.emacs.help
Subject: Re: invisible buffer is it possible?
Date: 26 Nov 2002 15:33:08 +0000
Organization: BIOSCI/MRC Human Genome Mapping Project Resource Centre
Sender: help-gnu-emacs-admin@gnu.org
Message-ID:
References: <5llm3gnz02.fsf@rum.cs.yale.edu>
NNTP-Posting-Host: main.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: main.gmane.org 1038324872 5611 80.91.224.249 (26 Nov 2002 15:34:32 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Tue, 26 Nov 2002 15:34:32 +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 18GhjK-0001S1-00
for ; Tue, 26 Nov 2002 16:34:30 +0100
Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org)
by monty-python.gnu.org with esmtp (Exim 4.10)
id 18GhlH-0007zM-00; Tue, 26 Nov 2002 10:36:31 -0500
Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!server3.netnews.ja.net!south.jnrs.ja.net!server2.netnews.ja.net!hgmp.mrc.ac.uk!not-for-mail
Original-Newsgroups: gnu.emacs.help
Original-Lines: 19
Original-NNTP-Posting-Host: bromine.hgmp.mrc.ac.uk
Original-X-Trace: niobium.hgmp.mrc.ac.uk 1038324789 4364 193.62.192.35 (26 Nov 2002 15:33:09 GMT)
Original-X-Complaints-To: news@net.bio.net
Original-NNTP-Posting-Date: Tue, 26 Nov 2002 15:33:09 +0000 (UTC)
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.92
Original-Xref: shelby.stanford.edu gnu.emacs.help:107483
Original-To: help-gnu-emacs@gnu.org
Errors-To: help-gnu-emacs-admin@gnu.org
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help:
List-Post:
List-Subscribe: ,
List-Id: Users list for the GNU Emacs text editor
List-Unsubscribe: ,
List-Archive:
Xref: main.gmane.org gmane.emacs.help:4034
X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4034
>>>>> "Stefan" == "Stefan Monnier " writes:
>>>>> "Phillip" == Phillip Lord writes:
>> (add-hook 'xml-mode-hook 'phil-psgml-hook) (defun
>> phil-psgml-hook() (interactive) (if (string= "build.xml"
>> (file-name-nondirectory (buffer-file-name))) (setq
>> sgml-parent-document '( "~/emacs/anthead.xml" "" "project" ))))
Stefan> I don't see how this code could create any extra buffer.
You wouldn't have thought so would you. None the less, there it is.
PSGML opens up the parent document when it loads a child. So with this
hook in, any time you open "build.xml", then the anthead.xml file will
also get opened. Its buried, but its there.
Phil