1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

New port: tdtd.el

Emacs major mode for editing SGML and XML DTDs.

PR: 21293
This commit is contained in:
Clive Lin 2001-01-03 21:05:06 +00:00
parent bb83b4147c
commit 43c2522422
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36674
7 changed files with 100 additions and 0 deletions

View File

@ -121,6 +121,7 @@
SUBDIR += sgmltools-lite
SUBDIR += sgrep
SUBDIR += sp
SUBDIR += tdtd.el
SUBDIR += texi2html
SUBDIR += textutils
SUBDIR += tkdiff

37
textproc/tdtd.el/Makefile Normal file
View File

@ -0,0 +1,37 @@
# New ports collection makefile for: tdtd.el
# Date created: 15 September 2000
# Whom: Leo Kim <leo@florida.sarang.net>
#
# $FreeBSD$
#
PORTNAME= tdtd.el
PORTVERSION= 0.7.1
CATEGORIES= textproc
MASTER_SITES= http://www.menteith.com/tdtd/data/
DISTNAME= tdtd071
EXTRACT_SUFX= .zip
MAINTAINER= leo@florida.sarang.net
RUN_DEPENDS= emacs:${PORTSDIR}/editors/emacs20
NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_ZIP= yes
ELISPDIR= ${PREFIX}/share/emacs/site-lisp
DOCDIR= ${PREFIX}/share/doc
do-install:
${MKDIR} ${ELISPDIR}
${MKDIR} ${DOCDIR}/${PORTNAME}
@(cd ${WRKSRC} && \
${INSTALL_DATA} tdtd.el tdtd-font.el ${ELISPDIR} && \
${INSTALL_DATA} TODO changelog.txt dot_emacs readme.txt tutorial.txt ${DOCDIR}/${PORTNAME} \
)
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (tdtd071.zip) = 63960f6fc4f08089f1fa144a583d37fb

View File

@ -0,0 +1 @@
An emacs major mode for editing SGML and XML DTDs

View File

@ -0,0 +1,24 @@
This package contains an emacs major mode for editing SGML and XML DTDs.
* FEATURES
- Standalone mode for editing DTDs;
- "Goto" menu for locating declarations within the current buffer;
- `dtd-etags' function for creating Emacs TAGS files for easy lookup
across multiple files of any element, parameter entity, or
notation's definition using Emacs's built-in tag-lookup functions;
- `dtd-grep' function for searching files that shares a file history
with `dtd-etags' for easy searching of the same files with both functions;
- Specific font lock highlighting of declarations in XML DTDs, SGML
DTDs, SGML Declarations, and System Declarations so that the
important information stands out;
- XML-specific behaviour that, at user option, is triggered by
automatic detection of the XML Declaration;
- Functions for writing and editing element, attribute, internal
parameter entity and external parameter entity declarations and
comments to ease creating and keeping a consistent style; and
- Elements and parameter entity names referenced in declarations are
stored in minibuffer history to minimise retyping in new declarations.
WWW: http://www.mulberrytech.com/tdtd/
- Leo Kim
leo@florida.sarang.net

View File

@ -0,0 +1,28 @@
****************************************************************************
To use dtd-mode, add to your ~/.emacs the following lines:
;; DTD mode
(autoload 'dtd-mode "tdtd" "Major mode for SGML and XML DTDs." t)
(autoload 'dtd-etags "tdtd"
"Execute etags on FILESPEC and match on DTD-specific regular expressions."
t)
(autoload 'dtd-grep "tdtd" "Grep for PATTERN in files matching FILESPEC." t)
;; Turn on font lock when in DTD mode
(add-hook 'dtd-mode-hooks
'turn-on-font-lock)
(setq auto-mode-alist
(append
(list
'("\\.dcl$" . dtd-mode)
'("\\.dec$" . dtd-mode)
'("\\.dtd$" . dtd-mode)
'("\\.ele$" . dtd-mode)
'("\\.ent$" . dtd-mode)
'("\\.mod$" . dtd-mode))
auto-mode-alist))
;; To use resize-minibuffer-mode, uncomment this and include in your .emacs:
;;(resize-minibuffer-mode)
****************************************************************************

View File

@ -0,0 +1,8 @@
share/emacs/site-lisp/tdtd.el
share/emacs/site-lisp/tdtd-font.el
share/doc/tdtd.el/TODO
share/doc/tdtd.el/changelog.txt
share/doc/tdtd.el/dot_emacs
share/doc/tdtd.el/readme.txt
share/doc/tdtd.el/tutorial.txt
@dirrm share/doc/tdtd.el