all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrew Hyatt <ahyatt@gmail.com>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 5117@debbugs.gnu.org
Subject: bug#5117: 23.1.50; Weird display when wrap-prefix contains tabs
Date: Sat, 09 Jul 2016 09:11:04 -0400	[thread overview]
Message-ID: <m2inwfx8gn.fsf@Andrews-MacBook-Pro.local> (raw)
In-Reply-To: <874on5zn8w.fsf@stupidchicken.com> (Chong Yidong's message of "Fri, 01 Jan 2010 13:35:59 -0500")

Chong Yidong <cyd@stupidchicken.com> writes:

>> > 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.
>
> Sorry for the delay in replying.
>
> Suppose that (i) next tab stop is 3 characters off the right edge of the
> text area, and (ii) you have text going all the way to the right edge.
> Now insert a tab character.  With the current code, Emacs displays the
> tab up to the 3rd character of the continuation line.  This is
> "correct", in the sense that the continuation line is a "continuation"
> of the previous line with the tab stops picking up where they left off.
>
> With the patch you propose, Emacs would instead display up to the 8th
> character of the continuation line.

Since it seems that this is (according to Chong) not a bug, but the way
things should work, I' m going to close this bug.  Feel free to
disagree; we can always re-open it.





  reply	other threads:[~2016-07-09 13:11 UTC|newest]

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

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

  git send-email \
    --in-reply-to=m2inwfx8gn.fsf@Andrews-MacBook-Pro.local \
    --to=ahyatt@gmail.com \
    --cc=5117@debbugs.gnu.org \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.