diff options
| author | Eli Zaretskii | 2011-08-25 13:45:33 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2011-08-25 13:45:33 +0300 |
| commit | 0c95fcf739dbfbae70f4e4700fdafedb4497e8df (patch) | |
| tree | f27c148c083aa9a6d290053b26ac8e45bfdcb07a /src/ChangeLog | |
| parent | a2ebe600c947152c10bf657dfb9dfabdb601c766 (diff) | |
| download | emacs-0c95fcf739dbfbae70f4e4700fdafedb4497e8df.tar.gz emacs-0c95fcf739dbfbae70f4e4700fdafedb4497e8df.zip | |
Handle `(space ...)' display spec as paragraph separator.
src/xdisp.c (compute_display_string_pos): Return 2 in DISP_PROP when
the display spec is of the form `(space ...)'.
(handle_display_spec): Return the value returned by
handle_single_display_spec, not just 1 or zero.
(handle_single_display_spec): If the display spec is of the form
`(space ...)', and specifies display in the text area, return 2
rather than 1.
src/dispextern.h (struct bidi_it): Rename the disp_prop_p member
into disp_prop; all users changed.
src/bidi.c (bidi_fetch_char): If compute_display_string_pos returns
DISP_PROP = 2, substitute the u+2029 PARAGRAPH SEPARATOR character
for the text covered by the display property.
lisp/buff-menu.el (Buffer-menu-buffer+size): Remove calls to
bidi-string-mark-left-to-right; they are unnecessary now.
doc/lispref/display.texi (Specified Space): Mention that `space' specs
influence bidi reordering.
(Bidirectional Display): Explain how to use `(space . PROPS)' for
separating fields with bidirectional content.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 431a515def5..b2f2334427c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,20 @@ | |||
| 1 | 2011-08-25 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * xdisp.c (compute_display_string_pos): Return 2 in DISP_PROP when | ||
| 4 | the display spec is of the form `(space ...)'. | ||
| 5 | (handle_display_spec): Return the value returned by | ||
| 6 | handle_single_display_spec, not just 1 or zero. | ||
| 7 | (handle_single_display_spec): If the display spec is of the form | ||
| 8 | `(space ...)', and specifies display in the text area, return 2 | ||
| 9 | rather than 1. | ||
| 10 | |||
| 11 | * dispextern.h (struct bidi_it): Rename the disp_prop_p member | ||
| 12 | into disp_prop; all users changed. | ||
| 13 | |||
| 14 | * bidi.c (bidi_fetch_char): If compute_display_string_pos returns | ||
| 15 | DISP_PROP = 2, substitute the u+2029 PARAGRAPH SEPARATOR character | ||
| 16 | for the text covered by the display property. | ||
| 17 | |||
| 1 | 2011-08-25 Chong Yidong <cyd@stupidchicken.com> | 18 | 2011-08-25 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 19 | ||
| 3 | * buffer.c (Fbury_buffer_internal): Rename from Funrecord_buffer. | 20 | * buffer.c (Fbury_buffer_internal): Rename from Funrecord_buffer. |