From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 22 15:52:01 2018 Received: (at submit) by debbugs.gnu.org; 22 Feb 2018 20:52:01 +0000 Received: from localhost ([127.0.0.1]:56897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoxqS-0000T5-UM for submit@debbugs.gnu.org; Thu, 22 Feb 2018 15:52:01 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoxqQ-0000St-Sm for submit@debbugs.gnu.org; Thu, 22 Feb 2018 15:51:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoxqK-0008Jj-I9 for submit@debbugs.gnu.org; Thu, 22 Feb 2018 15:51:53 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52601) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eoxqK-0008Jb-Du for submit@debbugs.gnu.org; Thu, 22 Feb 2018 15:51:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoxqJ-00076H-86 for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2018 15:51:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoxqE-0008Gf-Cj for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2018 15:51:51 -0500 Received: from gateway34.websitewelcome.com ([192.185.148.194]:15626) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eoxqD-00089c-V2 for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2018 15:51:46 -0500 Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway34.websitewelcome.com (Postfix) with ESMTP id 041E38F5A for ; Thu, 22 Feb 2018 14:51:31 -0600 (CST) Received: from gator3053.hostgator.com ([50.87.144.69]) by cmsmtp with SMTP id oxpyeR3OcuMnyoxpye4y98; Thu, 22 Feb 2018 14:51:31 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com ; s=default; h=Content-Type:MIME-Version:Subject:To:From:Message-ID:Date: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=HVMu092ylUoNn304j+UrYZm54YvEQxtd+J9iO/dkjlY=; b=fE1C49LPE1Yw+xztLqoNVC3q/5 0k1rXB/j2WPvP72bO3FrIxdAn9FQOzwU51lqzBLVaeec9LesT18TfwFXdUPMrdyy4p/cUcqGu1X1J Rd0FCzY6WvKLWUO7AI790ORS6j3v6vwOoyaLl5eVe2ofcIKIJ9Ec9zRRWhdOP+P30BOIEP4nHP+Vx mzTVtCgYB1Bh2reNBeRWk6PK139ta/ReUPPW1+hqYozUyAQE5Z8cPGO7zXfc+yoEZsrl6zJ6KZxYM fzmtEHZ1wpDVHTOgoNmLRV5/TCUgzTj8c+073BoZHExalKPMgqxm06I6nkFF3n/8RJ1kSEnumMEyR K6YP5pNw==; Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:52407 helo=server.private) by gator3053.hostgator.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.89_1) (envelope-from ) id 1eoxpy-001x5S-6S for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2018 14:51:30 -0600 Date: Thu, 22 Feb 2018 12:51:29 -0800 Message-ID: From: Keith David Bershatsky To: Emacs Bug Reports Subject: Line number shifts left when horizontal scrolling with a tab. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3053.hostgator.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lawlist.com X-BWhitelist: no X-Source-IP: 45.48.239.195 X-Source-L: No X-Exim-ID: 1eoxpy-001x5S-6S X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: cpe-45-48-239-195.socal.res.rr.com (server.private) [45.48.239.195]:52407 X-Source-Auth: lawlist X-Email-Count: 1 X-Source-Cap: bGF3bGlzdDtsYXdsaXN0O2dhdG9yMzA1My5ob3N0Z2F0b3IuY29t X-Local-Domain: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Step 1: Launch Emacs 26 Step 2: Switch to the *scratch* buffer. We should be on line 4, with the default scratch message on the first 2 lines above. Step 3: M-x display-line-numbers-mode Step 4: Type: C-q TAB Hello-world. Step 5: Evaluate: (scroll-left 5) Observe that the line number of the current line shifts to the left such that it is no longer aligned with the other line numbers. The same will hold true under a variety of similar circumstances; e.g., line numbers exist below the current line; more than 10 lines exist, etc. Related issue: I am still working on debugging a few semi-related issues involving move_it_in_display_line_to in conjunction with bug #30226, and I see the need to either fix the problem described above; or, create a programmatic workaround when calculating X and HPOS along on the current line whenever line numbers shift to the left. If the problem described above is fixed, then no programmatic workaround would be needed. Thanks, Keith From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 07 13:44:46 2018 Received: (at 30582-done) by debbugs.gnu.org; 7 Mar 2018 18:44:46 +0000 Received: from localhost ([127.0.0.1]:49810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ete3S-0005kI-FB for submit@debbugs.gnu.org; Wed, 07 Mar 2018 13:44:46 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ete3R-0005k3-Ja for 30582-done@debbugs.gnu.org; Wed, 07 Mar 2018 13:44:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ete3J-0006w1-9n for 30582-done@debbugs.gnu.org; Wed, 07 Mar 2018 13:44:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ete3J-0006vu-6F; Wed, 07 Mar 2018 13:44:37 -0500 Received: from [176.228.60.248] (port=2946 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ete3I-00024i-LA; Wed, 07 Mar 2018 13:44:37 -0500 Date: Wed, 07 Mar 2018 20:44:29 +0200 Message-Id: <83vae7pvxu.fsf@gnu.org> From: Eli Zaretskii To: Keith David Bershatsky In-reply-to: (message from Keith David Bershatsky on Thu, 22 Feb 2018 12:51:29 -0800) Subject: Re: bug#30582: Line number shifts left when horizontal scrolling with a tab. References: 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-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 30582-done Cc: 30582-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Thu, 22 Feb 2018 12:51:29 -0800 > From: Keith David Bershatsky > > Step 1: Launch Emacs 26 > > Step 2: Switch to the *scratch* buffer. We should be on line 4, with the default scratch message on the first 2 lines above. > > Step 3: M-x display-line-numbers-mode > > Step 4: Type: C-q TAB Hello-world. > > Step 5: Evaluate: (scroll-left 5) > > Observe that the line number of the current line shifts to the left such that it is no longer aligned with the other line numbers. The same will hold true under a variety of similar circumstances; e.g., line numbers exist below the current line; more than 10 lines exist, etc. Thanks, should be fixed on the master branch now. From unknown Fri Jun 20 07:19:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 05 Apr 2018 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator