From nobody@FreeBSD.org  Sun Feb 12 01:09:10 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 963A11065670
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 12 Feb 2012 01:09:10 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 7C50E8FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 12 Feb 2012 01:09:10 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q1C19AEP075711
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 12 Feb 2012 01:09:10 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q1C19A20075710;
	Sun, 12 Feb 2012 01:09:10 GMT
	(envelope-from nobody)
Message-Id: <201202120109.q1C19A20075710@red.freebsd.org>
Date: Sun, 12 Feb 2012 01:09:10 GMT
From: Jeremy Huddleston <jeremyhu@apple.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: indent(1) man page fix
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         165009
>Category:       docs
>Synopsis:       indent(1) man page fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    eadler
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 12 01:10:12 UTC 2012
>Closed-Date:    Sat Mar 10 18:41:40 UTC 2012
>Last-Modified:  Sat Mar 10 18:41:40 UTC 2012
>Originator:     Jeremy Huddleston
>Release:        trunk
>Organization:
Apple Inc
>Environment:
NA
>Description:
-bacc is not described in FreeBSD's indent(1) man page, but it is supported by the tool.  This report contains a patch to indent.1 from Apple's indent.1 which was in turn from NetBSD's indent.1
>How-To-Repeat:

>Fix:
Index: indent.1
===================================================================
--- indent.1	(revision 75832)
+++ indent.1	(revision 75833)
@@ -43,6 +43,7 @@
 .Sh SYNOPSIS
 .Nm
 .Op Ar input_file Op Ar output_file
+.Op Fl bacc | Fl nbacc
 .Op Fl bad | Fl nbad
 .Op Fl bap | Fl nbap
 .Bk -words
@@ -125,6 +126,15 @@
 The options listed below control the formatting style imposed by
 .Nm .
 .Bl -tag -width Op
+.It Fl bacc , nbacc
+If
+.Fl bacc
+is specified, a blank line is forced around every conditional
+compilation block.
+For example, in front of every #ifdef and after every #endif.
+Other blank lines surrounding such blocks will be swallowed.
+Default:
+.Fl nbacc  .
 .It Fl bad , nbad
 If
 .Fl bad


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->eadler 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Sun Feb 12 01:39:56 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165009 

