GNU bug report logs - #18277
24.3.93; A problem with positioning point in horizontally scrolled bidirectional text

Previous Next

Package: emacs;

Reported by: martin rudalics <rudalics <at> gmx.at>

Date: Sat, 16 Aug 2014 09:28:01 UTC

Severity: normal

Found in version 24.3.93

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: martin rudalics <rudalics <at> gmx.at>
Subject: bug#18277: closed (Re: bug#18277: 24.3.93; A problem with
 positioning point in horizontally scrolled	bidirectional text)
Date: Sun, 17 Aug 2014 14:37:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#18277: 24.3.93; A problem with positioning point in horizontally scrolled bidirectional text

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 18277 <at> debbugs.gnu.org.

-- 
18277: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18277
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 18277-done <at> debbugs.gnu.org
Subject: Re: bug#18277: 24.3.93;
 A problem with positioning point in horizontally
 scrolled	bidirectional text
Date: Sun, 17 Aug 2014 17:36:16 +0300
> Date: Sat, 16 Aug 2014 11:27:09 +0200
> From: martin rudalics <rudalics <at> gmx.at>
> 
> C-u C-h t hebrew RET
> 
> split the root window via C-x 3, provoke a horizontal scroll of the left
> window by, for example, moving the window's point to the left, move
> point of the left window to the "I" of the L2R string EDIT on line 4 and
> move my mouse cursor to the according screen position.  At this moment,
> my Emacs frame appears as in the first attached screenshot
> (mouse-click-ante.png).
> 
> Now I try to do `mouse-set-point' by doing <mouse-1>.  The left window
> scrolls horizontally back to the position it had before the previous
> horizontal scroll and the window's point moves to another position on
> the same line as in the second attached screenshot
> (mouse-click-post.png).

Fixed in revision 117446 on the emacs-24 branch.

It was a thinko in how the X coordinate was mirrored for R2L lines
that are hscrolled.

[Message part 3 (message/rfc822, inline)]
From: martin rudalics <rudalics <at> gmx.at>
To: Bug-Gnu-Emacs <bug-gnu-emacs <at> gnu.org>
Subject: 24.3.93; A problem with positioning point in horizontally scrolled
 bidirectional text
Date: Sat, 16 Aug 2014 11:27:09 +0200
[Message part 4 (text/plain, inline)]
I see the following problem with positioning point in horizontally
scrolled bidirectional text.  To reproduce with Emacs -Q I type

C-u C-h t hebrew RET

split the root window via C-x 3, provoke a horizontal scroll of the left
window by, for example, moving the window's point to the left, move
point of the left window to the "I" of the L2R string EDIT on line 4 and
move my mouse cursor to the according screen position.  At this moment,
my Emacs frame appears as in the first attached screenshot
(mouse-click-ante.png).

Now I try to do `mouse-set-point' by doing <mouse-1>.  The left window
scrolls horizontally back to the position it had before the previous
horizontal scroll and the window's point moves to another position on
the same line as in the second attached screenshot
(mouse-click-post.png).

martin


In GNU Emacs 24.3.93.1 (i686-pc-mingw32)
 of 2014-08-16 on MACHNO
Repository revision: 117445 rgm <at> gnu.org-20140815040536-bkq3vaj8hmv3h5zj
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1252

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
[mouse-click-ante.png (image/png, attachment)]
[mouse-click-post.png (image/png, attachment)]

This bug report was last modified 10 years and 282 days ago.

Previous Next


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