From unknown Sun Jun 22 08:00:19 2025 X-Loop: don@donarmstrong.com Subject: bug#999: 23.0.60; left/right-margin property is not honored on word-wrapped lines Reply-To: "Lennart Borgman (gmail)" , 999@debbugs.gnu.org Resent-From: "Lennart Borgman (gmail)" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 19 Sep 2008 02:55:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 999 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122179255832445 (code B ref -1); Fri, 19 Sep 2008 02:55:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.5 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 19 Sep 2008 02:49:18 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8J2nEsI032437 for ; Thu, 18 Sep 2008 19:49:15 -0700 Received: from mail.gnu.org ([199.232.76.166]:35694 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KgW1b-00026U-Nz for emacs-pretest-bug@gnu.org; Thu, 18 Sep 2008 22:47:16 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KgW3Q-00030s-1y for emacs-pretest-bug@gnu.org; Thu, 18 Sep 2008 22:49:11 -0400 Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]:49325) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KgW3O-000300-Vi for emacs-pretest-bug@gnu.org; Thu, 18 Sep 2008 22:49:07 -0400 Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:64423 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KgW3L-0004lu-3c for emacs-pretest-bug@gnu.org; Fri, 19 Sep 2008 04:49:03 +0200 Message-ID: <48D31317.8080603@gmail.com> Date: Fri, 19 Sep 2008 04:48:55 +0200 From: "Lennart Borgman (gmail)" 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 MIME-Version: 1.0 To: emacs-pretest-bug@gnu.org X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 080918-0, 2008-09-18), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-Scan-Result: No virus found in message 1KgW3L-0004lu-3c. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KgW3L-0004lu-3c a7cf4824938b4b8d314341eb5fbaf10d X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6? (barebone, rare!) 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. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-09-18 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' From unknown Sun Jun 22 08:00:19 2025 X-Loop: don@donarmstrong.com Subject: bug#999: 23.0.60; left/right-margin property is not honored on word-wrapped lines Reply-To: Chong Yidong , 999@debbugs.gnu.org Resent-From: Chong Yidong Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 19 Sep 2008 16:00:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 999 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 999-submit@emacsbugs.donarmstrong.com id=B999.122183967924058 (code B ref 999); Fri, 19 Sep 2008 16:00:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.8 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 999) by emacsbugs.donarmstrong.com; 19 Sep 2008 15:54:39 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8JFsard024052 for <999@emacsbugs.donarmstrong.com>; Fri, 19 Sep 2008 08:54:37 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 5236057E352; Fri, 19 Sep 2008 11:54:34 -0400 (EDT) From: Chong Yidong To: "Lennart Borgman \(gmail\)" Cc: 999@debbugs.gnu.org Date: Fri, 19 Sep 2008 11:54:32 -0400 Message-ID: <87abe45dxj.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > 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. From unknown Sun Jun 22 08:00:19 2025 X-Loop: don@donarmstrong.com Subject: bug#999: 23.0.60; left/right-margin property is not honored on word-wrapped lines Reply-To: "Lennart Borgman (gmail)" , 999@debbugs.gnu.org Resent-From: "Lennart Borgman (gmail)" Resent-To: bug-submit-list@lists.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: Received: via spool by 999-submit@emacsbugs.donarmstrong.com id=B999.122186719725643 (code B ref 999); Fri, 19 Sep 2008 23:40:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.0 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 999) by emacsbugs.donarmstrong.com; 19 Sep 2008 23:33:17 +0000 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 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 Message-ID: <48D436B4.1020904@gmail.com> Date: Sat, 20 Sep 2008 01:33:08 +0200 From: "Lennart Borgman (gmail)" 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 MIME-Version: 1.0 To: Chong Yidong CC: 999@debbugs.gnu.org References: <87abe45dxj.fsf@cyd.mit.edu> In-Reply-To: <87abe45dxj.fsf@cyd.mit.edu> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 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. From unknown Sun Jun 22 08:00:19 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: "Lennart Borgman (gmail)" Subject: bug#999 closed by Chong Yidong (Re: 23.0.60; left/right-margin property is not honored on word-wrapped lines) Message-ID: References: <871vzfjyq5.fsf@cyd.mit.edu> <48D31317.8080603@gmail.com> X-Emacs-PR-Message: they-closed 999 X-Emacs-PR-Package: emacs Reply-To: 999@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1221880804-8837-1" This is a multi-part message in MIME format... ------------=_1221880804-8837-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #999: 23.0.60; left/right-margin property is not honored on word-wrapped li= nes It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 999: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D999 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1221880804-8837-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From cyd@stupidchicken.com Fri Sep 19 20:13:54 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.3 required=4.0 tests=AWL,BAYES_00,GMAIL autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 999-done) by emacsbugs.donarmstrong.com; 20 Sep 2008 03:13:55 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8K3DpYc006919 for <999-done@emacsbugs.donarmstrong.com>; Fri, 19 Sep 2008 20:13:53 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 2818C57E342; Fri, 19 Sep 2008 23:13:54 -0400 (EDT) From: Chong Yidong To: "Lennart Borgman \(gmail\)" Cc: 999-done@debbugs.gnu.org Subject: Re: 23.0.60; left/right-margin property is not honored on word-wrapped lines References: <87abe45dxj.fsf@cyd.mit.edu> <48D436B4.1020904@gmail.com> Date: Fri, 19 Sep 2008 23:13:54 -0400 In-Reply-To: <48D436B4.1020904@gmail.com> (Lennart Borgman's message of "Sat, 20 Sep 2008 01:33:08 +0200") Message-ID: <871vzfjyq5.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii "Lennart Borgman (gmail)" writes: > 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. The variable wrap-prefix can be used for this. It would not be consistent to make the left/right margin affect continued lines. ------------=_1221880804-8837-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From lennart.borgman@gmail.com Thu Sep 18 19:49:18 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.5 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 19 Sep 2008 02:49:18 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8J2nEsI032437 for ; Thu, 18 Sep 2008 19:49:15 -0700 Received: from mail.gnu.org ([199.232.76.166]:35694 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KgW1b-00026U-Nz for emacs-pretest-bug@gnu.org; Thu, 18 Sep 2008 22:47:16 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KgW3Q-00030s-1y for emacs-pretest-bug@gnu.org; Thu, 18 Sep 2008 22:49:11 -0400 Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]:49325) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KgW3O-000300-Vi for emacs-pretest-bug@gnu.org; Thu, 18 Sep 2008 22:49:07 -0400 Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:64423 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KgW3L-0004lu-3c for emacs-pretest-bug@gnu.org; Fri, 19 Sep 2008 04:49:03 +0200 Message-ID: <48D31317.8080603@gmail.com> Date: Fri, 19 Sep 2008 04:48:55 +0200 From: "Lennart Borgman (gmail)" 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 MIME-Version: 1.0 To: emacs-pretest-bug@gnu.org Subject: 23.0.60; left/right-margin property is not honored on word-wrapped lines X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 080918-0, 2008-09-18), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-Scan-Result: No virus found in message 1KgW3L-0004lu-3c. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KgW3L-0004lu-3c a7cf4824938b4b8d314341eb5fbaf10d X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6? (barebone, rare!) 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. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-09-18 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' ------------=_1221880804-8837-1--