From mwlucas@blackhelicopters.org  Fri Nov  2 05:33:45 2001
Return-Path: <mwlucas@blackhelicopters.org>
Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18])
	by hub.freebsd.org (Postfix) with ESMTP id E2A5D37B406
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  2 Nov 2001 05:33:44 -0800 (PST)
Received: (from mwlucas@localhost)
	by blackhelicopters.org (8.9.3/8.9.3) id IAA77505;
	Fri, 2 Nov 2001 08:33:44 -0500 (EST)
	(envelope-from mwlucas)
Message-Id: <200111021333.IAA77505@blackhelicopters.org>
Date: Fri, 2 Nov 2001 08:33:44 -0500 (EST)
From: mwlucas@blackhelicopters.org
Reply-To: mwlucas@blackhelicopters.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: additions to psgml-mode chapter in FDP
X-Send-Pr-Version: 3.2

>Number:         31707
>Category:       docs
>Synopsis:       additions to psgml-mode chapter in FDP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 02 05:40:01 PST 2001
>Closed-Date:    Sun Nov 4 23:13:45 PST 2001
>Last-Modified:  Sun Nov 04 23:13:56 PST 2001
>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:
State-Changed-From-To: open->closed 
State-Changed-By: murray 
State-Changed-When: Sun Nov 4 23:13:45 PST 2001 
State-Changed-Why:  
Committed, thanks! 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31707 
>Unformatted:
