unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Phillip Lord <p.lord@russet.org.uk>
Subject: Re: invisible buffer is it possible?
Date: 26 Nov 2002 15:33:08 +0000	[thread overview]
Message-ID: <vf65ukmjm3.fsf@rpc71.cs.man.ac.uk> (raw)
In-Reply-To: 5llm3gnz02.fsf@rum.cs.yale.edu

>>>>> "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	other threads:[~2002-11-26 15:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-26 12:41 invisible buffer is it possible? Phillip Lord
2002-11-26 13:13 ` Carsten Dominik
2002-11-26 14:12 ` Stein A. Stromme
2002-11-26 14:15   ` Stein A. Stromme
2002-11-26 15:15 ` Stefan Monnier <foo@acm.com>
2002-11-26 15:33   ` Phillip Lord [this message]
2002-11-26 15:44     ` lawrence mitchell
2002-11-26 16:17       ` Phillip Lord

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vf65ukmjm3.fsf@rpc71.cs.man.ac.uk \
    --to=p.lord@russet.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).