* bug#7038: 24.0.50; bidi, right-char, left-char
@ 2010-09-15 20:03 Eduard Wiebe
2010-09-18 12:08 ` Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: Eduard Wiebe @ 2010-09-15 20:03 UTC (permalink / raw)
To: 7038
[-- Attachment #1: Type: text/plain, Size: 185 bytes --]
1. (setq bidi-display-reordering t)
2. visit the h.txt file
3. move the point with <right> (right-char) to ב (BET) and beyond
==> cursor jumps between point 2 and point 3.
[-- Attachment #2: h.txt --]
[-- Type: text/plain, Size: 19 bytes --]
בָּ
123
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#7038: 24.0.50; bidi, right-char, left-char
2010-09-15 20:03 bug#7038: 24.0.50; bidi, right-char, left-char Eduard Wiebe
@ 2010-09-18 12:08 ` Eli Zaretskii
[not found] ` <87eicotem0.fsf@pusto.de>
0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2010-09-18 12:08 UTC (permalink / raw)
To: Eduard Wiebe; +Cc: 7038-done
> From: Eduard Wiebe <usenet@pusto.de>
> Date: Wed, 15 Sep 2010 22:03:02 +0200
> Cc:
>
> 2. visit the h.txt file
> 3. move the point with <right> (right-char) to ב (BET) and beyond
> ==> cursor jumps between point 2 and point 3.
Thanks. This should be fixed now in the repository (revno 101474).
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#7038: 24.0.50; bidi, right-char, left-char
[not found] ` <87eicotem0.fsf@pusto.de>
@ 2010-09-20 19:24 ` Eli Zaretskii
2010-09-20 20:41 ` Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2010-09-20 19:24 UTC (permalink / raw)
To: Eduard Wiebe; +Cc: 7038
> From: Eduard Wiebe <usenet@pusto.de>
> Date: Mon, 20 Sep 2010 21:11:03 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> 2. visit the h.txt file
> >> 3. move the point with <right> (right-char) to ב (BET) and beyond
> >> ==> cursor jumps between point 2 and point 3.
> >
> > Thanks. This should be fixed now in the repository (revno 101474).
>
> Sorry Eli, but i see no improvement and observe the old behaviour.
> I use emacs (git head) with your last changes:
Then please describe what exactly you see, using character positions
(shown by "C-x =").
For me, if I visit the file you sent, position the cursor on the first
character (BET) and press and hold <left-arrow>, the cursor traverses
all the buffer from start to end. Before the changes in revno 101474,
the cursor would become "trapped" in the line that includes only
digits. That was the bug I fixed. If you meant a different bug,
please describe it.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#7038: 24.0.50; bidi, right-char, left-char
2010-09-20 19:24 ` Eli Zaretskii
@ 2010-09-20 20:41 ` Eli Zaretskii
2010-09-23 18:59 ` Eduard Wiebe
0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2010-09-20 20:41 UTC (permalink / raw)
To: usenet, 7038
> Date: Mon, 20 Sep 2010 21:24:23 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 7038@debbugs.gnu.org
>
> > >> 2. visit the h.txt file
> > >> 3. move the point with <right> (right-char) to ב (BET) and beyond
> > >> ==> cursor jumps between point 2 and point 3.
Hmm. On second thought, maybe you meant to continue pressing
<right-arrow> _after_ reaching BET.
In that case, what you see is a side-effect of a feature: the effect
of <right-arrow> is different depending on whether point is in a
left-to-right paragraph or in a right-to-left paragraph. In the
former case, <right-arrow> advances _forward_ in the buffer, but in
the latter case, it moves _back_. (This is so pressing <right-arrow>
would move to the right no matter what is the directionality of the
paragraph.) When you move from a left-to-right paragraph to a
right-to-left one, the meaning of <right-arrow> changes, so you need
to press <left-arrow> to continue moving forward beyond BET.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#7038: 24.0.50; bidi, right-char, left-char
2010-09-20 20:41 ` Eli Zaretskii
@ 2010-09-23 18:59 ` Eduard Wiebe
2010-09-23 19:35 ` Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: Eduard Wiebe @ 2010-09-23 18:59 UTC (permalink / raw)
To: bug-gnu-emacs
Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Mon, 20 Sep 2010 21:24:23 +0200
>> From: Eli Zaretskii <eliz@gnu.org>
>> Cc: 7038@debbugs.gnu.org
>>
>> > >> 2. visit the h.txt file
>> > >> 3. move the point with <right> (right-char) to ב (BET) and beyond
>> > >> ==> cursor jumps between point 2 and point 3.
Sorry for the late response.
> Hmm. On second thought, maybe you meant to continue pressing
> <right-arrow> _after_ reaching BET.
Yes, that was the original scenario that i had in mind. Sorry for the poor
description.
> In that case, what you see is a side-effect of a feature
[...]
Thank you for the clear explanation. I was simply confused by
directionality of righ-char :-)
--
Eduard Wiebe
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#7038: 24.0.50; bidi, right-char, left-char
2010-09-23 18:59 ` Eduard Wiebe
@ 2010-09-23 19:35 ` Eli Zaretskii
0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2010-09-23 19:35 UTC (permalink / raw)
To: Eduard Wiebe; +Cc: bug-gnu-emacs
> From: Eduard Wiebe <usenet@pusto.de>
> Date: Thu, 23 Sep 2010 20:59:06 +0200
> Cc:
>
> > Hmm. On second thought, maybe you meant to continue pressing
> > <right-arrow> _after_ reaching BET.
>
> Yes, that was the original scenario that i had in mind. Sorry for the poor
> description.
No need to apologize. My skimmy reading has probably something to do
with that as well.
> > In that case, what you see is a side-effect of a feature
>
> [...]
>
> Thank you for the clear explanation. I was simply confused by
> directionality of righ-char :-)
Thanks for the report, it helped me find and fix a bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-09-23 19:35 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-15 20:03 bug#7038: 24.0.50; bidi, right-char, left-char Eduard Wiebe
2010-09-18 12:08 ` Eli Zaretskii
[not found] ` <87eicotem0.fsf@pusto.de>
2010-09-20 19:24 ` Eli Zaretskii
2010-09-20 20:41 ` Eli Zaretskii
2010-09-23 18:59 ` Eduard Wiebe
2010-09-23 19:35 ` Eli Zaretskii
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).