[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r106066: Remove incorrect comments ab
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r106066: Remove incorrect comments about U+2028 LS character. |
Date: |
Wed, 12 Oct 2011 17:12:52 +0200 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 106066
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Wed 2011-10-12 17:12:52 +0200
message:
Remove incorrect comments about U+2028 LS character.
See http://www.unicode.org/mail-arch/unicode-ml/y2011-m10/0048.html
for more details.
src/bidi.c (bidi_level_of_next_char):
src/xdisp.c (get_visually_first_element): Remove old incorrect
comments regarding the Unicode Line Separator character.
modified:
src/ChangeLog
src/bidi.c
src/xdisp.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2011-10-12 11:32:41 +0000
+++ b/src/ChangeLog 2011-10-12 15:12:52 +0000
@@ -1,5 +1,9 @@
2011-10-12 Eli Zaretskii <address@hidden>
+ * bidi.c (bidi_level_of_next_char):
+ * xdisp.c (get_visually_first_element): Remove old incorrect
+ comments regarding the Unicode Line Separator character.
+
* bidi.c (bidi_init_it): Initialize paragraph_dir to NEUTRAL_DIR.
2011-10-12 Dmitry Antipov <address@hidden>
=== modified file 'src/bidi.c'
--- a/src/bidi.c 2011-10-12 11:32:41 +0000
+++ b/src/bidi.c 2011-10-12 15:12:52 +0000
@@ -2128,7 +2128,7 @@
do {
ch = bidi_fetch_char (bpos += clen, cpos += nc, &disp_pos, &dpp, &bs,
fwp, &clen, &nc);
- if (ch == '\n' || ch == BIDI_EOB /* || ch == LINESEP_CHAR */)
+ if (ch == '\n' || ch == BIDI_EOB)
chtype = NEUTRAL_B;
else
chtype = bidi_get_type (ch, NEUTRAL_DIR);
@@ -2178,7 +2178,6 @@
else if (bidi_it->orig_type == NEUTRAL_B /* L1 */
|| bidi_it->orig_type == NEUTRAL_S
|| bidi_it->ch == '\n' || bidi_it->ch == BIDI_EOB
- /* || bidi_it->ch == LINESEP_CHAR */
|| (bidi_it->orig_type == NEUTRAL_WS
&& (bidi_it->next_for_ws.type == NEUTRAL_B
|| bidi_it->next_for_ws.type == NEUTRAL_S)))
=== modified file 'src/xdisp.c'
--- a/src/xdisp.c 2011-10-12 05:50:15 +0000
+++ b/src/xdisp.c 2011-10-12 15:12:52 +0000
@@ -7148,7 +7148,6 @@
}
else if (it->bidi_it.charpos == bob
|| (!string_p
- /* FIXME: Should support all Unicode line separators. */
&& (FETCH_CHAR (it->bidi_it.bytepos - 1) == '\n'
|| FETCH_CHAR (it->bidi_it.bytepos) == '\n')))
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r106066: Remove incorrect comments about U+2028 LS character.,
Eli Zaretskii <=