From owner-freebsd-doc Fri Nov 2 5:40: 9 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B19D337B407 for ; Fri, 2 Nov 2001 05:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA2De1q22540; Fri, 2 Nov 2001 05:40:01 -0800 (PST) (envelope-from gnats) Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id E2A5D37B406 for ; 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 X-Send-Pr-Version: 3.2 Subject: docs/31707: additions to psgml-mode chapter in FDP Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 >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 ---- Doubtless there are other useful functions of this mode, but those are the ones I use most often. + + You can also use the following entries in + .emacs to set proper spacing, indentation, + and column width for working with the Documentation Project. + + + (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))) + + >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message