From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthew Dempsky Newsgroups: gmane.emacs.bugs Subject: bug#5117: 23.1.50; Weird display when wrap-prefix contains tabs Date: Sat, 5 Dec 2009 16:36:19 -0800 Message-ID: References: <87pr6tcecz.fsf@stupidchicken.com> Reply-To: Matthew Dempsky , 5117@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1260060467 5142 80.91.229.12 (6 Dec 2009 00:47:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Dec 2009 00:47:47 +0000 (UTC) Cc: 5117@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 06 01:47:39 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NH5Hm-0004qQ-93 for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Dec 2009 01:47:38 +0100 Original-Received: from localhost ([127.0.0.1]:41562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NH5Hm-0007z7-0c for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Dec 2009 19:47:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NH5Hh-0007xp-CE for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 19:47:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NH5Hc-0007sk-Ms for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 19:47:32 -0500 Original-Received: from [199.232.76.173] (port=33042 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NH5Hc-0007sg-FK for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 19:47:28 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50178) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NH5Hc-0007zP-7o for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 19:47:28 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB60lPjf025801; Sat, 5 Dec 2009 16:47:25 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nB60e7YA024910; Sat, 5 Dec 2009 16:40:07 -0800 Resent-Date: Sat, 5 Dec 2009 16:40:07 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Matthew Dempsky Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sun, 06 Dec 2009 00:40:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 5117 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5117-submit@emacsbugs.donarmstrong.com id=B5117.126005978724683 (code B ref 5117); Sun, 06 Dec 2009 00:40:06 +0000 Original-Received: (at 5117) by emacsbugs.donarmstrong.com; 6 Dec 2009 00:36:27 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-pz0-f180.google.com (mail-pz0-f180.google.com [209.85.222.180]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB60aPRH024679 for <5117@emacsbugs.donarmstrong.com>; Sat, 5 Dec 2009 16:36:26 -0800 Original-Received: by pzk10 with SMTP id 10so3220872pzk.19 for <5117@emacsbugs.donarmstrong.com>; Sat, 05 Dec 2009 16:36:20 -0800 (PST) Original-Received: by 10.115.114.5 with SMTP id r5mr7632183wam.145.1260059779831; Sat, 05 Dec 2009 16:36:19 -0800 (PST) In-Reply-To: <87pr6tcecz.fsf@stupidchicken.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 05 Dec 2009 19:47:32 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33300 Archived-At: On Sat, Dec 5, 2009 at 1:14 PM, Chong Yidong 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. >=A0IIRC, it is so that continued lines containing tabs are displayed corre= ctly. 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'.