[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[RFC] dumping the CED in favor of local variables



I'd like to recommend we dump the usage of CED files in favor of the
local variables designation.  The CED file is a pre-compiled DTD subset.

http://fedora.redhat.com/participate/documentation-guide/s1-emacs-cedfile.html

The only noticeable change that matters is that indenting is different
by two characters overall.  It's really no big thing to reindent entire
files, or sections of them to avoid <screen> blocks.

The CED files technically need to be recompiled with the introduction of
each new tag.  They are a hassle to load everytime you load the
document.  

The local variables will load the parent file in the buffer, which is
convenient, and does all this automatically when you open the file.

You put one of these at the bottom of each XML file:

<!-- Keep this comment at the end of the file
Local variables:
mode: xml
xml-parent-document:("parent-file.xml" "book" "chapter")
End:
-->

The small pain of converting our docs will be more than made up for in
the not-so-long run.

- Karsten
-- 
Karsten Wade, RHCE * Sr. Tech Writer * http://people.redhat.com/kwade/
gpg fingerprint:  2680 DBFD D968 3141 0115    5F1B D992 0E06 AD0E 0C41   
                       Red Hat SELinux Guide
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]