[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[zile-devel] [ zile-Bugs-1889859 ] indent_relative always uses spaces
From: |
SourceForge.net |
Subject: |
[zile-devel] [ zile-Bugs-1889859 ] indent_relative always uses spaces |
Date: |
Fri, 08 Feb 2008 13:49:06 -0800 |
Bugs item #1889859, was opened at 2008-02-08 13:49
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=117089&aid=1889859&group_id=17089
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: indent_relative always uses spaces
Initial Comment:
In line.c, the function indent_relative always inserts spaces, regardless of
how the previous line is indented or indent-tabs-mode. As a result, with
indent-tabs-mode t, this input:
<TAB>foo
<TAB>bar
produces this output:
<TAB>foo
<SPACE><...><SPACE>bar
Obviously, this could break any file with syntactically significant whitespace.
Even when whitespace is used only for formatting, nobody wants inconsistent
indentation. (Anyone who doesn't care wouldn't need to set indent-tabs-mode.)
Fortunately, the most flexible solution is also the simplest: indent_relative
should replicate exactly the indentation of the previous line, as its name
implies.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=117089&aid=1889859&group_id=17089
- [zile-devel] [ zile-Bugs-1889859 ] indent_relative always uses spaces,
SourceForge.net <=
- [zile-devel] [ zile-Bugs-1889859 ] indent_relative always uses spaces, SourceForge.net, 2008/02/08
- [zile-devel] [ zile-Bugs-1889859 ] indent_relative always uses spaces, SourceForge.net, 2008/02/08
- [zile-devel] [ zile-Bugs-1889859 ] indent_relative always uses spaces, SourceForge.net, 2008/02/12
- [zile-devel] [ zile-Bugs-1889859 ] indent_relative always uses spaces, SourceForge.net, 2008/02/12
- [zile-devel] [ zile-Bugs-1889859 ] indent_relative always uses spaces, SourceForge.net, 2008/02/18