bug-indent
[Top][All Lists]
Advanced

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

Bug#594843: indent: Option to honor existing newlines used for alignment


From: Santiago Vila
Subject: Bug#594843: indent: Option to honor existing newlines used for alignment even when no line width set (fwd)
Date: Sun, 4 Mar 2012 18:54:51 +0100 (CET)
User-agent: Alpine 2.02 (DEB 1266 2009-07-14)

Hello.

Another report from Josh via the Debian BTS.

---------- Forwarded message ----------
From: Josh Triplett <address@hidden>
To: Debian Bug Tracking System <address@hidden>
Date: Sun, 29 Aug 2010 20:28:34 -0700
Subject: indent: Option to honor existing newlines used for alignment even when
    no line width set

Package: indent
Version: 2.2.11-1
Severity: wishlist

I don't want indent wrapping lines for me, so I set -l0.  However, I
don't want indent *unwrapping* lines for me either; if I've already
broken a line in a particular location, I'd like that newline to remain,
and I'd like indent to apply its usual alignment rules for things like
function call arguments.

It seems like -hnl should do this, but since that would change the
(apparent) behavior of an existing option, this change will probably
require a new option.  I'd suggest -njl --no-join-lines.

- Josh Triplett

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages indent depends on:
ii  dpkg                      1.15.8.4       Debian package management system
ii  install-info              4.13a.dfsg.1-5 Manage installed documentation in 
ii  libc6                     2.11.2-2       Embedded GNU C Library: Shared lib

indent recommends no packages.

indent suggests no packages.

-- no debconf information






reply via email to

[Prev in Thread] Current Thread [Next in Thread]