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: Native line numbers, final testing Date: Tue, 04 Jul 2017 19:44:50 +0300 Message-ID: <83d19gnocd.fsf@gnu.org> References: <83y3s9pm2a.fsf@gnu.org> <83zicmntaq.fsf@gnu.org> <83van9o6l8.fsf@gnu.org> <83mv8knuhi.fsf@gnu.org> <83fuecnr4p.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1499186738 31932 195.159.176.226 (4 Jul 2017 16:45:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 4 Jul 2017 16:45:38 +0000 (UTC) Cc: emacs-devel@gnu.org, james@jojojames.com, filipe.silva@gmail.com To: Richard Copley Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 04 18:45:33 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 1dSQx8-0007bs-27 for ged-emacs-devel@m.gmane.org; Tue, 04 Jul 2017 18:45:30 +0200 Original-Received: from localhost ([::1]:42282 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSQx7-0004GT-4B for ged-emacs-devel@m.gmane.org; Tue, 04 Jul 2017 12:45:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSQwb-0004GC-VC for emacs-devel@gnu.org; Tue, 04 Jul 2017 12:44:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSQwY-0001LF-Rm for emacs-devel@gnu.org; Tue, 04 Jul 2017 12:44:58 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSQwY-0001Kv-Nq; Tue, 04 Jul 2017 12:44:54 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2081 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dSQwX-0004Ig-Qa; Tue, 04 Jul 2017 12:44:54 -0400 In-reply-to: (message from Richard Copley on Tue, 4 Jul 2017 17:35:16 +0100) 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:216162 Archived-At: > From: Richard Copley > Date: Tue, 4 Jul 2017 17:35:16 +0100 > Cc: Eli Zaretskii , james@jojojames.com, > Emacs developers > > C-d 0 C-b C-n > C-d 1 C-b C-n > C-d 2 C-p C-p > > This is supposed to change the character at point to 0 and the > characters in the corresponding column in the next two lines to 1 > and 2. > > I think that's a common use case and it won't work if > display-line-numbers is on ... Does it really not work for you with display-line-numbers on? > Open xdisp.c and go to line 30, column 30. > Type "C-d C-n C-d C-n C-d C-n C-d C-n" > The first C-n goes to column 30 on line 31 as expected. > The 2nd C-n goes to column 29 on line 31 (expected column 30). > The 3rd C-n goes to column 28 on line 31 (expected 30 (or 29?)). > The 4th C-n goes to column 27 on line 31. I cannot reproduce this, I get column 30 all the time, as expected. Are you running the latest branch? If so, what are the values of the related variables?