From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "D. D. Brierton" Newsgroups: gmane.emacs.help Subject: PSGML mode: sgml-custom-dtd not appearing in menu Date: Tue, 29 Oct 2002 23:00:10 +0000 Organization: DZR Sender: help-gnu-emacs-admin@gnu.org Message-ID: <%pEv9.340$dz2.61120@stones> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035933164 28908 80.91.224.249 (29 Oct 2002 23:12:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 29 Oct 2002 23:12:44 +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 186fXP-0007Vy-00 for ; Wed, 30 Oct 2002 00:12:43 +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 186fRG-0001DF-00; Tue, 29 Oct 2002 18:06:22 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.ulv.nextra.no!nextra.com!peernews.cix.co.uk!shale.ftech.net!news.ftech.net!landlord!stones.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs User-Agent: Pan/0.11.3 (Unix) X-Comment-To: ALL Original-Lines: 44 Original-NNTP-Posting-Host: 212.159.101.92 Original-X-Complaints-To: abuse@plus.net.uk Original-X-Trace: stones 1035932411 212.159.101.92 (Tue, 29 Oct 2002 23:00:11 GMT) Original-NNTP-Posting-Date: Tue, 29 Oct 2002 23:00:11 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:106535 comp.emacs:75504 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:3085 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3085 Using Emacs 21.1.1 on Linux (Mandrake 8.2) with psgml 1.2.4, I've put the following in my .emacs: (setq sgml-custom-dtd '( ( "HTML 4.01 Strict" "" sgml-default-dtd-file "~/lib/DTD/html401/strict.ced" ) ( "HTML 4.01 Transitional" "" sgml-default-dtd-file "~/lib/DTD/html401/loose.ced" ) ( "HTML 4.01 Frameset" "" sgml-default-dtd-file "~/lib/DTD/html401/frameset.ced" ) ( "XHTML 1.0 Strict" "\n" sgml-default-dtd-file "~/lib/DTD/xhtml1/xhtml1-strict.ced" ) ( "XHTML 1.0 Transitional" "\n" sgml-default-dtd-file "~/lib/DTD/xhtml1/xhtml1-transitional.ced" ) ( "XHTML 1.0 Frameset" "\n" sgml-default-dtd-file "~/lib/DTD/xhtml1/xhtml1-frameset.ced" ) ( "XHTML 1.1" "\n" sgml-default-dtd-file "~/lib/DTD/xhtml11/xhtml11.ced" ) ) ) But nothing shows up in PSGML's DTD menu. I can do C-c C-u C-d TAB and I get prompted in a new window for HTML 4.01 Strict - XHTML 1.1, but nothing shows up in the menu. Is something meant to? Or have I misunderstood the docs? TIA, Darren P.S. If anyone has got their emacs set up to work with all the recent W3C DTDs and PSGML I'd love to get some advice from them. I just can't seem to get the XHTML doctypes working at all ... -- ====================================================================== D. D. Brierton darren@dzr-web.com www.dzr-web.com Trying is the first step towards failure (Homer Simpson) ====================================================================== From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jhair Tocancipa Triana Newsgroups: gmane.emacs.help Subject: Re: PSGML mode: sgml-custom-dtd not appearing in menu Date: Wed, 30 Oct 2002 00:30:46 +0100 Organization: T-Online Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <%pEv9.340$dz2.61120@stones> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035934619 1288 80.91.224.249 (29 Oct 2002 23:36:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 29 Oct 2002 23:36:59 +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 186fus-0000KF-00 for ; Wed, 30 Oct 2002 00:36:58 +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 186fuI-0002jS-00; Tue, 29 Oct 2002 18:36:22 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!skynet.be!skynet.be!freenix!deine.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Followup-To: comp.emacs Original-Lines: 18 Original-X-Trace: news.t-online.com 1035934255 05 18141 i4c9bdDESQA2v1 021029 23:30:55 Original-X-Complaints-To: abuse@t-online.com X-Sender: 520083754205-0001@t-dialin.net User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:XidVThR5Jrd/KlZ4i9CW/nEvq4Q= Original-Xref: shelby.stanford.edu gnu.emacs.help:106536 comp.emacs:75505 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:3086 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3086 D D Brierton writes: > Using Emacs 21.1.1 on Linux (Mandrake 8.2) with psgml 1.2.4, I've > put the following in my .emacs: [...] > But nothing shows up in PSGML's DTD menu. Do you mean the DTD -> Insert DTD menu? Regards, -- --Jhair Public Key fingerprint = 81FF 3ADF BF6B CECB C593 4018 27AE D7D2 BAA6 00D0 From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jirka Kosek Newsgroups: gmane.emacs.help Subject: Re: PSGML mode: sgml-custom-dtd not appearing in menu Date: Wed, 30 Oct 2002 12:38:19 +0100 Organization: CESNET z.s.p.o. Sender: help-gnu-emacs-admin@gnu.org Message-ID: <3DBFC4AB.215EBB4F@kosek.cz> References: <%pEv9.340$dz2.61120@stones> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035978364 8174 80.91.224.249 (30 Oct 2002 11:46:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Oct 2002 11:46:04 +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 186rIR-00027h-00 for ; Wed, 30 Oct 2002 12:46:03 +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 186rIn-0008Hn-00; Wed, 30 Oct 2002 06:46:25 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.arcor-online.net!uucp.gnuu.de!newsfeed.stueberl.de!news-FFM2.ecrc.net!news.cesnet.cz!crax.cesnet.cz!vse470.vse.cz!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 20 Original-NNTP-Posting-Host: vse470.vse.cz Original-X-Trace: crax.cesnet.cz 1035977902 20715 146.102.16.1 (30 Oct 2002 11:38:22 GMT) Original-X-Complaints-To: usenet@news.cesnet.cz Original-NNTP-Posting-Date: 30 Oct 2002 11:38:22 GMT X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en X-Original-NNTP-Posting-Host: badame.vse.cz X-Original-Trace: 30 Oct 2002 12:38:21 +0200, badame.vse.cz Original-Xref: shelby.stanford.edu gnu.emacs.help:106551 comp.emacs:75516 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:3101 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3101 "D. D. Brierton" wrote: > But nothing shows up in PSGML's DTD menu. I can do C-c C-u C-d TAB and I get > prompted in a new window for HTML 4.01 Strict - XHTML 1.1, but nothing shows > up in the menu. Is something meant to? Or have I misunderstood the docs? You should tell your Emacs to switch to XML mode when editing files in XHTML: (setq auto-mode-alist (append (list (cons "\\.xhtml\\'" 'xml-mode)) auto-mode-alist)) or you can manually invoke XML mode by M-x xml-mode RET -- ----------------------------------------------------------------- Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz