From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; Defaut encoding for XML files should be undefined (instead of utf-8) Date: Mon, 18 Feb 2008 07:24:43 +0900 Message-ID: <87odafxluc.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87odaifv16.fsf@mundaneum.com> <87r6fd5q12.fsf@uwakimon.sk.tsukuba.ac.jp> <47B6B3CC.1080101@gnu.org> <87wsp5xhz4.fsf@uwakimon.sk.tsukuba.ac.jp> <47B6D1ED.6020601@gmail.com> <87r6fcxms7.fsf@uwakimon.sk.tsukuba.ac.jp> <47B8452F.6090504@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203286686 14994 80.91.229.12 (17 Feb 2008 22:18:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Feb 2008 22:18:06 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org, Edward O'Connor , Stefan Monnier To: "Lennart Borgman (gmail)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 17 23:18:30 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JQrq8-0004oh-Rk for ged-emacs-devel@m.gmane.org; Sun, 17 Feb 2008 23:18:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQrpe-0004we-BG for ged-emacs-devel@m.gmane.org; Sun, 17 Feb 2008 17:17:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQrpY-0004vd-IP for emacs-devel@gnu.org; Sun, 17 Feb 2008 17:17:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQrpX-0004ui-AA for emacs-devel@gnu.org; Sun, 17 Feb 2008 17:17:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQrpW-0004uW-Vd for emacs-devel@gnu.org; Sun, 17 Feb 2008 17:17:51 -0500 Original-Received: from mtps01.sk.tsukuba.ac.jp ([130.158.97.223]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JQrpT-00083h-5e; Sun, 17 Feb 2008 17:17:47 -0500 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps01.sk.tsukuba.ac.jp (Postfix) with ESMTP id 2BB9F1535B3; Mon, 18 Feb 2008 07:17:43 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id A6D3B1A29E5; Mon, 18 Feb 2008 07:24:44 +0900 (JST) In-Reply-To: <47B8452F.6090504@gmail.com> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" 42711a251efd XEmacs Lucid X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:89399 gmane.emacs.pretest.bugs:21162 Archived-At: Lennart Borgman (gmail) writes: > Stephen J. Turnbull wrote: > > Lennart Borgman (gmail) writes: > > > > > Could you please tell more about how to find a master document in PSGML? > > > > Here are the local variables from our top page's source [...]. The > > interesting variable is sgml-parent-document. > Thanks, but were are these variables defined? Here's the docstring for sgml-parent-document. I suppose the rest are similarly from psgml.el or related libraries. `sgml-parent-document' is a variable declared in Lisp. -- loaded from "psgml" Value: nil Setting it would make its value buffer-local. Documentation: *How to handle the current file as part of a bigger document. The variable describes how the current file's content fit into the element hierarchy. The value should have the form (PARENT-FILE CONTEXT-ELEMENT* TOP-ELEMENT (HAS-SEEN-ELEMENT*)?) PARENT-FILE is a string, the name of the file containing the document entity. CONTEXT-ELEMENT is a string, that is the name of an element type. It can occur 0 or more times and is used to set up exceptions and short reference map. Good candidates for these elements are the elements open when the entity pointing to the current file is used. TOP-ELEMENT is a string that is the name of the element type of the top level element in the current file. The file should contain one instance of this element, unless the last (Lisp) element of `sgml-parent-document' is a list. If it is a list, the top level of the file should follow the content model of top-element. HAS-SEEN-ELEMENT is a string that is the name of an element type. This element is satisfied in the content model of top-element. Setting this variable automatically makes it local to the current buffer.