[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: .emacs sample, si vous plait
- To: Gregory Leblanc <>
- Subject: Re: .emacs sample, si vous plait
- From: Gary Lawrence Murphy <>
- Date: 09 May 2000 14:59:30 -0400
- Cc: "Ldp Docbook List (E-mail)" <>
- Organization: TCI: Business Innovation through Open Source Computing
-
References: <A5F46F4ED18FD211ABEE00105AC6CF077F8090@email.cu-portland.edu>
- Reply-to: Gary Lawrence Murphy <>
- Resent-date: Tue, 9 May 2000 15:03:18 -0400 (EDT)
- Resent-from:
- Resent-message-id: <imedDD.A.x2B.fDGG5@murphy>
- Resent-sender:
- Sender:
By your command:
;; SGML Tools
(autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t)
(autoload 'xml-mode "psgml" "Major mode to edit XML files." t)
;;(load "psgml-table")
;;(load "tehom-psgml")
(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))
[ psgml-table and tehom-psgml are temporarly broken on my system but
when they work, highly recommended. DTD mode is also highly
recommended but optional; all you really need is thee two autoload
lines at the top ]
--
Gary Lawrence Murphy <garym@linux.ca>: office voice/fax: 01 519 4222723
TCI - Business Innovations through Open Source : http://www.teledyn.com
Canadian Co-ordinators for Bynari International : http://ca.bynari.net/
Free Internet for a Free O/S? - http://www.teledyn.com/products/FreeWWW/
--
To UNSUBSCRIBE, email to ldp-docbook-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org