From: Jeremy Huddleston <jeremyhu@apple.com>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-doc@FreeBSD.org
Cc:  
Subject: Re: docs/165009: indent(1) man page fix
Date: Sat, 11 Feb 2012 17:26:50 -0800

 -eei is also missing:
 
 Index: indent.1
 ===================================================================
 --- indent.1	(revision 75833)
 +++ indent.1	(working copy)
 @@ -63,6 +63,8 @@
  .Op Fl d Ns Ar n
  .Op Fl \&di Ns Ar n
  .Bk -words
 +.Op Fl ei | Fl ei
 +.Op Fl eei | Fl eei
  .Op Fl fbs | Fl nfbs
  .Op Fl fc1 | Fl nfc1
  .Op Fl fcb | Fl nfcb
 @@ -276,6 +278,16 @@
  statement.
  The default is
  .Fl ei .
 +.It Fl eei , neei
 +Enables (disables) extra indentation on continuation lines of
 +the expression part of
 +.Ic if
 +and
 +.Ic while
 +statements.
 +These continuation lines will be indented one extra level.
 +The default is
 +.Fl neei  .
  .It Fl fbs , nfbs
  Enables (disables) splitting the function declaration and opening brace
  across two lines.
 
 
 On Feb 11, 2012, at 5:10 PM, freebsd-gnats-submit@FreeBSD.org wrote:
 
 > Thank you very much for your problem report.
 > It has the internal identification `docs/165009'.
 > The individual assigned to look at your
 > report is: freebsd-doc. 
 > 
 > You can access the state of your problem report at any time
 > via this link:
 > 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=165009
 > 
 >> Category:       docs
 >> Responsible:    freebsd-doc
 >> Synopsis:       indent(1) man page fix
 >> Arrival-Date:   Sun Feb 12 01:10:12 UTC 2012
 > 
 
State-Changed-From-To: open->patched 
State-Changed-By: eadler 
State-Changed-When: Sat Mar 3 18:09:43 UTC 2012 
State-Changed-Why:  
committed in r232471 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165009 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/165009: commit references a PR
Date: Sat,  3 Mar 2012 18:08:13 +0000 (UTC)

 Author: eadler
 Date: Sat Mar  3 18:07:53 2012
 New Revision: 232471
 URL: http://svn.freebsd.org/changeset/base/232471
 
 Log:
   Document the [n]eei and [n]bacc options
   
   PR:		docs/165009
   Submitted by:	Jeremy Huddleston <jeremyhu@apple.com>
   Approved by:	bcr
   MFC after:	1 week
 
 Modified:
   head/usr.bin/indent/indent.1
 
 Modified: head/usr.bin/indent/indent.1
 ==============================================================================
 --- head/usr.bin/indent/indent.1	Sat Mar  3 18:03:50 2012	(r232470)
 +++ head/usr.bin/indent/indent.1	Sat Mar  3 18:07:53 2012	(r232471)
 @@ -34,7 +34,7 @@
  .\"	@(#)indent.1	8.1 (Berkeley) 7/1/93
  .\" $FreeBSD$
  .\"
 -.Dd June 29, 2004
 +.Dd March 3, 2012
  .Dt INDENT 1
  .Os
  .Sh NAME
 @@ -43,9 +43,12 @@
  .Sh SYNOPSIS
  .Nm
  .Op Ar input-file Op Ar output-file
 +.Op Fl bacc | Fl nbacc
  .Op Fl bad | Fl nbad
  .Op Fl bap | Fl nbap
  .Bk -words
 +.Op Fl ei | Fl ei
 +.Op Fl eei | Fl eei
  .Op Fl bbb | Fl nbbb
  .Ek
  .Op Fl \&bc | Fl nbc
 @@ -126,6 +129,15 @@ checks to make sure that it is different
  The options listed below control the formatting style imposed by
  .Nm .
  .Bl -tag -width Op
 +.It Fl bacc , nbacc
 +If
 +.Fl bacc
 +is specified, a blank line is forced around every conditional
 +compilation block.
 +For example, in front of every #ifdef and after every #endif.
 +Other blank lines surrounding such blocks will be swallowed.
 +Default:
 +.Fl nbacc  .
  .It Fl bad , nbad
  If
  .Fl bad
 @@ -267,6 +279,16 @@ will have the same indentation as the pr
  statement.
  The default is
  .Fl ei .
 +.It Fl eei , neei
 +Enables (disables) extra indentation on continuation lines of
 +the expression part of
 +.Ic if
 +and
 +.Ic while
 +statements.
 +These continuation lines will be indented one extra level.
 +The default is
 +.Fl neei .
  .It Fl fbs , nfbs
  Enables (disables) splitting the function declaration and opening brace
  across two lines.
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/165009: commit references a PR
Date: Sat, 10 Mar 2012 18:36:33 +0000 (UTC)

 Author: eadler
 Date: Sat Mar 10 18:36:12 2012
 New Revision: 232790
 URL: http://svn.freebsd.org/changeset/base/232790
 
 Log:
   MFC r232471:
   	Document the [n]eei and [n]bacc options
   
   PR:		docs/165009
   Approved by:	bcr
 
 Modified:
   stable/9/usr.bin/indent/indent.1
 Directory Properties:
   stable/9/usr.bin/indent/   (props changed)
 
 Modified: stable/9/usr.bin/indent/indent.1
 ==============================================================================
 --- stable/9/usr.bin/indent/indent.1	Sat Mar 10 18:35:38 2012	(r232789)
 +++ stable/9/usr.bin/indent/indent.1	Sat Mar 10 18:36:12 2012	(r232790)
 @@ -34,7 +34,7 @@
  .\"	@(#)indent.1	8.1 (Berkeley) 7/1/93
  .\" $FreeBSD$
  .\"
 -.Dd June 29, 2004
 +.Dd March 3, 2012
  .Dt INDENT 1
  .Os
  .Sh NAME
 @@ -43,9 +43,12 @@
  .Sh SYNOPSIS
  .Nm
  .Op Ar input-file Op Ar output-file
 +.Op Fl bacc | Fl nbacc
  .Op Fl bad | Fl nbad
  .Op Fl bap | Fl nbap
  .Bk -words
 +.Op Fl ei | Fl ei
 +.Op Fl eei | Fl eei
  .Op Fl bbb | Fl nbbb
  .Ek
  .Op Fl \&bc | Fl nbc
 @@ -126,6 +129,15 @@ checks to make sure that it is different
  The options listed below control the formatting style imposed by
  .Nm .
  .Bl -tag -width Op
 +.It Fl bacc , nbacc
 +If
 +.Fl bacc
 +is specified, a blank line is forced around every conditional
 +compilation block.
 +For example, in front of every #ifdef and after every #endif.
 +Other blank lines surrounding such blocks will be swallowed.
 +Default:
 +.Fl nbacc  .
  .It Fl bad , nbad
  If
  .Fl bad
 @@ -267,6 +279,16 @@ will have the same indentation as the pr
  statement.
  The default is
  .Fl ei .
 +.It Fl eei , neei
 +Enables (disables) extra indentation on continuation lines of
 +the expression part of
 +.Ic if
 +and
 +.Ic while
 +statements.
 +These continuation lines will be indented one extra level.
 +The default is
 +.Fl neei .
  .It Fl fbs , nfbs
  Enables (disables) splitting the function declaration and opening brace
  across two lines.
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/165009: commit references a PR
Date: Sat, 10 Mar 2012 18:36:48 +0000 (UTC)

 Author: eadler
 Date: Sat Mar 10 18:36:40 2012
 New Revision: 232791
 URL: http://svn.freebsd.org/changeset/base/232791
 
 Log:
   MFC r232471:
   	Document the [n]eei and [n]bacc options
   
   PR:		docs/165009
   Approved by:	bcr
 
 Modified:
   stable/8/usr.bin/indent/indent.1
 Directory Properties:
   stable/8/usr.bin/indent/   (props changed)
 
 Modified: stable/8/usr.bin/indent/indent.1
 ==============================================================================
 --- stable/8/usr.bin/indent/indent.1	Sat Mar 10 18:36:12 2012	(r232790)
 +++ stable/8/usr.bin/indent/indent.1	Sat Mar 10 18:36:40 2012	(r232791)
 @@ -34,7 +34,7 @@
  .\"	@(#)indent.1	8.1 (Berkeley) 7/1/93
  .\" $FreeBSD$
  .\"
 -.Dd June 29, 2004
 +.Dd March 3, 2012
  .Dt INDENT 1
  .Os
  .Sh NAME
 @@ -43,9 +43,12 @@
  .Sh SYNOPSIS
  .Nm
  .Op Ar input-file Op Ar output-file
 +.Op Fl bacc | Fl nbacc
  .Op Fl bad | Fl nbad
  .Op Fl bap | Fl nbap
  .Bk -words
 +.Op Fl ei | Fl ei
 +.Op Fl eei | Fl eei
  .Op Fl bbb | Fl nbbb
  .Ek
  .Op Fl \&bc | Fl nbc
 @@ -126,6 +129,15 @@ checks to make sure that it is different
  The options listed below control the formatting style imposed by
  .Nm .
  .Bl -tag -width Op
 +.It Fl bacc , nbacc
 +If
 +.Fl bacc
 +is specified, a blank line is forced around every conditional
 +compilation block.
 +For example, in front of every #ifdef and after every #endif.
 +Other blank lines surrounding such blocks will be swallowed.
 +Default:
 +.Fl nbacc  .
  .It Fl bad , nbad
  If
  .Fl bad
 @@ -267,6 +279,16 @@ will have the same indentation as the pr
  statement.
  The default is
  .Fl ei .
 +.It Fl eei , neei
 +Enables (disables) extra indentation on continuation lines of
 +the expression part of
 +.Ic if
 +and
 +.Ic while
 +statements.
 +These continuation lines will be indented one extra level.
 +The default is
 +.Fl neei .
  .It Fl fbs , nfbs
  Enables (disables) splitting the function declaration and opening brace
  across two lines.
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/165009: commit references a PR
Date: Sat, 10 Mar 2012 18:37:09 +0000 (UTC)

 Author: eadler
 Date: Sat Mar 10 18:37:01 2012
 New Revision: 232792
 URL: http://svn.freebsd.org/changeset/base/232792
 
 Log:
   MFC r232471:
   	Document the [n]eei and [n]bacc options
   
   PR:		docs/165009
   Approved by:	bcr
 
 Modified:
   stable/7/usr.bin/indent/indent.1
 Directory Properties:
   stable/7/usr.bin/indent/   (props changed)
 
 Modified: stable/7/usr.bin/indent/indent.1
 ==============================================================================
 --- stable/7/usr.bin/indent/indent.1	Sat Mar 10 18:36:40 2012	(r232791)
 +++ stable/7/usr.bin/indent/indent.1	Sat Mar 10 18:37:01 2012	(r232792)
 @@ -34,7 +34,7 @@
  .\"	@(#)indent.1	8.1 (Berkeley) 7/1/93
  .\" $FreeBSD$
  .\"
 -.Dd June 29, 2004
 +.Dd March 3, 2012
  .Dt INDENT 1
  .Os
  .Sh NAME
 @@ -43,9 +43,12 @@
  .Sh SYNOPSIS
  .Nm
  .Op Ar input-file Op Ar output-file
 +.Op Fl bacc | Fl nbacc
  .Op Fl bad | Fl nbad
  .Op Fl bap | Fl nbap
  .Bk -words
 +.Op Fl ei | Fl ei
 +.Op Fl eei | Fl eei
  .Op Fl bbb | Fl nbbb
  .Ek
  .Op Fl \&bc | Fl nbc
 @@ -126,6 +129,15 @@ checks to make sure that it is different
  The options listed below control the formatting style imposed by
  .Nm .
  .Bl -tag -width Op
 +.It Fl bacc , nbacc
 +If
 +.Fl bacc
 +is specified, a blank line is forced around every conditional
 +compilation block.
 +For example, in front of every #ifdef and after every #endif.
 +Other blank lines surrounding such blocks will be swallowed.
 +Default:
 +.Fl nbacc  .
  .It Fl bad , nbad
  If
  .Fl bad
 @@ -267,6 +279,16 @@ will have the same indentation as the pr
  statement.
  The default is
  .Fl ei .
 +.It Fl eei , neei
 +Enables (disables) extra indentation on continuation lines of
 +the expression part of
 +.Ic if
 +and
 +.Ic while
 +statements.
 +These continuation lines will be indented one extra level.
 +The default is
 +.Fl neei .
  .It Fl fbs , nfbs
  Enables (disables) splitting the function declaration and opening brace
  across two lines.
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: eadler 
State-Changed-When: Sat Mar 10 18:41:39 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165009 
>Unformatted:
