unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Matthew Dempsky <matthew@dempsky.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 5117@emacsbugs.donarmstrong.com
Subject: bug#5117: 23.1.50; Weird display when wrap-prefix contains tabs
Date: Sat, 5 Dec 2009 16:36:19 -0800	[thread overview]
Message-ID: <d791b8790912051636l26948283m9fc61f5617cf0f14@mail.gmail.com> (raw)
In-Reply-To: <87pr6tcecz.fsf@stupidchicken.com>

On Sat, Dec 5, 2009 at 1:14 PM, Chong Yidong <cyd@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'.





  reply	other threads:[~2009-12-06  0:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-05 21:14 bug#5117: 23.1.50; Weird display when wrap-prefix contains tabs Chong Yidong
2009-12-06  0:36 ` Matthew Dempsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-01-01 18:35 Chong Yidong
2016-07-09 13:11 ` Andrew Hyatt
2009-12-03 22:38 Matthew Dempsky
2009-12-03 22:06 Matthew Dempsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d791b8790912051636l26948283m9fc61f5617cf0f14@mail.gmail.com \
    --to=matthew@dempsky.org \
    --cc=5117@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).