From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: [kzeitler@lucent.com: Cursor placement with mouse in long lines with wrapped tab] Date: Thu, 30 Nov 2006 21:01:51 +0100 Message-ID: References: <87mz68yebb.fsf@stupidchicken.com> <8764cwpxdf.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1164916993 9962 80.91.229.2 (30 Nov 2006 20:03:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Nov 2006 20:03:13 +0000 (UTC) Cc: Klaus Zeitler , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 30 21:03:05 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 1Gps75-0004jp-P3 for ged-emacs-devel@m.gmane.org; Thu, 30 Nov 2006 21:02:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gps75-0004ra-E1 for ged-emacs-devel@m.gmane.org; Thu, 30 Nov 2006 15:02:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gps6t-0004r1-EX for emacs-devel@gnu.org; Thu, 30 Nov 2006 15:02:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gps6r-0004ql-Mg for emacs-devel@gnu.org; Thu, 30 Nov 2006 15:02:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gps6r-0004qi-H5 for emacs-devel@gnu.org; Thu, 30 Nov 2006 15:02:17 -0500 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gps6p-0008Jd-4a; Thu, 30 Nov 2006 15:02:15 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx19.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id A3FF8FAC05D; Thu, 30 Nov 2006 21:02:05 +0100 (CET) Original-To: Chong Yidong In-Reply-To: <8764cwpxdf.fsf@stupidchicken.com> (Chong Yidong's message of "Thu\, 30 Nov 2006 14\:06\:52 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) 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:63164 Archived-At: Chong Yidong writes: > Please consider this patch instead (it won't interfere with other > multi-glyph characters): Looks ok to me. > > *** 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: -- Kim F. Storm http://www.cua.dk