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 21:24:37 +0300 Message-ID: <8360f8njq2.fsf@gnu.org> References: <83y3s9pm2a.fsf@gnu.org> <83zicmntaq.fsf@gnu.org> <83van9o6l8.fsf@gnu.org> <83mv8knuhi.fsf@gnu.org> <83fuecnr4p.fsf@gnu.org> <83d19gnocd.fsf@gnu.org> <87lgo4ccqz.fsf@lylat> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1499192704 16266 195.159.176.226 (4 Jul 2017 18:25:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 4 Jul 2017 18:25:04 +0000 (UTC) Cc: rcopley@gmail.com, filipe.silva@gmail.com, james@jojojames.com, emacs-devel@gnu.org To: Alex Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 04 20:25:00 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 1dSSVN-0003sr-Pv for ged-emacs-devel@m.gmane.org; Tue, 04 Jul 2017 20:24:57 +0200 Original-Received: from localhost ([::1]:42542 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSSVT-0002ru-AZ for ged-emacs-devel@m.gmane.org; Tue, 04 Jul 2017 14:25:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSSVJ-0002qN-GK for emacs-devel@gnu.org; Tue, 04 Jul 2017 14:24:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSSVI-00021Y-KC for emacs-devel@gnu.org; Tue, 04 Jul 2017 14:24:53 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSSV9-0001t3-Kq; Tue, 04 Jul 2017 14:24:43 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2283 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dSSV8-0006PS-N8; Tue, 04 Jul 2017 14:24:43 -0400 In-reply-to: <87lgo4ccqz.fsf@lylat> (message from Alex on Tue, 04 Jul 2017 11:50:44 -0600) 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:216170 Archived-At: > From: Alex > Cc: Richard Copley , emacs-devel@gnu.org, james@jojojames.com, filipe.silva@gmail.com > Date: Tue, 04 Jul 2017 11:50:44 -0600 > > Here's an attempt at a relevant macro: > > C-n C-d 1 > C-p DEL 0 > C-b > > This replaces the character at point to 0, and the one below it to 1. > > Now go into xdisp.c and set display-line-numbers to t: > > M-g c 2960 > C-17 C-n > C-x e > > Notice that it's the previous columns that are changed, and not the > current column. Isn't that the same issue we were discussing lately, with C-n keeping the horizontal coordinate?