help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: invisible buffer is it possible?


From: Phillip Lord
Subject: Re: invisible buffer is it possible?
Date: 26 Nov 2002 15:33:08 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.92

>>>>> "Stefan" == "Stefan Monnier <foo@acm.com>" 
>>>>> <monnier+gnu.emacs.help/news/@flint.cs.yale.edu> writes:

>>>>> "Phillip" == Phillip Lord <p.lord@russet.org.uk> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]