* bug#999: 23.0.60; left/right-margin property is not honored on word-wrapped lines
@ 2008-09-19 15:54 Chong Yidong
2008-09-19 23:33 ` Lennart Borgman (gmail)
0 siblings, 1 reply; 3+ messages in thread
From: Chong Yidong @ 2008-09-19 15:54 UTC (permalink / raw)
To: Lennart Borgman (gmail); +Cc: 999
> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#999: 23.0.60; left/right-margin property is not honored on word-wrapped lines
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)
0 siblings, 0 replies; 3+ messages in thread
From: Lennart Borgman (gmail) @ 2008-09-19 23:33 UTC (permalink / raw)
To: Chong Yidong; +Cc: 999
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#999: 23.0.60; left/right-margin property is not honored on word-wrapped lines
@ 2008-09-19 2:48 Lennart Borgman (gmail)
0 siblings, 0 replies; 3+ messages in thread
From: Lennart Borgman (gmail) @ 2008-09-19 2:48 UTC (permalink / raw)
To: emacs-pretest-bug
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'
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-09-19 23:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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)
-- strict thread matches above, loose matches on Subject: below --
2008-09-19 2:48 Lennart Borgman (gmail)
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.