emacs-devel
[Top][All Lists]
Advanced

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

address@hidden: Cursor placement with mouse in long lines with wrapped t


From: Richard Stallman
Subject: address@hidden: Cursor placement with mouse in long lines with wrapped tab]
Date: Wed, 29 Nov 2006 22:20:47 -0500

Would someone please DTRT and ack?

------- Start of forwarded message -------
Date: Wed, 29 Nov 2006 09:23:49 +0100 (MET)
From: Klaus Zeitler <address@hidden>
To: address@hidden
Subject: Cursor placement with mouse in long lines with wrapped tab 
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed 
        version=3.0.4

When I try to set the cursor via mouse-1 on a long line that wraps in a tab
character, the placement is off by a few characters depending on the number 
of columns of the emacs frame. Using a frame with e.g. 80 columns and the 
following long line with 89 characters (char 81 being a tab) placing the cursor
on the '7' by clicking there with mouse-1 works fine.
- ---
this is a long line with 80 characters followed by a tab and then some more 
char        12345678
- ---
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'.
Changing the frame to 82 columns and clicking on '7' will misplace the cursor
by 2 characters and so on.


In GNU Emacs 22.0.50.14 (sparc-sun-solaris2.8, Motif Version 2.1.0)
 of 2006-11-28 on sfsws4
X server distributor `Sun Microsystems, Inc.', version 11.0.6410
configured using `configure '--with-gcc' 
'--prefix=/vol/freeware/SunOS-5.8/emacs/cvs' 
'--sharedstatedir=/vol/freeware/SunOS-5.8/emacs/cvs/share' 
'--with-x-toolkit=motif' 
'--x-includes=/usr/openwin/include:/usr/local/gnu/include:/opt/exp/gnu/include:/opt/exp/include:/opt/exp/lib/xpm/include'
 
'--x-libraries=/usr/openwin/lib:/usr/local/gnu/lib:/opt/exp/gnu/lib:/opt/exp/lib:/opt/exp/lib/xpm/lib'
 '--with-pop' 'CC=gcc''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: identity

Recent input:
<backspace> <backspace> <backspace> <backspace> 2 3 
4 5 6 7 8 9 0 C-a C-k C-y C-y C-y C-y C-y C-y C-y C-y 
<tab> a <backspace> C-x C-g <escape> x f u n d a SPC 
m o SPC <return> <tab> 1 2 3 4 5 6 7 8 9 0 <down-mouse-1> 
<mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> 
<down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> 
<mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> 
<down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> 
<mouse-1> <double-down-mouse-1> <double-mouse-1> <triple-down-mouse-1> 
<triple-mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> 
<mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> 
<down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> 
<mouse-1> <down-mouse-1> <mouse-1> <right> <right> 
<help-echo> <help-echo> <menu-bar> <help-menu> <re
port-emacs-bug>

Recent messages:
(/usr/local/gnu/cvs/head/bin/emacs -Q)
For information about the GNU Project and its goals, type C-h C-p.
Mark set [8 times]
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done


_______________________________________________
emacs-pretest-bug mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------




reply via email to

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