From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 999@emacsbugs.donarmstrong.com
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 [thread overview]
Message-ID: <48D436B4.1020904@gmail.com> (raw)
In-Reply-To: <87abe45dxj.fsf@cyd.mit.edu>
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.
next prev parent reply other threads:[~2008-09-19 23:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-19 15:54 bug#999: 23.0.60; left/right-margin property is not honored on word-wrapped lines Chong Yidong
2008-09-19 23:33 ` Lennart Borgman (gmail) [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-09-19 2:48 Lennart Borgman (gmail)
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=48D436B4.1020904@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=999@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 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.