From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.bugs Subject: bug#999: 23.0.60; left/right-margin property is not honored on word-wrapped lines Date: Sat, 20 Sep 2008 01:33:08 +0200 Message-ID: <48D436B4.1020904@gmail.com> References: <87abe45dxj.fsf@cyd.mit.edu> Reply-To: "Lennart Borgman \(gmail\)" , 999@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221868071 10511 80.91.229.12 (19 Sep 2008 23:47:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Sep 2008 23:47:51 +0000 (UTC) Cc: 999@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 20 01:48:47 2008 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 1KgpiR-0007Zr-GK for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Sep 2008 01:48:47 +0200 Original-Received: from localhost ([127.0.0.1]:38508 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgphQ-0006Sg-1t for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Sep 2008 19:47:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KgphM-0006SP-Cw for bug-gnu-emacs@gnu.org; Fri, 19 Sep 2008 19:47:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KgphK-0006SD-0H for bug-gnu-emacs@gnu.org; Fri, 19 Sep 2008 19:47:39 -0400 Original-Received: from [199.232.76.173] (port=57705 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgphJ-0006SA-QI for bug-gnu-emacs@gnu.org; Fri, 19 Sep 2008 19:47:37 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:42220) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KgphJ-0001Hx-CJ for bug-gnu-emacs@gnu.org; Fri, 19 Sep 2008 19:47:37 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8JNlZAY030722; Fri, 19 Sep 2008 16:47:35 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8JNe4ad027659; Fri, 19 Sep 2008 16:40:04 -0700 X-Loop: don@donarmstrong.com Resent-From: "Lennart Borgman (gmail)" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 19 Sep 2008 23:40:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 999 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 999-submit@emacsbugs.donarmstrong.com id=B999.122186719725643 (code B ref 999); Fri, 19 Sep 2008 23:40:04 +0000 Original-Received: (at 999) by emacsbugs.donarmstrong.com; 19 Sep 2008 23:33:17 +0000 Original-Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8JNXDcS025637 for <999@emacsbugs.donarmstrong.com>; Fri, 19 Sep 2008 16:33:14 -0700 Original-Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:63615 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KgpTM-0007Hh-8a; Sat, 20 Sep 2008 01:33:12 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <87abe45dxj.fsf@cyd.mit.edu> X-Enigmail-Version: 0.95.7 X-Antivirus: avast! (VPS 080919-0, 2008-09-19), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-Scan-Result: No virus found in message 1KgpTM-0007Hh-8a. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1KgpTM-0007Hh-8a ae4b6bbbac98b08fd5df9126b28b49dd X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 19 Sep 2008 19:47:39 -0400 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:20666 Archived-At: Chong Yidong wrote: >> When a line is wrapped the `left-margin' text property is honored only >> on the first visual line. This seems ok to me unless word-wrap is >> true. In that case I think that `left-margin' and `right-margin' >> should be honored on all visual lines. > > A word-wrapped line is essentially the same as a continued line; it's > just that the line is continued at a word boundary rather than a window > edge. In terms of the buffer contents, it's all one long line, so > there's no reason for margin properties to have any effect on the > subsequent *screen* lines in the wrapped line. But the reason for wrapping at words is to enhance readability for the user. For precisely this reason I think that the left margin property should be used indent the wrapped line too. After all that is how fill-paragraph works. I think we should think the same about wrapped lines.