From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [kzeitler@lucent.com: Cursor placement with mouse in long lines with wrapped tab] Date: Wed, 29 Nov 2006 22:20:47 -0500 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1164856949 11109 80.91.229.2 (30 Nov 2006 03:22:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Nov 2006 03:22:29 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 30 04:22:28 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GpcVH-0005S1-BD for ged-emacs-devel@m.gmane.org; Thu, 30 Nov 2006 04:22:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GpcVG-0000pY-Mh for ged-emacs-devel@m.gmane.org; Wed, 29 Nov 2006 22:22:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GpcTi-0007vN-Ov for emacs-devel@gnu.org; Wed, 29 Nov 2006 22:20:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GpcTh-0007uM-Cl for emacs-devel@gnu.org; Wed, 29 Nov 2006 22:20:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GpcTh-0007uC-6t for emacs-devel@gnu.org; Wed, 29 Nov 2006 22:20:49 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GpcTh-0006eH-03 for emacs-devel@gnu.org; Wed, 29 Nov 2006 22:20:49 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.52) id 1GpcTf-0006Ll-PV; Wed, 29 Nov 2006 22:20:47 -0500 Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63096 Archived-At: Would someone please DTRT and ack? ------- Start of forwarded message ------- Date: Wed, 29 Nov 2006 09:23:49 +0100 (MET) From: Klaus Zeitler 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: 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 a C-x C-g x f u n d a SPC m o SPC 1 2 3 4 5 6 7 8 9 0 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 -------