[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cursor placement with mouse in long lines with wrapped tab
From: |
Klaus Zeitler |
Subject: |
Re: Cursor placement with mouse in long lines with wrapped tab |
Date: |
Thu, 25 Jan 2007 08:40:47 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (usg-unix-v) |
>>>>> "Kim" == Kim F Storm <address@hidden> writes:
Kim>
Kim> Klaus Zeitler <address@hidden> writes:
>> >> When I change the frame to 81 columns (the tab in the long line is now
>> >> wrapped after 1 char), clicking on the '7' will set the cursor to '6'.
>> >>
>> >> In GNU Emacs 22.0.50.14 (sparc-sun-solaris2.8, Motif Version 2.1.0)
>> >> of 2006-11-28 on sfsws4
>> I have the patch installed that Chong suggested and with this patch it
>> works fine. But when I remove Chong's patch, the bug is reproducible
>> again.
Kim>
Kim> Has this patch been installed in CVS?
Sorry for the late response, I have been on vacation. I think we're talking
about the following patch:
*** emacs/src/xdisp.c.~1.1130.~ 2006-11-26 16:47:55.000000000 -0500
--- emacs/src/xdisp.c 2006-11-30 14:03:33.000000000 -0500
***************
*** 6828,6834 ****
break;
case MOVE_LINE_CONTINUED:
! it->continuation_lines_width += it->current_x;
break;
default:
--- 6828,6835 ----
break;
case MOVE_LINE_CONTINUED:
! it->continuation_lines_width +=
! (it->c == '\t') ? it->last_visible_x : it->current_x;
break;
default:
Yesterday I fetched the newest CVS version and for me it doesn't work without
this patch.
Klaus
--
--------------------------------------------------
| Klaus Zeitler Alcatel-Lucent |
| Email: address@hidden |
--------------------------------------------------
---
Virtue is its own punishment.