From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Problems with move_it_in_display_line_to X when tabs exist. Date: Sun, 03 Dec 2017 05:32:49 +0200 Message-ID: <83vahozdsu.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1512272021 9641 195.159.176.226 (3 Dec 2017 03:33:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 3 Dec 2017 03:33:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Keith David Bershatsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 03 04:33:37 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eLL28-0002DD-CP for ged-emacs-devel@m.gmane.org; Sun, 03 Dec 2017 04:33:36 +0100 Original-Received: from localhost ([::1]:37718 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLL2F-0004sS-GK for ged-emacs-devel@m.gmane.org; Sat, 02 Dec 2017 22:33:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLL1g-0004sK-HI for emacs-devel@gnu.org; Sat, 02 Dec 2017 22:33:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eLL1d-0005xE-Do for emacs-devel@gnu.org; Sat, 02 Dec 2017 22:33:08 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLL1d-0005xA-9l; Sat, 02 Dec 2017 22:33:05 -0500 Original-Received: from [176.228.60.248] (port=2692 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eLL1c-0006px-Ot; Sat, 02 Dec 2017 22:33:05 -0500 In-reply-to: (message from Keith David Bershatsky on Sat, 02 Dec 2017 14:28:31 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:220640 Archived-At: > Date: Sat, 02 Dec 2017 14:28:31 -0800 > From: Keith David Bershatsky > Cc: emacs-devel@gnu.org > > Here are the four values. It looks like it.current_x is where I expected it to be, but it.what is showing a character instead of a stretch. > > (gdb) print it.what > $1 = IT_CHARACTER > > (gdb) print it.char_to_display > $2 = 9 > > (gdb) print it.method > $3 = GET_FROM_DISPLAY_VECTOR > > (gdb) print it.current_x > $4 = 44 Please show the Lisp code that you used to set up the display table.