Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jan 2002 20:37:46 +0900 (JST)
From:      Kimura Fuyuki <fuyuki@mj.0038.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/33573: Update port: editors/psgml xml-mode for xml files
Message-ID:  <20020105113747227.YUXJ.25959.t-mta8.odn.ne.jp@mta8.odn.ne.jp>

next in thread | raw e-mail | index | archive | help

>Number:         33573
>Category:       ports
>Synopsis:       Update port: editors/psgml xml-mode for xml files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 05 03:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kimura Fuyuki
>Release:        FreeBSD 4.5-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD ns.test 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #3: Mon Dec 24 14:54:22 JST 2001 root@ns.test:/sack/obj/usr/src/sys/NS i386



>Description:
Use xml-mode for xml files, instead of sgml-mode.

(We still have a problem for xhtml files. They may have an extension
".html" though a kind of xml.)

>How-To-Repeat:

>Fix:
cvs server: Diffing .
cvs server: Diffing files
Index: files/psgml-startup.el.in
===================================================================
RCS file: /home/ncvs/ports/editors/psgml/files/psgml-startup.el.in,v
retrieving revision 1.7
diff -u -r1.7 psgml-startup.el.in
--- files/psgml-startup.el.in	2001/11/12 01:46:22	1.7
+++ files/psgml-startup.el.in	2002/01/05 11:22:42
@@ -16,6 +16,10 @@
       (append (list '("\\.s?html?\\'" . sgml-mode))
 	auto-mode-alist))

+(setq auto-mode-alist
+      (append (list '("\\.xml\\'" . xml-mode))
+	auto-mode-alist))
+
 (setq sgml-custom-dtd
   '(("HTML" "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML//EN\">")
     ("HTML 2.0" "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">")
cvs server: Diffing scripts


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020105113747227.YUXJ.25959.t-mta8.odn.ne.jp>