From: Richard Stallman <rms@gnu.org>
Subject: [kzeitler@lucent.com: Cursor placement with mouse in long lines with wrapped tab]
Date: Wed, 29 Nov 2006 22:20:47 -0500 [thread overview]
Message-ID: <E1GpcTf-0006Ll-PV@fencepost.gnu.org> (raw)
Would someone please DTRT and ack?
------- Start of forwarded message -------
Date: Wed, 29 Nov 2006 09:23:49 +0100 (MET)
From: Klaus Zeitler <kzeitler@lucent.com>
To: emacs-pretest-bug@gnu.org
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
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------
next reply other threads:[~2006-11-30 3:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-30 3:20 Richard Stallman [this message]
2006-11-30 18:33 ` [kzeitler@lucent.com: Cursor placement with mouse in long lines with wrapped tab] Chong Yidong
2006-11-30 19:06 ` Chong Yidong
2006-11-30 20:01 ` Kim F. Storm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1GpcTf-0006Ll-PV@fencepost.gnu.org \
--to=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.