emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#19473: closed (posn-at-point fails in RTL paragrap


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#19473: closed (posn-at-point fails in RTL paragraph)
Date: Tue, 30 Dec 2014 17:35:02 +0000

Your message dated Tue, 30 Dec 2014 19:34:23 +0200
with message-id <address@hidden>
and subject line Re: bug#19473: posn-at-point fails in RTL paragraph
has caused the debbugs.gnu.org bug report #19473,
regarding posn-at-point fails in RTL paragraph
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
19473: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19473
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: posn-at-point fails in RTL paragraph Date: Tue, 30 Dec 2014 17:31:53 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
posn-at-point returns the wrong position in RTL paragraphs.  For
example, when visiting TUTORIAL.he, (= (event-start (posn-at-point)
(point))) returns nil everywhere.

That appears to be because pos-visible-in-window-p returns (0 0) for
(point-min) even though the RTL paragraph is aligned to the right.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



--- End Message ---
--- Begin Message --- Subject: Re: bug#19473: posn-at-point fails in RTL paragraph Date: Tue, 30 Dec 2014 19:34:23 +0200
> From: Andreas Schwab <address@hidden>
> Date: Tue, 30 Dec 2014 17:31:53 +0100
> 
> posn-at-point returns the wrong position in RTL paragraphs.  For
> example, when visiting TUTORIAL.he, (= (event-start (posn-at-point)
> (point))) returns nil everywhere.
> 
> That appears to be because pos-visible-in-window-p returns (0 0) for
> (point-min) even though the RTL paragraph is aligned to the right.

Thanks for the report and the analysis.  I fixed this in commit
aa472a3 on the emacs-24 branch.

For the record: this never worked correctly for RTL text.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]