GNU bug report logs - #7038
24.0.50; bidi, right-char, left-char

Previous Next

Package: emacs;

Reported by: Eduard Wiebe <usenet <at> pusto.de>

Date: Wed, 15 Sep 2010 20:02:02 UTC

Severity: normal

Found in version 24.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7038 in the body.
You can then email your comments to 7038 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7038; Package emacs. (Wed, 15 Sep 2010 20:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Eduard Wiebe <usenet <at> pusto.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 15 Sep 2010 20:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Eduard Wiebe <usenet <at> pusto.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; bidi, right-char, left-char
Date: Wed, 15 Sep 2010 22:03:02 +0200
[Message part 1 (text/plain, inline)]
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.

[h.txt (text/plain, inline)]

בָּ

123

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 18 Sep 2010 12:07:02 GMT) Full text and rfc822 format available.

Notification sent to Eduard Wiebe <usenet <at> pusto.de>:
bug acknowledged by developer. (Sat, 18 Sep 2010 12:07:02 GMT) Full text and rfc822 format available.

Message #10 received at 7038-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Eduard Wiebe <usenet <at> pusto.de>
Cc: 7038-done <at> debbugs.gnu.org
Subject: Re: bug#7038: 24.0.50; bidi, right-char, left-char
Date: Sat, 18 Sep 2010 14:08:50 +0200
> From: Eduard Wiebe <usenet <at> 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).





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7038; Package emacs. (Mon, 20 Sep 2010 19:22:01 GMT) Full text and rfc822 format available.

Message #13 received at 7038 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Eduard Wiebe <usenet <at> pusto.de>
Cc: 7038 <at> debbugs.gnu.org
Subject: Re: bug#7038: 24.0.50; bidi, right-char, left-char
Date: Mon, 20 Sep 2010 21:24:23 +0200
> From: Eduard Wiebe <usenet <at> pusto.de>
> Date: Mon, 20 Sep 2010 21:11:03 +0200
> 
> Eli Zaretskii <eliz <at> 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.





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7038; Package emacs. (Mon, 20 Sep 2010 20:39:02 GMT) Full text and rfc822 format available.

Message #16 received at 7038 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: usenet <at> pusto.de, 7038 <at> debbugs.gnu.org
Subject: Re: bug#7038: 24.0.50; bidi, right-char, left-char
Date: Mon, 20 Sep 2010 22:41:06 +0200
> Date: Mon, 20 Sep 2010 21:24:23 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 7038 <at> 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.





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7038; Package emacs. (Thu, 23 Sep 2010 18:58:02 GMT) Full text and rfc822 format available.

Message #19 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Eduard Wiebe <usenet <at> pusto.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#7038: 24.0.50; bidi, right-char, left-char
Date: Thu, 23 Sep 2010 20:59:06 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Date: Mon, 20 Sep 2010 21:24:23 +0200
>> From: Eli Zaretskii <eliz <at> gnu.org>
>> Cc: 7038 <at> 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





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7038; Package emacs. (Thu, 23 Sep 2010 19:34:01 GMT) Full text and rfc822 format available.

Message #22 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Eduard Wiebe <usenet <at> pusto.de>
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#7038: 24.0.50; bidi, right-char, left-char
Date: Thu, 23 Sep 2010 21:35:38 +0200
> From: Eduard Wiebe <usenet <at> 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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 22 Oct 2010 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 302 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.