GNU bug report logs -
#5117
23.1.50; Weird display when wrap-prefix contains tabs
Previous Next
Reported by: Matthew Dempsky <matthew <at> dempsky.org>
Date: Thu, 3 Dec 2009 22:15:03 UTC
Severity: normal
Tags: notabug
Done: Andrew Hyatt <ahyatt <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 5117 <at> emacsbugs.donarmstrong.com (full text, mbox):
On Sat, Dec 5, 2009 at 1:14 PM, Chong Yidong <cyd <at> stupidchicken.com> wrote:
> The "+ it->continuation_lines_width" was added for a reason.
I tracked back through the history of the code, and that part has been
there since the code was introduced as far as I can tell.
> IIRC, it is so that continued lines containing tabs are displayed correctly.
Can you define "correctly"? When I remove the addition, it displays
'correctly' from what I expect: a tab always indents the text to the
next visual column that's a multiple of 8.
The current behavior ensures that the same tab always expands to the
same number of space characters regardless of where the line wraps,
but I don't see any reason why this behavior is desirable in the
presence of `word-wrap'.
This bug report was last modified 8 years and 313 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.