Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2001 08:33:44 -0500 (EST)
From:      mwlucas@blackhelicopters.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/31707: additions to psgml-mode chapter in FDP
Message-ID:  <200111021333.IAA77505@blackhelicopters.org>

index | next in thread | raw e-mail


>Number:         31707
>Category:       docs
>Synopsis:       additions to psgml-mode chapter in FDP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 02 05:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Michael Lucas
>Release:        FreeBSD 3.5-STABLE i386
>Organization:
None
>Environment:

recent -doc tree.

>Description:

By default, emacs doesn't set tab fillers and page width correctly for
the docproj materials.  Enclosed is a patch to the docproj primer
psgml section describing a .emacs entry to set this properly.

.emacs blatantly stolen from:  Giorgos Keramidas <charon@labs.gr>

>How-To-Repeat:

Run emacs.  Edit the docproj.

>Fix:

*** chapter.sgml-dist	Fri Nov  2 08:22:42 2001
--- chapter.sgml	Fri Nov  2 08:28:37 2001
***************
*** 134,139 ****
--- 134,154 ----
    
    <para>Doubtless there are other useful functions of this mode, but those are
      the ones I use most often.</para>
+ 
+   <para>You can also use the following entries in
+     <filename>.emacs</filename> to set proper spacing, indentation,
+     and column width for working with the Documentation Project.</para>
+ 
+   <programlisting>
+     (setq sgml-mode-hook
+       '(lambda ()
+          (setq fill-column 70
+                indent-tabs-mode nil
+                next-line-add-newlines nil
+                standard-indent 2)
+          (auto-fill-mode t)))
+   </programlisting>
+ 
  </chapter>
  
  

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

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



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111021333.IAA77505>